tests/ceftests/preference_unittest.cc
// Verify default preference values on the global context.
Verify default preference values on the global context.
Verify default preference values on the global context .
TEST(PreferenceTest, GlobalDefaults) {
  CefRefPtr<CefWaitableEvent> event =
      CefWaitableEvent::CreateWaitableEvent(true, false);
  CefRefPtr<CefRequestContext> context = CefRequestContext::GetGlobalContext();
  EXPECT_TRUE(context.get());
  ValidateDefaults(context, false, event);
  event->Wait();
}
TEST ( PreferenceTest , GlobalDefaults ) { CefRefPtr < CefWaitableEvent > event = CefWaitableEvent :: CreateWaitableEvent ( true , false ) ; CefRefPtr < CefRequestContext > context = CefRequestContext :: GetGlobalContext ( ) ; EXPECT_TRUE ( context . get ( ) ) ; ValidateDefaults ( context , false , event ) ; event -> Wait ( ) ; }
Verify default preference values on the global context.
Verify default preference values on the global context .