Home
last modified time | relevance | path

Searched refs:GB_NUMBER (Results 1 – 1 of 1) sorted by relevance

/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java63 private static final PhoneNumber GB_NUMBER = field in PhoneNumberUtilTest
239 assertEquals(2, phoneUtil.getLengthOfGeographicalAreaCode(GB_NUMBER)); in testGetLengthOfGeographicalAreaCode()
279 assertEquals(2, phoneUtil.getLengthOfNationalDestinationCode(GB_NUMBER)); in testGetLengthOfNationalDestinationCode()
465 assertEquals("(020) 7031 3000", phoneUtil.format(GB_NUMBER, PhoneNumberFormat.NATIONAL)); in testFormatGBNumber()
466 assertEquals("+44 20 7031 3000", phoneUtil.format(GB_NUMBER, PhoneNumberFormat.INTERNATIONAL)); in testFormatGBNumber()
912 phoneUtil.formatByPattern(GB_NUMBER, PhoneNumberFormat.NATIONAL, in testFormatByPattern()
917 phoneUtil.formatByPattern(GB_NUMBER, PhoneNumberFormat.NATIONAL, in testFormatByPattern()
922 phoneUtil.formatByPattern(GB_NUMBER, PhoneNumberFormat.NATIONAL, in testFormatByPattern()
926 phoneUtil.formatByPattern(GB_NUMBER, PhoneNumberFormat.INTERNATIONAL, in testFormatByPattern()
1135 assertEquals(PhoneNumberUtil.PhoneNumberType.FIXED_LINE, phoneUtil.getNumberType(GB_NUMBER)); in testIsFixedLine()
[all …]