Searched refs:auNumber (Results 1 – 2 of 2) sorted by relevance
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtilTest.java | 571 PhoneNumber auNumber = new PhoneNumber().setCountryCode(61).setNationalNumber(1800123456L); in testFormatAUNumber() local 572 assertEquals("1800 123 456", phoneUtil.format(auNumber, PhoneNumberFormat.NATIONAL)); in testFormatAUNumber() 573 assertEquals("+61 1800 123 456", phoneUtil.format(auNumber, PhoneNumberFormat.INTERNATIONAL)); in testFormatAUNumber() 574 assertEquals("+611800123456", phoneUtil.format(auNumber, PhoneNumberFormat.E164)); in testFormatAUNumber() 911 PhoneNumber auNumber = new PhoneNumber().setCountryCode(61).setNationalNumber(0L) in testFormatNumberForMobileDialing() local 913 assertEquals("000", phoneUtil.formatNumberForMobileDialing(auNumber, RegionCode.AU, false)); in testFormatNumberForMobileDialing() 914 assertEquals("", phoneUtil.formatNumberForMobileDialing(auNumber, RegionCode.NZ, false)); in testFormatNumberForMobileDialing()
|
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
D | phonenumberutil_test.js | 762 var auNumber = new i18n.phonenumbers.PhoneNumber(); 763 auNumber.setCountryCode(61); 764 auNumber.setNationalNumber(1800123456); 765 assertEquals('1800 123 456', phoneUtil.format(auNumber, PNF.NATIONAL)); 767 '+61 1800 123 456', phoneUtil.format(auNumber, PNF.INTERNATIONAL)); 768 assertEquals('+611800123456', phoneUtil.format(auNumber, PNF.E164));
|