tests/ceftests/cookie_unittest.cc
TEST(CookieTest, BasicHostCookie) {
  CefRefPtr<CefWaitableEvent> event =
      CefWaitableEvent::CreateWaitableEvent(true, false);

  CefRefPtr<CefCookieManager> manager =
      CefCookieManager::GetGlobalManager(new TestCompletionCallback(event));
  event->Wait();
  EXPECT_TRUE(manager.get());

  TestHostCookie(manager, event);
}
// Test creation of a host cookie.
Test creation of a host cookie.
Test creation of a host cookie .
TEST(CookieTest, BasicHostCookie) {
  CefRefPtr<CefWaitableEvent> event =
      CefWaitableEvent::CreateWaitableEvent(true, false);
  CefRefPtr<CefCookieManager> manager =
      CefCookieManager::GetGlobalManager(new TestCompletionCallback(event));
  event->Wait();
  EXPECT_TRUE(manager.get());
  TestHostCookie(manager, event);
}
TEST ( CookieTest , BasicHostCookie ) { CefRefPtr < CefWaitableEvent > event = CefWaitableEvent :: CreateWaitableEvent ( true , false ) ; CefRefPtr < CefCookieManager > manager = CefCookieManager :: GetGlobalManager ( new TestCompletionCallback ( event ) ) ; event -> Wait ( ) ; EXPECT_TRUE ( manager . get ( ) ) ; TestHostCookie ( manager , event ) ; }
Test creation of a host cookie.
Test creation of a host cookie .