tests/ceftests/run_all_unittests.cc
// Called on the test thread.
Called on the test thread.
Called on the test thread .
void RunTestsOnTestThread() {
  CefTestSuite::GetInstance()->Run();
  while (TestHandler::HasBrowser())
    sleep(100);
  test_server::Stop(base::BindOnce(QuitMessageLoop));
}
void RunTestsOnTestThread ( ) { CefTestSuite :: GetInstance ( ) -> Run ( ) ; while ( TestHandler :: HasBrowser ( ) ) sleep ( 100 ) ; test_server :: Stop ( base :: BindOnce ( QuitMessageLoop ) ) ; }
Called on the test thread.
Called on the test thread .
// Run the test suite. // Wait for all browsers to exit. // Wait for the test server to stop, and then quit the CEF message loop.