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() 169 UnorderedElementsAre(ranges1, ranges2)); in TEST_P() 172 EXPECT_EQ(ranges1, in TEST_P() 173 StatisticsRecorder::RegisterOrDeleteDuplicateRanges(ranges1)); in TEST_P() 175 UnorderedElementsAre(ranges1, ranges2)); in TEST_P() 178 ASSERT_EQ(3u, ranges1->size()); in TEST_P() 179 EXPECT_EQ(0, ranges1->range(0)); in TEST_P() [all …]
|
D | sample_vector_unittest.cc | 174 BucketRanges ranges1(3); in TEST_F() local 175 ranges1.set_range(0, 1); in TEST_F() 176 ranges1.set_range(1, 3); in TEST_F() 177 ranges1.set_range(2, 5); in TEST_F() 178 SampleVector samples1(1, &ranges1); in TEST_F()
|