Home
last modified time | relevance | path

Searched refs:mock_flow_handler_ (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/browser/printing/
Dprint_dialog_cloud_unittest.cc301 mock_flow_handler_ = handler->AsWeakPtr(); in SetUp()
302 EXPECT_CALL(*mock_flow_handler_.get(), SetDialogDelegate(_)); in SetUp()
303 EXPECT_CALL(*mock_flow_handler_.get(), SetDialogDelegate(NULL)); in SetUp()
305 mock_flow_handler_.get(), 100, 100, std::string(), true)); in SetUp()
310 if (mock_flow_handler_) in TearDown()
311 delete mock_flow_handler_.get(); in TearDown()
316 base::WeakPtr<MockCloudPrintFlowHandler> mock_flow_handler_; member in CloudPrintHtmlDialogDelegateTest
333 EXPECT_THAT(mock_flow_handler_.get(), IsNull()); in TEST_F()
340 EXPECT_THAT(mock_flow_handler_.get(), NotNull()); in TEST_F()
/external/chromium_org/chrome/browser/printing/
Dprint_dialog_cloud_unittest.cc300 mock_flow_handler_ = handler->AsWeakPtr(); in SetUp()
301 EXPECT_CALL(*mock_flow_handler_.get(), SetDialogDelegate(_)); in SetUp()
302 EXPECT_CALL(*mock_flow_handler_.get(), SetDialogDelegate(NULL)); in SetUp()
303 delegate_.reset(new CloudPrintWebDialogDelegate(mock_flow_handler_.get(), in SetUp()
309 if (mock_flow_handler_.get()) in TearDown()
310 delete mock_flow_handler_.get(); in TearDown()
315 base::WeakPtr<MockCloudPrintFlowHandler> mock_flow_handler_; member in CloudPrintWebDialogDelegateTest
331 EXPECT_THAT(mock_flow_handler_.get(), IsNull()); in TEST_F()
338 EXPECT_THAT(mock_flow_handler_.get(), NotNull()); in TEST_F()