Lines Matching refs:samples
184 std::unique_ptr<HistogramSamples> samples = report->SnapshotSamples(); in TEST_F() local
185 EXPECT_EQ(1, samples->GetCount(HISTOGRAM_REPORT_CREATED)); in TEST_F()
186 EXPECT_EQ(5, samples->GetCount(HISTOGRAM_REPORT_HISTOGRAM_CREATED)); in TEST_F()
187 EXPECT_EQ(0, samples->GetCount(HISTOGRAM_REPORT_HISTOGRAM_LOOKUP)); in TEST_F()
188 EXPECT_EQ(1, samples->GetCount(HISTOGRAM_REPORT_TYPE_LOGARITHMIC)); in TEST_F()
189 EXPECT_EQ(1, samples->GetCount(HISTOGRAM_REPORT_TYPE_LINEAR)); in TEST_F()
190 EXPECT_EQ(1, samples->GetCount(HISTOGRAM_REPORT_TYPE_BOOLEAN)); in TEST_F()
191 EXPECT_EQ(1, samples->GetCount(HISTOGRAM_REPORT_TYPE_CUSTOM)); in TEST_F()
192 EXPECT_EQ(1, samples->GetCount(HISTOGRAM_REPORT_TYPE_SPARSE)); in TEST_F()
203 samples = report->SnapshotSamples(); in TEST_F()
204 EXPECT_EQ(1, samples->GetCount(HISTOGRAM_REPORT_CREATED)); in TEST_F()
205 EXPECT_EQ(9, samples->GetCount(HISTOGRAM_REPORT_HISTOGRAM_CREATED)); in TEST_F()
206 EXPECT_EQ(0, samples->GetCount(HISTOGRAM_REPORT_HISTOGRAM_LOOKUP)); in TEST_F()
207 EXPECT_EQ(2, samples->GetCount(HISTOGRAM_REPORT_FLAG_UMA_TARGETED)); in TEST_F()
208 EXPECT_EQ(2, samples->GetCount(HISTOGRAM_REPORT_FLAG_UMA_STABILITY)); in TEST_F()
216 samples = report->SnapshotSamples(); in TEST_F()
217 EXPECT_EQ(1, samples->GetCount(HISTOGRAM_REPORT_CREATED)); in TEST_F()
218 EXPECT_EQ(9, samples->GetCount(HISTOGRAM_REPORT_HISTOGRAM_CREATED)); in TEST_F()
219 EXPECT_EQ(5, samples->GetCount(HISTOGRAM_REPORT_HISTOGRAM_LOOKUP)); in TEST_F()