Lines Matching refs:NumSamples
27 int NumSamples( in NumSamples() function
68 EXPECT_EQ(1, metrics::NumSamples(kName)); in TEST_F()
70 EXPECT_EQ(0, metrics::NumSamples(kName)); in TEST_F()
73 TEST_F(MetricsDefaultTest, NumSamples) { in TEST_F() argument
77 EXPECT_EQ(3, metrics::NumSamples(kName)); in TEST_F()
78 EXPECT_EQ(0, metrics::NumSamples("NonExisting")); in TEST_F()
102 EXPECT_EQ(1, metrics::NumSamples(kName)); in TEST_F()
105 EXPECT_EQ(2, metrics::NumSamples(kName)); in TEST_F()
113 EXPECT_EQ(1, metrics::NumSamples(kName)); in TEST_F()
116 EXPECT_EQ(2, metrics::NumSamples(kName)); in TEST_F()
128 EXPECT_EQ(3, metrics::NumSamples("Histogram1")); in TEST_F()
129 EXPECT_EQ(1, metrics::NumSamples("Histogram2")); in TEST_F()
133 EXPECT_EQ(0, metrics::NumSamples("Histogram1")); in TEST_F()
134 EXPECT_EQ(0, metrics::NumSamples("Histogram2")); in TEST_F()
136 EXPECT_EQ(3, NumSamples("Histogram1", histograms)); in TEST_F()
137 EXPECT_EQ(1, NumSamples("Histogram2", histograms)); in TEST_F()
147 EXPECT_EQ(1, metrics::NumSamples("Histogram1")); in TEST_F()
148 EXPECT_EQ(1, metrics::NumSamples("Histogram2")); in TEST_F()