// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/autofill/core/browser/heuristic_source.h" #include "base/test/scoped_feature_list.h" #include "components/autofill/core/common/autofill_features.h" #include "components/autofill/core/common/dense_set.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" namespace autofill { // Depending on `kAutofillModelPredictions`, the active and non active heuristic // sources will differ. // // Currently, the available heuristic sources are the ML model and // the pattern sources. If the model predictions are disabled, then // only pattern sources are used. If model predictions are enabled, // `kMachineLearning` is also considered. Depending on // `kAutofillModelPredictionsAreActive`, use `kMachineLearning` // as the active heuristic source. struct HeuristicSourceParams { … }; class HeuristicSourceTest : public testing::TestWithParam<HeuristicSourceParams> { … }; TEST_P(HeuristicSourceTest, HeuristicSourceParams) { … } INSTANTIATE_TEST_SUITE_P(…); } // namespace autofill