#include "components/visited_url_ranking/internal/transformer/history_url_visit_aggregates_categories_transformer.h"
#include <iterator>
#include <memory>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#include "base/containers/flat_set.h"
#include "base/functional/callback.h"
#include "base/strings/strcat.h"
#include "base/test/mock_callback.h"
#include "components/history/core/browser/history_types.h"
#include "components/visited_url_ranking/internal/transformer/transformer_test_support.h"
#include "components/visited_url_ranking/public/test_support.h"
#include "components/visited_url_ranking/public/url_visit.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace {
struct TestParams { … };
}
namespace visited_url_ranking {
constexpr std::string kSampleBlocklistedCategoryId = …;
class HistoryURLVisitAggregatesCategoriesTransformerTest
: public URLVisitAggregatesTransformerTest,
public ::testing::WithParamInterface<TestParams> { … };
TEST_P(HistoryURLVisitAggregatesCategoriesTransformerTest, Transform) { … }
constexpr std::vector<std::string> kSampleEmptyCategoryIds = …;
INSTANTIATE_TEST_SUITE_P(…);
}