#include <libaddressinput/address_input_helper.h>
#include <libaddressinput/address_data.h>
#include <libaddressinput/callback.h>
#include <libaddressinput/null_storage.h>
#include <libaddressinput/preload_supplier.h>
#include <memory>
#include <string>
#include <gtest/gtest.h>
#include "mock_source.h"
#include "testdata_source.h"
namespace {
AddressData;
AddressInputHelper;
BuildCallback;
MockSource;
NullStorage;
PreloadSupplier;
TestdataSource;
class AddressInputHelperTest : public testing::Test { … };
TEST_F(AddressInputHelperTest, AddressWithMissingPostalCode) { … }
TEST_F(AddressInputHelperTest, AddressWithPostalCodeMatchingAdmin) { … }
TEST_F(AddressInputHelperTest, AddressWithPostalCodeMatchingLowerLevel) { … }
TEST_F(AddressInputHelperTest, AddressWithPostalCodeMatchingLowerLevelLatin) { … }
TEST_F(AddressInputHelperTest, AddressWithPostalCodeMatchingDependentLocality) { … }
TEST_F(AddressInputHelperTest, AddressWithPostalCodeMatchingMultipleValues) { … }
TEST_F(AddressInputHelperTest, AddressWithInvalidPostalCode) { … }
TEST_F(AddressInputHelperTest, AddressWithNoPostalCodeValidation) { … }
TEST_F(AddressInputHelperTest, AddressWithInvalidOrMissingRegionCode) { … }
TEST_F(AddressInputHelperTest, RegionWithUnusedAdminAreaNames) { … }
class AddressInputHelperMockDataTest : public testing::Test { … };
TEST_F(AddressInputHelperMockDataTest,
PostalCodeSharedAcrossDifferentHierarchies) { … }
TEST_F(AddressInputHelperMockDataTest,
PostalCodeSharedAcrossDifferentHierarchiesSameState) { … }
}