#include "components/visited_url_ranking/internal/transformer/recency_filter_transformer.h"
#include "base/metrics/field_trial_params.h"
#include "base/strings/stringprintf.h"
#include "base/test/scoped_feature_list.h"
#include "base/time/time.h"
#include "components/visited_url_ranking/internal/transformer/transformer_test_support.h"
#include "components/visited_url_ranking/public/features.h"
#include "components/visited_url_ranking/public/fetch_options.h"
#include "components/visited_url_ranking/public/test_support.h"
#include "components/visited_url_ranking/public/url_visit.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace visited_url_ranking {
namespace {
constexpr char kTestUrl1[] = …;
constexpr base::TimeDelta kTimeSinceLoad1 = …;
constexpr char kTestUrl2[] = …;
constexpr base::TimeDelta kTimeSinceLoad2 = …;
constexpr char kTestUrl3[] = …;
constexpr base::TimeDelta kTimeSinceLoad3 = …;
constexpr char kTestUrl4[] = …;
constexpr base::TimeDelta kTimeSinceLoad4 = …;
constexpr char kTestUrl5[] = …;
constexpr base::TimeDelta kTimeSinceLoad5 = …;
constexpr char kTestUrl6[] = …;
constexpr base::TimeDelta kTimeSinceLoad6 = …;
constexpr char kTestUrl7[] = …;
constexpr base::TimeDelta kTimeSinceLoad7 = …;
constexpr char kTestUrl8[] = …;
constexpr base::TimeDelta kTimeSinceLoad8 = …;
constexpr char kTestUrl9[] = …;
constexpr base::TimeDelta kTimeSinceLoad9 = …;
constexpr char kTestUrl10[] = …;
constexpr base::TimeDelta kTimeSinceLoad10 = …;
constexpr unsigned kTestCountLimit = …;
class RecencyFilterTransformerTest : public URLVisitAggregatesTransformerTest { … };
TEST_F(RecencyFilterTransformerTest, SortAndFilter) { … }
TEST_F(RecencyFilterTransformerTest, FilteringTabs) { … }
TEST_F(RecencyFilterTransformerTest, FilteringHistory) { … }
TEST_F(RecencyFilterTransformerTest, FilteringRemoteTab) { … }
}
}