Searched refs:test_custom_histogram (Results 1 - 2 of 2) sorted by relevance

/external/chromium/base/metrics/
H A Dhistogram_unittest.cc216 Histogram* test_custom_histogram(CustomHistogram::FactoryGet(
219 EXPECT_EQ(custom_ranges[0], test_custom_histogram->ranges(0));
220 EXPECT_EQ(custom_ranges[1], test_custom_histogram->ranges(1));
221 EXPECT_EQ(custom_ranges[2], test_custom_histogram->ranges(2));
222 EXPECT_EQ(custom_ranges[3], test_custom_histogram->ranges(3));
223 EXPECT_EQ(custom_ranges[4], test_custom_histogram->ranges(4));
239 Histogram* test_custom_histogram(CustomHistogram::FactoryGet(
242 EXPECT_EQ(0, test_custom_histogram->ranges(0)); // Auto added
243 EXPECT_EQ(custom_ranges[0], test_custom_histogram->ranges(1));
244 EXPECT_EQ(custom_ranges[1], test_custom_histogram
[all...]
/external/chromium_org/base/metrics/
H A Dhistogram_unittest.cc268 Histogram* test_custom_histogram = static_cast<Histogram*>( local
273 test_custom_histogram->Add(5);
274 test_custom_histogram->Add(-50);
275 test_custom_histogram->Add(100);
276 test_custom_histogram->Add(1000);
277 test_custom_histogram->Add(INT_MAX);
281 test_custom_histogram->SnapshotSampleVector();
284 size_t bucket_count = test_custom_histogram->bucket_count();

Completed in 108 milliseconds