Searched refs:AR_NUMBER (Results 1 – 2 of 2) sorted by relevance
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
D | phonenumberutil_test.js | 70 var AR_NUMBER = new i18n.phonenumbers.PhoneNumber(); variable 71 AR_NUMBER.setCountryCode(54); 72 AR_NUMBER.setNationalNumber(1187654321); 373 assertEquals(2, phoneUtil.getLengthOfGeographicalAreaCode(AR_NUMBER)); 408 assertEquals(2, phoneUtil.getLengthOfNationalDestinationCode(AR_NUMBER)); 773 assertEquals('011 8765-4321', phoneUtil.format(AR_NUMBER, PNF.NATIONAL)); 775 '+54 11 8765-4321', phoneUtil.format(AR_NUMBER, PNF.INTERNATIONAL)); 776 assertEquals('+541187654321', phoneUtil.format(AR_NUMBER, PNF.E164)); 3005 AR_NUMBER.equals(phoneUtil.parse('+54 11 8765 4321', RegionCode.AR))); 3006 assertTrue(AR_NUMBER.equals(phoneUtil.parse('011 8765 4321', RegionCode.AR))); [all …]
|
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtilTest.java | 56 private static final PhoneNumber AR_NUMBER = field in PhoneNumberUtilTest 299 assertEquals(2, phoneUtil.getLengthOfGeographicalAreaCode(AR_NUMBER)); in testGetLengthOfGeographicalAreaCode() 338 assertEquals(2, phoneUtil.getLengthOfNationalDestinationCode(AR_NUMBER)); in testGetLengthOfNationalDestinationCode() 578 assertEquals("011 8765-4321", phoneUtil.format(AR_NUMBER, PhoneNumberFormat.NATIONAL)); in testFormatARNumber() 579 assertEquals("+54 11 8765-4321", phoneUtil.format(AR_NUMBER, PhoneNumberFormat.INTERNATIONAL)); in testFormatARNumber() 580 assertEquals("+541187654321", phoneUtil.format(AR_NUMBER, PhoneNumberFormat.E164)); in testFormatARNumber() 2261 assertEquals(AR_NUMBER, phoneUtil.parse("+54 11 8765 4321", RegionCode.AR)); in testParseNationalNumberArgentina() 2262 assertEquals(AR_NUMBER, phoneUtil.parse("011 8765 4321", RegionCode.AR)); in testParseNationalNumberArgentina() 2277 assertEquals(AR_NUMBER, phoneUtil.parse("01187654321", RegionCode.AR)); in testParseWithXInNumber() 2278 assertEquals(AR_NUMBER, phoneUtil.parse("(0) 1187654321", RegionCode.AR)); in testParseWithXInNumber() [all …]
|