#include "components/autofill/core/common/form_field_data.h"
#include "base/i18n/rtl.h"
#include "base/pickle.h"
#include "base/strings/utf_string_conversions.h"
#include "components/autofill/core/common/autofill_util.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace autofill {
namespace {
void FillCommonFields(FormFieldData* data) { … }
void FillVersion2Fields(FormFieldData* data) { … }
void FillVersion3Fields(FormFieldData* data) { … }
void FillVersion5Fields(FormFieldData* data) { … }
void FillVersion6Fields(FormFieldData* data) { … }
void FillVersion7Fields(FormFieldData* data) { … }
void FillVersion8Fields(FormFieldData* data) { … }
void WriteSection1(const FormFieldData& data, base::Pickle* pickle) { … }
void WriteSection3(const FormFieldData& data, base::Pickle* pickle) { … }
void WriteSection4(const FormFieldData& data, base::Pickle* pickle) { … }
void WriteSection5(const FormFieldData& data, base::Pickle* pickle) { … }
void WriteSection2(const FormFieldData& data, base::Pickle* pickle) { … }
void WriteVersion9Specific(const FormFieldData& data, base::Pickle* pickle) { … }
void WriteVersion2Specific(const FormFieldData& data, base::Pickle* pickle) { … }
void WriteVersion3Specific(const FormFieldData& data, base::Pickle* pickle) { … }
void WriteVersion5Specific(const FormFieldData& data, base::Pickle* pickle) { … }
void WriteVersion6Specific(const FormFieldData& data, base::Pickle* pickle) { … }
void WriteVersion7Specific(const FormFieldData& data, base::Pickle* pickle) { … }
void WriteVersion8Specific(const FormFieldData& data, base::Pickle* pickle) { … }
void SerializeInVersion1Format(const FormFieldData& data,
base::Pickle* pickle) { … }
void SerializeInVersion2Format(const FormFieldData& data,
base::Pickle* pickle) { … }
void SerializeInVersion3Format(const FormFieldData& data,
base::Pickle* pickle) { … }
void SerializeInVersion4Format(const FormFieldData& data,
base::Pickle* pickle) { … }
void SerializeInVersion5Format(const FormFieldData& data,
base::Pickle* pickle) { … }
void SerializeInVersion6Format(const FormFieldData& data,
base::Pickle* pickle) { … }
void SerializeInVersion7Format(const FormFieldData& data,
base::Pickle* pickle) { … }
void SerializeInVersion8Format(const FormFieldData& data,
base::Pickle* pickle) { … }
void SerializeInVersion9Format(const FormFieldData& data,
base::Pickle* pickle) { … }
}
TEST(FormFieldDataTest, SerializeAndDeserialize) { … }
TEST(FormFieldDataTest, DeserializeVersion1) { … }
TEST(FormFieldDataTest, DeserializeVersion2) { … }
TEST(FormFieldDataTest, DeserializeVersion3) { … }
TEST(FormFieldDataTest, DeserializeVersion4) { … }
TEST(FormFieldDataTest, DeserializeVersion5) { … }
TEST(FormFieldDataTest, DeserializeVersion6) { … }
TEST(FormFieldDataTest, DeserializeVersion7) { … }
TEST(FormFieldDataTest, DeserializeVersion8) { … }
TEST(FormFieldDataTest, DeserializeVersion9) { … }
TEST(FormFieldDataTest, DeserializeBadData) { … }
TEST(FormFieldDataTest, IsTextInputElement) { … }
TEST(FormFieldDataTest, SelectedOption) { … }
}