Lines Matching defs:reports
201 ConfigMetricsReportList reports;
206 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size()));
207 backfillDimensionPath(&reports);
208 backfillStringInReport(&reports);
209 backfillStartEndTimestamp(&reports);
210 EXPECT_EQ(reports.reports_size(), 1);
211 EXPECT_EQ(reports.reports(0).metrics_size(), 1);
212 EXPECT_EQ(reports.reports(0).metrics(0).count_metrics().data_size(), 1);
213 EXPECT_EQ(reports.reports(0).metrics(0).count_metrics().data(0).bucket_info_size(), 1);
214 EXPECT_EQ(reports.reports(0).metrics(0).count_metrics().data(0).bucket_info(0).count(), 1);
215 auto data = reports.reports(0).metrics(0).count_metrics().data(0);
319 ConfigMetricsReportList reports;
325 EXPECT_TRUE(reports.ParseFromArray(&buffer[0], buffer.size()));
326 backfillDimensionPath(&reports);
327 backfillStringInReport(&reports);
328 backfillStartEndTimestamp(&reports);
329 EXPECT_EQ(reports.reports_size(), 1);
330 EXPECT_EQ(reports.reports(0).metrics_size(), 1);
331 EXPECT_EQ(reports.reports(0).metrics(0).count_metrics().data_size(), 1);
332 EXPECT_EQ(reports.reports(0).metrics(0).count_metrics().data(0).bucket_info_size(), 2);
333 EXPECT_EQ(reports.reports(0).metrics(0).count_metrics().data(0).bucket_info(0).count(), 1);
334 EXPECT_EQ(reports.reports(0).metrics(0).count_metrics().data(0).bucket_info(1).count(), 3);
335 auto data = reports.reports(0).metrics(0).count_metrics().data(0);