Home | History | Annotate | Download | only in tests

Lines Matching defs:run1

714     Progress run1(path);
715 EXPECT_EQ(0, run1.Get());
716 EXPECT_EQ(Progress::kDefaultMax, run1.GetInitialMax());
717 EXPECT_EQ(Progress::kDefaultMax, run1.GetMax());
719 bool max_increased = run1.Inc(20);
720 EXPECT_EQ(20, run1.Get());
721 EXPECT_EQ(Progress::kDefaultMax, run1.GetMax());
724 run1.Save();
733 Progress run1 = GetInstance(-42, 1.2, path);
734 EXPECT_EQ(0, run1.Get());
735 EXPECT_EQ(10, run1.GetInitialMax());
736 EXPECT_EQ(10, run1.GetMax());
738 bool max_increased = run1.Inc(20);
739 EXPECT_EQ(20, run1.Get());
740 EXPECT_EQ(24, run1.GetMax());
744 run1.Save();
783 Progress run1 = GetInstance(-42, 1.2, path);
784 EXPECT_EQ(0, run1.Get());
785 EXPECT_EQ(15, run1.GetInitialMax());
786 EXPECT_EQ(15, run1.GetMax());
788 bool max_increased = run1.Inc(20);
789 EXPECT_EQ(20, run1.Get());
790 EXPECT_EQ(24, run1.GetMax());
794 run1.Save();