Lines Matching refs:recovered
104 std::unique_ptr<HistogramBase> recovered;
110 recovered = histogram_iter.GetNext();
111 ASSERT_TRUE(recovered);
112 recovered->CheckName("TestHistogram");
114 recovered = histogram_iter.GetNext();
115 ASSERT_TRUE(recovered);
116 recovered->CheckName("TestLinearHistogram");
118 recovered = histogram_iter.GetNext();
119 ASSERT_TRUE(recovered);
120 recovered->CheckName("TestBooleanHistogram");
122 recovered = histogram_iter.GetNext();
123 ASSERT_TRUE(recovered);
124 recovered->CheckName("TestCustomHistogram");
126 recovered = histogram_iter.GetNext();
127 EXPECT_FALSE(recovered);
183 std::unique_ptr<HistogramBase> recovered;
189 recovered = histogram_iter.GetNext();
190 ASSERT_TRUE(recovered);
192 // Merge the recovered histogram to the SR. It will always be a new object.
193 recovery.MergeHistogramDeltaToStatisticsRecorder(recovered.get());
196 StatisticsRecorder::FindHistogram(recovered->histogram_name());
198 EXPECT_NE(recovered.get(), found);
202 EXPECT_EQ(recovered->SnapshotSamples()->TotalCount(), snapshot->TotalCount());