Lines Matching refs:progress
72 // A WriterDelegate that logs progress once per second.
1146 // Tests progress reporting while zipping files.
1158 base::BindLambdaForTesting([&](const zip::Progress& progress) {
1160 LOG(INFO) << "Progress #" << progress_count << ": " << progress;
1163 EXPECT_GE(progress.bytes, last_progress.bytes);
1164 EXPECT_GE(progress.files, last_progress.files);
1165 EXPECT_GE(progress.directories, last_progress.directories);
1167 last_progress = progress;
1183 // Tests throttling of progress reporting while zipping files.
1195 base::BindLambdaForTesting([&](const zip::Progress& progress) {
1197 LOG(INFO) << "Progress #" << progress_count << ": " << progress;
1200 EXPECT_GE(progress.bytes, last_progress.bytes);
1201 EXPECT_GE(progress.files, last_progress.files);
1202 EXPECT_GE(progress.directories, last_progress.directories);
1204 last_progress = progress;
1213 // We expect only 2 progress reports: the first one, and the last one.
1390 base::BindLambdaForTesting([&](const zip::Progress& progress) {
1392 << (100 * progress.bytes / src_size) << "%";