Home
last modified time | relevance | path

Searched refs:mock_network_library_ (Results 1 – 6 of 6) sorted by relevance

/external/chromium/chrome/browser/chromeos/login/
Dnetwork_screen_browsertest.cc49 mock_network_library_(NULL) { in NetworkScreenTest()
55 mock_network_library_ = cros_mock_->mock_network_library(); in SetUpInProcessBrowserTestFixture()
67 EXPECT_CALL(*mock_network_library_, ethernet_connected()) in SetUpInProcessBrowserTestFixture()
70 EXPECT_CALL(*mock_network_library_, ethernet_connecting()) in SetUpInProcessBrowserTestFixture()
73 EXPECT_CALL(*mock_network_library_, wifi_connected()) in SetUpInProcessBrowserTestFixture()
76 EXPECT_CALL(*mock_network_library_, FindWifiDevice()) in SetUpInProcessBrowserTestFixture()
78 EXPECT_CALL(*mock_network_library_, FindEthernetDevice()) in SetUpInProcessBrowserTestFixture()
84 EXPECT_CALL(*mock_network_library_, wifi_available()) in SetUpInProcessBrowserTestFixture()
87 EXPECT_CALL(*mock_network_library_, wifi_enabled()) in SetUpInProcessBrowserTestFixture()
90 EXPECT_CALL(*mock_network_library_, wifi_connecting()) in SetUpInProcessBrowserTestFixture()
[all …]
Dupdate_screen_browsertest.cc31 mock_network_library_(NULL) {} in UpdateScreenTest()
59 mock_network_library_ = cros_mock_->mock_network_library(); in SetUpInProcessBrowserTestFixture()
60 EXPECT_CALL(*mock_network_library_, Connected()) in SetUpInProcessBrowserTestFixture()
64 EXPECT_CALL(*mock_network_library_, AddNetworkManagerObserver(_)) in SetUpInProcessBrowserTestFixture()
67 EXPECT_CALL(*mock_network_library_, FindWifiDevice()) in SetUpInProcessBrowserTestFixture()
69 EXPECT_CALL(*mock_network_library_, FindEthernetDevice()) in SetUpInProcessBrowserTestFixture()
80 MockNetworkLibrary* mock_network_library_; member in chromeos::UpdateScreenTest
Dexisting_user_controller_browsertest.cc106 mock_network_library_(NULL), in ExistingUserControllerTest()
120 mock_network_library_ = cros_mock_->mock_network_library(); in SetUpInProcessBrowserTestFixture()
169 MockNetworkLibrary* mock_network_library_; member in chromeos::ExistingUserControllerTest
/external/chromium/chrome/browser/chromeos/cros/
Dcros_mock.cc41 mock_network_library_(NULL), in CrosMock()
94 if (mock_network_library_) in InitMockNetworkLibrary()
96 mock_network_library_ = new StrictMock<MockNetworkLibrary>(); in InitMockNetworkLibrary()
97 test_api()->SetNetworkLibrary(mock_network_library_, true); in InitMockNetworkLibrary()
143 return mock_network_library_; in mock_network_library()
222 EXPECT_CALL(*mock_network_library_, AddNetworkManagerObserver(_)) in SetNetworkLibraryStatusAreaExpectations()
224 EXPECT_CALL(*mock_network_library_, AddNetworkDeviceObserver(_, _)) in SetNetworkLibraryStatusAreaExpectations()
226 EXPECT_CALL(*mock_network_library_, AddCellularDataPlanObserver(_)) in SetNetworkLibraryStatusAreaExpectations()
228 EXPECT_CALL(*mock_network_library_, RemoveNetworkManagerObserver(_)) in SetNetworkLibraryStatusAreaExpectations()
230 EXPECT_CALL(*mock_network_library_, RemoveNetworkDeviceObserver(_, _)) in SetNetworkLibraryStatusAreaExpectations()
[all …]
Dcros_mock.h97 MockNetworkLibrary* mock_network_library_; variable
/external/chromium/chrome/browser/chromeos/
Dnetwork_state_notifier_browsertest.cc24 NetworkStateNotifierTest() : mock_network_library_(NULL) { in NetworkStateNotifierTest()
33 mock_network_library_ = cros_mock_->mock_network_library(); in SetUpInProcessBrowserTestFixture()
34 ASSERT_TRUE(mock_network_library_); in SetUpInProcessBrowserTestFixture()
35 EXPECT_CALL(*mock_network_library_, Connected()) in SetUpInProcessBrowserTestFixture()
59 MockNetworkLibrary *mock_network_library_; member in chromeos::NetworkStateNotifierTest
68 EXPECT_CALL(*mock_network_library_, Connected()) in IN_PROC_BROWSER_TEST_F()
73 notifier->OnNetworkManagerChanged(mock_network_library_); in IN_PROC_BROWSER_TEST_F()
82 EXPECT_CALL(*mock_network_library_, Connected()) in IN_PROC_BROWSER_TEST_F()
86 EXPECT_CALL(*mock_network_library_, Connecting()) in IN_PROC_BROWSER_TEST_F()
91 notifier->OnNetworkManagerChanged(mock_network_library_); in IN_PROC_BROWSER_TEST_F()
[all …]