Lines Matching refs:score
49 // This one has a lot of redirects but a better score. It should still be
57 ThumbnailScore score;
58 // By default, the score is low, thus we should generate a new thumbnail.
59 EXPECT_TRUE(score.ShouldConsiderUpdating());
62 score.boring_score = 0.0;
63 EXPECT_TRUE(score.ShouldConsiderUpdating());
66 score.good_clipping = true;
67 EXPECT_TRUE(score.ShouldConsiderUpdating());
70 score.at_top = true;
71 EXPECT_TRUE(score.ShouldConsiderUpdating());
75 score.load_completed = true;
76 EXPECT_FALSE(score.ShouldConsiderUpdating());
78 // Make it very boring, but it won't change the result. The boring score
81 score.boring_score = 1.0;
82 EXPECT_FALSE(score.ShouldConsiderUpdating());
85 score.time_at_snapshot -=
87 EXPECT_TRUE(score.ShouldConsiderUpdating());