Searched refs:mock_p2p_manager (Results 1 – 3 of 3) sorted by relevance
588 MockP2PManager mock_p2p_manager; in TEST_F() local589 fake_system_state_.set_p2p_manager(&mock_p2p_manager); in TEST_F()590 mock_p2p_manager.fake().SetP2PEnabled(false); in TEST_F()591 EXPECT_CALL(mock_p2p_manager, EnsureP2PRunning()).Times(0); in TEST_F()596 MockP2PManager mock_p2p_manager; in TEST_F() local597 fake_system_state_.set_p2p_manager(&mock_p2p_manager); in TEST_F()598 mock_p2p_manager.fake().SetP2PEnabled(true); in TEST_F()599 EXPECT_CALL(mock_p2p_manager, EnsureP2PRunning()).Times(0); in TEST_F()604 MockP2PManager mock_p2p_manager; in TEST_F() local605 fake_system_state_.set_p2p_manager(&mock_p2p_manager); in TEST_F()[all …]
220 inline testing::NiceMock<MockP2PManager>* mock_p2p_manager() { in mock_p2p_manager() function
2264 MockP2PManager mock_p2p_manager; in P2PTest() local2265 fake_system_state_.set_p2p_manager(&mock_p2p_manager); in P2PTest()2266 mock_p2p_manager.fake().SetLookupUrlForFileResult(p2p_client_result_url); in P2PTest()2269 EXPECT_CALL(mock_p2p_manager, LookupUrlForFile(_, _, timeout, _)) in P2PTest()