#include "phonenumbers/asyoutypeformatter.h"
#include <gtest/gtest.h>
#include "phonenumbers/base/logging.h"
#include "phonenumbers/base/memory/scoped_ptr.h"
#include "phonenumbers/default_logger.h"
#include "phonenumbers/phonenumberutil.h"
#include "phonenumbers/test_util.h"
namespace i18n {
namespace phonenumbers {
class PhoneMetadata;
class AsYouTypeFormatterTest : public testing::Test { … };
TEST_F(AsYouTypeFormatterTest, ConvertUnicodeStringPosition) { … }
TEST_F(AsYouTypeFormatterTest, Constructor) { … }
TEST_F(AsYouTypeFormatterTest, InvalidPlusSign) { … }
TEST_F(AsYouTypeFormatterTest, TooLongNumberMatchingMultipleLeadingDigits) { … }
TEST_F(AsYouTypeFormatterTest, CountryWithSpaceInNationalPrefixFormattingRule) { … }
TEST_F(AsYouTypeFormatterTest,
CountryWithSpaceInNationalPrefixFormattingRuleAndLongNdd) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_US) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_USFullWidthCharacters) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_USMobileShortCode) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_USVanityNumber) { … }
TEST_F(AsYouTypeFormatterTest, AYTFAndRememberPositionUS) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_GBFixedLine) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_GBTollFree) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_GBPremiumRate) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_NZMobile) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_DE) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_AR) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_ARMobile) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_KR) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_MX) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_International_Toll_Free) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_MultipleLeadingDigitPatterns) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_LongIDD_AU) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_LongIDD_KR) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_LongNDD_KR) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_LongNDD_SG) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_ShortNumberFormattingFix_AU) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_ShortNumberFormattingFix_KR) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_ShortNumberFormattingFix_MX) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_NoNationalPrefix) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_NoNationalPrefixFormattingRule) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_ShortNumberFormattingFix_US) { … }
TEST_F(AsYouTypeFormatterTest, AYTF_ClearNDDAfterIDDExtraction) { … }
TEST_F(AsYouTypeFormatterTest,
NumberPatternsBecomingInvalidShouldNotResultInDigitLoss) { … }
}
}