Lines Matching defs:progress
43 m_listener_sp = Listener::MakeListener("progress-listener");
69 // Scope this for RAII on the progress objects.
70 // Create progress reports and check that their respective events for having
80 // Starting progress: 1, 2, 3
81 // Ending progress: 3, 2, 1
142 // Create a finite progress report and only increment to a non-completed
145 Progress progress("Finite progress", "Report 1", 100);
146 progress.Increment(3);
149 // Verify that the progress in the events are:
159 EXPECT_EQ(data->GetMessage(), "Finite progress: Report 1");
167 EXPECT_EQ(data->GetMessage(), "Finite progress: Report 1");
175 EXPECT_EQ(data->GetMessage(), "Finite progress: Report 1");
177 // Create an infinite progress report and increment by some amount.
179 Progress progress("Infinite progress", "Report 2");
180 progress.Increment(3);
183 // Verify that the progress in the events are:
193 EXPECT_EQ(data->GetMessage(), "Infinite progress: Report 2");
201 EXPECT_EQ(data->GetMessage(), "Infinite progress: Report 2");
209 EXPECT_EQ(data->GetMessage(), "Infinite progress: Report 2");
220 Progress progress("Finite progress", "Report 1", 10);
221 progress.Increment(11);
222 progress.Increment(47);
249 Progress progress("Non deterministic progress", "Report 1");
250 progress.Increment(max_minus_1);
251 progress.Increment(max_minus_1);
281 Progress progress("Finite progress", "Report 1", /*total=*/20,
286 progress.Increment();
292 progress.Increment();
322 // Create three progress events with the same category then try to pop 2
323 // events from the queue in a row before the progress reports are destroyed.
360 // Create two progress reports of the same category that overlap with each
390 // The progress ID for the final report should be the same as that for the
402 { Progress progress("Coalesced report 1", "Starting report 1"); }
403 { Progress progress("Coalesced report 1", "Starting report 2"); }
404 { Progress progress("Coalesced report 1", "Starting report 3"); }
435 // Scope this for RAII on the progress objects.
436 // Create progress reports and check that their respective events for having
455 // Starting progress: 1, 2, 3
456 // Ending progress: 3, 2, 1
516 // Scope this for RAII on the progress objects.
517 // Create progress reports and check that their respective events for having