tests/ceftests/cookie_unittest.cc
// Verify use of multiple cookie managers vis JS.
Verify use of multiple cookie managers vis JS.
Verify use of multiple cookie managers vis JS .
TEST(CookieTest, GetCookieManagerJS) {
  CefRefPtr<CookieTestJSHandler> handler = new CookieTestJSHandler();
  handler->ExecuteTest();
  EXPECT_TRUE(handler->got_load_end1_);
  EXPECT_TRUE(handler->got_load_end2_);
  EXPECT_TRUE(handler->got_cookie1_);
  EXPECT_TRUE(handler->got_cookie2_);
  ReleaseAndWaitForDestructor(handler);
}
TEST ( CookieTest , GetCookieManagerJS ) { CefRefPtr < CookieTestJSHandler > handler = new CookieTestJSHandler ( ) ; handler -> ExecuteTest ( ) ; EXPECT_TRUE ( handler -> got_load_end1_ ) ; EXPECT_TRUE ( handler -> got_load_end2_ ) ; EXPECT_TRUE ( handler -> got_cookie1_ ) ; EXPECT_TRUE ( handler -> got_cookie2_ ) ; ReleaseAndWaitForDestructor ( handler ) ; }
Verify use of multiple cookie managers vis JS.
Verify use of multiple cookie managers vis JS .