Searched refs:ranges1 (Results 1 – 3 of 3) sorted by relevance
/external/libchrome/base/metrics/ |
D | bucket_ranges_unittest.cc | 30 BucketRanges ranges1(3); in TEST() local 34 EXPECT_TRUE(ranges1.Equals(&ranges2)); in TEST() 35 EXPECT_FALSE(ranges1.Equals(&ranges3)); in TEST() 39 ranges1.set_range(0, 0); in TEST() 40 ranges1.set_range(1, 1); in TEST() 41 ranges1.set_range(2, 2); in TEST() 42 ranges1.set_checksum(100); in TEST() 48 EXPECT_TRUE(ranges1.Equals(&ranges2)); in TEST() 51 ranges1.set_checksum(99); in TEST() 52 EXPECT_FALSE(ranges1.Equals(&ranges2)); in TEST() [all …]
|
D | statistics_recorder_unittest.cc | 158 BucketRanges* ranges1 = new BucketRanges(3); in TEST_P() local 159 ranges1->ResetChecksum(); in TEST_P() 164 EXPECT_EQ(ranges1, in TEST_P() 165 StatisticsRecorder::RegisterOrDeleteDuplicateRanges(ranges1)); in TEST_P() 172 EXPECT_EQ(ranges1, in TEST_P() 173 StatisticsRecorder::RegisterOrDeleteDuplicateRanges(ranges1)); in TEST_P() 178 ASSERT_EQ(3u, ranges1->size()); in TEST_P() 179 EXPECT_EQ(0, ranges1->range(0)); in TEST_P() 180 EXPECT_EQ(0, ranges1->range(1)); in TEST_P() 181 EXPECT_EQ(0, ranges1->range(2)); in TEST_P() [all …]
|
D | sample_vector_unittest.cc | 163 BucketRanges ranges1(3); in TEST() local 164 ranges1.set_range(0, 1); in TEST() 165 ranges1.set_range(1, 3); in TEST() 166 ranges1.set_range(2, 5); in TEST() 167 SampleVector samples1(1, &ranges1); in TEST()
|