Lines Matching full:run1
774 Progress run1(path);
775 EXPECT_EQ(0, run1.Get());
776 EXPECT_EQ(Progress::kDefaultMax, run1.GetInitialMax());
777 EXPECT_EQ(Progress::kDefaultMax, run1.GetMax());
779 bool max_increased = run1.Inc(20);
780 EXPECT_EQ(20, run1.Get());
781 EXPECT_EQ(Progress::kDefaultMax, run1.GetMax());
784 run1.Save();
793 Progress run1 = GetInstance(-42, 1.2, path);
794 EXPECT_EQ(0, run1.Get());
795 EXPECT_EQ(10, run1.GetInitialMax());
796 EXPECT_EQ(10, run1.GetMax());
798 bool max_increased = run1.Inc(20);
799 EXPECT_EQ(20, run1.Get());
800 EXPECT_EQ(24, run1.GetMax());
804 run1.Save();
843 Progress run1 = GetInstance(-42, 1.2, path);
844 EXPECT_EQ(0, run1.Get());
845 EXPECT_EQ(15, run1.GetInitialMax());
846 EXPECT_EQ(15, run1.GetMax());
848 bool max_increased = run1.Inc(20);
849 EXPECT_EQ(20, run1.Get());
850 EXPECT_EQ(24, run1.GetMax());
854 run1.Save();