Searched refs:mock_controllers (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/modules/audio_coding/audio_network_adaptor/ |
D | audio_network_adaptor_impl_unittest.cc | 67 std::vector<std::unique_ptr<MockController>> mock_controllers; member 80 states.mock_controllers.push_back(std::move(controller)); in CreateAudioNetworkAdaptor() 125 SetExpectCallToUpdateNetworkMetrics(states.mock_controllers, check); in TEST() 135 SetExpectCallToUpdateNetworkMetrics(states.mock_controllers, check); in TEST() 144 SetExpectCallToUpdateNetworkMetrics(states.mock_controllers, check); in TEST() 154 SetExpectCallToUpdateNetworkMetrics(states.mock_controllers, check); in TEST() 163 SetExpectCallToUpdateNetworkMetrics(states.mock_controllers, check); in TEST() 170 for (auto& mock_controller : states.mock_controllers) in TEST() 187 EXPECT_CALL(*states.mock_controllers[0], MakeDecision(_)) in TEST() 259 EXPECT_CALL(*states.mock_controllers[0], MakeDecision(_)) in TEST() [all …]
|
D | controller_manager_unittest.cc | 55 std::vector<MockController*> mock_controllers; member 66 states.mock_controllers.push_back(controller.get()); in CreateControllerManager() 71 chracteristic_points[states.mock_controllers[kNumControllers - 2]] = in CreateControllerManager() 74 chracteristic_points[states.mock_controllers[kNumControllers - 1]] = in CreateControllerManager() 99 EXPECT_EQ(states->mock_controllers.size(), check.size()); in CheckControllersOrder() 100 for (size_t i = 0; i < states->mock_controllers.size(); ++i) { in CheckControllersOrder() 102 EXPECT_EQ(states->mock_controllers[i], check[expected_order[i]]); in CheckControllersOrder() 105 states->mock_controllers[i])); in CheckControllersOrder() 117 EXPECT_EQ(states.mock_controllers.size(), check.size()); in TEST() 119 EXPECT_NE(states.mock_controllers.end(), in TEST() [all …]
|