chromium/third_party/libaddressinput/src/cpp/test/address_input_helper_test.cc

// Copyright (C) 2013 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#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) {}

}  // namespace