Lines Matching refs:metricMocks
62 std::vector<std::shared_ptr<MetricMock>> metricMocks; member in TestReport
80 for (auto i = metricMocks.size(); i < metricParameters.size(); ++i) in initMetricMocks()
82 metricMocks.emplace_back(std::make_shared<NiceMock<MetricMock>>()); in initMetricMocks()
84 metricMocks.resize(metricParameters.size()); in initMetricMocks()
93 ON_CALL(*metricMocks[i], getUpdatedReadings()) in initMetricMocks()
95 ON_CALL(*metricMocks[i], dumpConfiguration()) in initMetricMocks()
105 std::vector<std::shared_ptr<MetricMock>> metricMocks; in getMetricsFromReadingParams() local
109 metricMocks.emplace_back(std::make_shared<NiceMock<MetricMock>>()); in getMetricsFromReadingParams()
110 ON_CALL(*metricMocks[i], dumpConfiguration()) in getMetricsFromReadingParams()
112 ON_CALL(*metricMocks[i], metricCount()) in getMetricsFromReadingParams()
119 metricMocks); in getMetricsFromReadingParams()
143 metricMocks), in makeReport()
1149 for (auto& metric : metricMocks) in TEST_F()
1160 EXPECT_THAT(args, SizeIs(metricMocks.size())); in TEST_F()
1172 for (auto& metric : metricMocks) in TEST_F()
1185 for (auto& metric : metricMocks) in TEST_F()
1195 for (auto& metric : metricMocks) in TEST_F()
1306 EXPECT_CALL(*metricMocks[0], updateReadings(_)).Times(0); in TEST_F()
1308 ON_CALL(*metricMocks[0], isTimerRequired()).WillByDefault(Return(false)); in TEST_F()
1317 EXPECT_CALL(*metricMocks[0], updateReadings(_)) in TEST_F()
1323 ON_CALL(*metricMocks[0], isTimerRequired()).WillByDefault(Return(true)); in TEST_F()