#include "components/autofill/core/browser/autofill_field.h"
#include "base/test/scoped_feature_list.h"
#include "components/autofill/core/browser/autofill_test_utils.h"
#include "components/autofill/core/browser/field_types.h"
#include "components/autofill/core/common/autofill_clock.h"
#include "components/autofill/core/common/autofill_features.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace autofill {
namespace {
class AutofillFieldTest : public testing::Test { … };
TEST_F(AutofillFieldTest, Type_ServerPredictionOfCityAndNumber_OverrideHtml) { … }
TEST_F(AutofillFieldTest, EmailOverridesUsernameType) { … }
TEST_F(AutofillFieldTest, IsFieldFillable) { … }
struct PrecedenceOverAutocompleteParams { … };
class PrecedenceOverAutocompleteTest
: public testing::TestWithParam<PrecedenceOverAutocompleteParams> { … };
TEST_P(PrecedenceOverAutocompleteTest, PrecedenceOverAutocompleteParams) { … }
INSTANTIATE_TEST_SUITE_P(…);
struct AutocompleteUnrecognizedTypeTestCase { … };
class AutocompleteUnrecognizedTypeTest
: public testing::TestWithParam<AutocompleteUnrecognizedTypeTestCase> { … };
TEST_P(AutocompleteUnrecognizedTypeTest, TypePredictions) { … }
INSTANTIATE_TEST_SUITE_P(…);
struct AutofillLocalHeuristicsOverridesParams { … };
class AutofillLocalHeuristicsOverridesTest
: public testing::TestWithParam<AutofillLocalHeuristicsOverridesParams> { … };
TEST_P(AutofillLocalHeuristicsOverridesTest,
AutofillLocalHeuristicsOverridesParams) { … }
INSTANTIATE_TEST_SUITE_P(…);
TEST(AutofillFieldLogEventTypeTest, AppendLogEventIfNotRepeated) { … }
}
}