tests/ceftests/cookie_unittest.cc
// Test creation of multiple cookies.
Test creation of multiple cookies.
Test creation of multiple cookies .
TEST(CookieTest, BasicMultipleCookies) {
  CefRefPtr<CefWaitableEvent> event =
      CefWaitableEvent::CreateWaitableEvent(true, false);
  CefRefPtr<CefCookieManager> manager =
      CefCookieManager::GetGlobalManager(new TestCompletionCallback(event));
  event->Wait();
  EXPECT_TRUE(manager.get());
  TestMultipleCookies(manager, event);
}
TEST ( CookieTest , BasicMultipleCookies ) { CefRefPtr < CefWaitableEvent > event = CefWaitableEvent :: CreateWaitableEvent ( true , false ) ; CefRefPtr < CefCookieManager > manager = CefCookieManager :: GetGlobalManager ( new TestCompletionCallback ( event ) ) ; event -> Wait ( ) ; EXPECT_TRUE ( manager . get ( ) ) ; TestMultipleCookies ( manager , event ) ; }
Test creation of multiple cookies.
Test creation of multiple cookies .