Lines Matching refs:Progress
541 ds.progress_.reset(new Progress()); in SetUp()
569 ds.progress_.reset(new Progress(initial_max, progress, 1.2)); in SetProgress()
1017 Progress GetInstance(int32_t max, double growth_factor, const std::string& path = "") { in GetInstance()
1018 return Progress(max, growth_factor, path); in GetInstance()
1031 Progress progress; in TEST_F()
1033 EXPECT_EQ(Progress::kDefaultMax, progress.GetInitialMax()); in TEST_F()
1034 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1038 EXPECT_EQ(Progress::kDefaultMax, progress.GetInitialMax()); in TEST_F()
1039 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1045 EXPECT_EQ(Progress::kDefaultMax, progress.GetInitialMax()); in TEST_F()
1046 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1051 Progress progress = GetInstance(10, 1.2); // 20% growth factor in TEST_F()
1070 Progress progress = GetInstance(10, 1.2); // 20% growth factor in TEST_F()
1089 Progress progress("/devil/null"); in TEST_F()
1090 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1094 Progress progress(CopyTextFileFixture("empty-file.txt")); in TEST_F()
1095 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1099 Progress progress(CopyTextFileFixture("stats-invalid-1st-NAN.txt")); in TEST_F()
1100 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1104 Progress progress(CopyTextFileFixture("stats-invalid-2nd-NAN.txt")); in TEST_F()
1105 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1109 Progress progress(CopyTextFileFixture("stats-invalid-both-NAN.txt")); in TEST_F()
1110 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1114 Progress progress(CopyTextFileFixture("stats-invalid-1st-negative.txt")); in TEST_F()
1115 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1119 Progress progress(CopyTextFileFixture("stats-invalid-2nd-negative.txt")); in TEST_F()
1120 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1124 Progress progress(CopyTextFileFixture("stats-invalid-1st-too-big.txt")); in TEST_F()
1125 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1129 Progress progress(CopyTextFileFixture("stats-invalid-2nd-too-big.txt")); in TEST_F()
1130 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1144 Progress run1(path); in TEST_F()
1146 EXPECT_EQ(Progress::kDefaultMax, run1.GetInitialMax()); in TEST_F()
1147 EXPECT_EQ(Progress::kDefaultMax, run1.GetMax()); in TEST_F()
1151 EXPECT_EQ(Progress::kDefaultMax, run1.GetMax()); in TEST_F()
1163 Progress run1 = GetInstance(-42, 1.2, path); in TEST_F()
1177 Progress run2 = GetInstance(-42, 1.2, path); in TEST_F()
1191 Progress run3 = GetInstance(-42, 1.2, path); in TEST_F()
1213 Progress run1 = GetInstance(-42, 1.2, path); in TEST_F()