#include "components/autofill/core/browser/ml_model/autofill_model_encoder.h"
#include "base/base_paths.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/path_service.h"
#include "base/strings/string_split.h"
#include "components/autofill/core/browser/autofill_field.h"
#include "components/autofill/core/browser/autofill_form_test_utils.h"
#include "components/autofill/core/browser/autofill_test_utils.h"
#include "components/autofill/core/browser/form_structure.h"
#include "components/autofill/core/common/form_field_data.h"
#include "components/optimization_guide/proto/autofill_field_classification_model_metadata.pb.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace autofill {
TokenId;
ElementsAre;
class AutofillModelEncoderTest : public testing::Test { … };
TEST_F(AutofillModelEncoderTest, TokensMappedCorrectly) { … }
TEST_F(AutofillModelEncoderTest, WordOutOfVocab) { … }
TEST_F(AutofillModelEncoderTest, EmptyToken) { … }
TEST_F(AutofillModelEncoderTest, InputEncodedCorrectly) { … }
TEST_F(AutofillModelEncoderTest, InputHasMoreThanOneWhitespace) { … }
TEST_F(AutofillModelEncoderTest, ReplaceSpecialWithWhitespace) { … }
TEST_F(AutofillModelEncoderTest, InputHasMoreWordsThanOutputSequenceLength) { … }
TEST_F(AutofillModelEncoderTest, AttributeEncodedCorrectly) { … }
TEST_F(AutofillModelEncoderTest, InputConstructedCorrectly) { … }
TEST_F(AutofillModelEncoderTest, FormEncodedCorrectly) { … }
}