Lines Matching refs:report
97 StatsLogReport report = outputStreamToProto(&output); in TEST_F() local
98 backfillAggregatedAtoms(&report); in TEST_F()
99 EXPECT_TRUE(report.has_event_metrics()); in TEST_F()
100 ASSERT_EQ(2, report.event_metrics().data_size()); in TEST_F()
101 EXPECT_EQ(bucketStartTimeNs + 1, report.event_metrics().data(0).elapsed_timestamp_nanos()); in TEST_F()
102 EXPECT_EQ(bucketStartTimeNs + 2, report.event_metrics().data(1).elapsed_timestamp_nanos()); in TEST_F()
140 StatsLogReport report = outputStreamToProto(&output); in TEST_F() local
141 EXPECT_TRUE(report.has_event_metrics()); in TEST_F()
142 backfillAggregatedAtoms(&report); in TEST_F()
143 ASSERT_EQ(1, report.event_metrics().data_size()); in TEST_F()
144 EXPECT_EQ(bucketStartTimeNs + 1, report.event_metrics().data(0).elapsed_timestamp_nanos()); in TEST_F()
194 StatsLogReport report = outputStreamToProto(&output); in TEST_F() local
195 backfillAggregatedAtoms(&report); in TEST_F()
196 EXPECT_TRUE(report.has_event_metrics()); in TEST_F()
197 ASSERT_EQ(1, report.event_metrics().data_size()); in TEST_F()
198 EXPECT_EQ(bucketStartTimeNs + 10, report.event_metrics().data(0).elapsed_timestamp_nanos()); in TEST_F()
234 StatsLogReport report = outputStreamToProto(&output); in TEST_F() local
235 EXPECT_TRUE(report.has_event_metrics()); in TEST_F()
236 ASSERT_EQ(2, report.event_metrics().data_size()); in TEST_F()
238 for (EventMetricData metricData : report.event_metrics().data()) { in TEST_F()
287 StatsLogReport report = outputStreamToProto(&output); in TEST_F() local
288 EXPECT_TRUE(report.has_event_metrics()); in TEST_F()
289 ASSERT_EQ(2, report.event_metrics().data_size()); in TEST_F()
291 for (EventMetricData metricData : report.event_metrics().data()) { in TEST_F()
336 StatsLogReport report = outputStreamToProto(&output); in TEST_F() local
337 EXPECT_TRUE(report.has_event_metrics()); in TEST_F()
338 ASSERT_EQ(2, report.event_metrics().data_size()); in TEST_F()
340 for (EventMetricData metricData : report.event_metrics().data()) { in TEST_F()
385 StatsLogReport report = outputStreamToProto(&output); in TEST_F() local
386 EXPECT_TRUE(report.has_event_metrics()); in TEST_F()
387 EXPECT_EQ(1, report.event_metrics().data_size()); in TEST_F()
388 ASSERT_EQ(1, report.data_corrupted_reason_size()); in TEST_F()
389 ASSERT_EQ(DATA_CORRUPTED_SOCKET_LOSS, report.data_corrupted_reason()[0]); in TEST_F()
415 StatsLogReport report = outputStreamToProto(&output); in TEST_F() local
416 EXPECT_TRUE(report.has_event_metrics()); in TEST_F()
417 EXPECT_EQ(1, report.event_metrics().data_size()); in TEST_F()
418 ASSERT_EQ(1, report.data_corrupted_reason_size()); in TEST_F()
419 ASSERT_EQ(DATA_CORRUPTED_EVENT_QUEUE_OVERFLOW, report.data_corrupted_reason()[0]); in TEST_F()
447 StatsLogReport report = outputStreamToProto(&output); in TEST_F() local
448 EXPECT_TRUE(report.has_event_metrics()); in TEST_F()
449 EXPECT_EQ(1, report.event_metrics().data_size()); in TEST_F()
450 EXPECT_EQ(2, report.data_corrupted_reason_size()); in TEST_F()
451 EXPECT_THAT(report.data_corrupted_reason(), in TEST_F()
688 StatsLogReport report = outputStreamToProto(&output); in TEST_F() local
689 EXPECT_TRUE(report.has_event_metrics()); in TEST_F()
690 ASSERT_EQ(1, report.event_metrics().data_size()); in TEST_F()
691 EXPECT_EQ(1, report.data_corrupted_reason_size()); in TEST_F()
692 EXPECT_THAT(report.data_corrupted_reason(), ElementsAre(DATA_CORRUPTED_SOCKET_LOSS)); in TEST_F()
718 StatsLogReport report = outputStreamToProto(&output); in TEST_F() local
719 EXPECT_TRUE(report.has_event_metrics()); in TEST_F()
720 EXPECT_EQ(1, report.event_metrics().data_size()); in TEST_F()
721 EXPECT_EQ(2, report.data_corrupted_reason_size()); in TEST_F()
722 EXPECT_THAT(report.data_corrupted_reason(), in TEST_F()
750 StatsLogReport report = outputStreamToProto(&output); in TEST_F() local
751 EXPECT_TRUE(report.has_event_metrics()); in TEST_F()
752 EXPECT_EQ(1, report.event_metrics().data_size()); in TEST_F()
753 EXPECT_EQ(2, report.data_corrupted_reason_size()); in TEST_F()
754 EXPECT_THAT(report.data_corrupted_reason(), in TEST_F()