#include "components/history_clusters/core/ranking_cluster_finalizer.h"
#include "base/test/task_environment.h"
#include "components/history_clusters/core/clustering_test_utils.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace history_clusters {
namespace {
ElementsAre;
class RankingClusterFinalizerTest : public ::testing::Test { … };
TEST_F(RankingClusterFinalizerTest, ScoreTwoVisitsSameURL) { … }
TEST_F(RankingClusterFinalizerTest, ScoreTwoVisitsDifferentURLs) { … }
TEST_F(RankingClusterFinalizerTest, ScoreTwoVisitsRespectsInitialZeroScore) { … }
TEST_F(RankingClusterFinalizerTest, ScoreTwoVisitsSimilarURL) { … }
TEST_F(RankingClusterFinalizerTest, ScoreMultipleVisitsDifferentDurations) { … }
TEST_F(RankingClusterFinalizerTest, ScoreTwoVisitsSameURLBookmarked) { … }
TEST_F(RankingClusterFinalizerTest, ScoreTwoVisitsWithBookmarksAndDuration) { … }
TEST_F(RankingClusterFinalizerTest,
ScoreTwoVisitsWithBookmarksAndForegroundDuration) { … }
TEST_F(RankingClusterFinalizerTest, ScoreTwoCanonicalSearchResultsPages) { … }
TEST_F(RankingClusterFinalizerTest, ScoreSearchResultsPagesOneDuplicate) { … }
TEST_F(RankingClusterFinalizerTest, ScoreVisitsOnHasPageTitle) { … }
TEST_F(RankingClusterFinalizerTest, ScoreVisitsOnHasUrlKeyedImage) { … }
TEST_F(RankingClusterFinalizerTest,
ScoreVisitsOnHasUrlKeyedImageNotKnownToSyncNotBoosted) { … }
}
}