tests/ceftests/message_router_unittest.cc
// Test that pending queries can be canceled by removing the handler.
Test that pending queries can be canceled by removing the handler.
Test that pending queries can be canceled by removing the handler .
TEST(MessageRouterTest, MultiQuerySingleFrameCancelByRemovingHandler) {
  CefRefPtr<MultiQuerySingleFrameTestHandler> handler =
      new MultiQuerySingleFrameTestHandler(
          false, MultiQuerySingleFrameTestHandler::CANCEL_BY_REMOVING_HANDLER);
  MakeTestQueries(handler->GetManager(), false);
  handler->ExecuteTest();
  ReleaseAndWaitForDestructor(handler);
}
TEST ( MessageRouterTest , MultiQuerySingleFrameCancelByRemovingHandler ) { CefRefPtr < MultiQuerySingleFrameTestHandler > handler = new MultiQuerySingleFrameTestHandler ( false , MultiQuerySingleFrameTestHandler :: CANCEL_BY_REMOVING_HANDLER ) ; MakeTestQueries ( handler -> GetManager ( ) , false ) ; handler -> ExecuteTest ( ) ; ReleaseAndWaitForDestructor ( handler ) ; }
Test that pending queries can be canceled by removing the handler.
Test that pending queries can be canceled by removing the handler .