chromium/components/autofill/core/browser/geo/phone_number_i18n_unittest.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/autofill/core/browser/geo/phone_number_i18n.h"

#include <stddef.h>

#include <string>

#include "base/feature_list.h"
#include "base/strings/strcat.h"
#include "base/strings/utf_string_conversions.h"
#include "components/autofill/core/browser/data_model/autofill_profile.h"
#include "components/autofill/core/browser/field_types.h"
#include "components/autofill/core/common/autofill_features.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/libphonenumber/phonenumber_api.h"

namespace autofill {

ConstructPhoneNumber;
NormalizePhoneNumber;
ParsePhoneNumber;
PhoneNumbersMatch;

TEST(PhoneNumberI18NTest, NormalizePhoneNumber) {}

struct ParseNumberTestCase {};

namespace {

// Returns a string which is too long to be considered a phone number.
std::u16string GenerateTooLongString() {}

}  // namespace

class ParseNumberTest : public testing::TestWithParam<ParseNumberTestCase> {};

TEST_P(ParseNumberTest, ParsePhoneNumber) {}

INSTANTIATE_TEST_SUITE_P();

TEST(PhoneNumberI18NTest, ConstructPhoneNumber) {}

TEST(PhoneNumberI18NTest, PhoneNumbersMatch) {}

// Tests that the phone numbers are correctly formatted for the Payment
// Response.
TEST(PhoneNumberUtilTest, FormatPhoneForResponse) {}

// Tests that phone numbers are correctly formatted in a national format.
TEST(PhoneNumberUtilTest, FormatPhoneNationallyForDisplay) {}

// Tests that the phone numbers are correctly formatted to display to the user.
TEST(PhoneNumberUtilTest, FormatPhoneForDisplay) {}

// Test for the GetFormattedPhoneNumberForDisplay method.
struct PhoneNumberFormatCase {};

class GetFormattedPhoneNumberForDisplayTest
    : public testing::TestWithParam<PhoneNumberFormatCase> {};

TEST_P(GetFormattedPhoneNumberForDisplayTest,
       GetFormattedPhoneNumberForDisplay) {}

INSTANTIATE_TEST_SUITE_P();

INSTANTIATE_TEST_SUITE_P();

}  // namespace autofill