Home
last modified time | relevance | path

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

/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java489 PhoneNumber auNumber = new PhoneNumber().setCountryCode(61).setNationalNumber(1800123456L); in testFormatAUNumber() local
490 assertEquals("1800 123 456", phoneUtil.format(auNumber, PhoneNumberFormat.NATIONAL)); in testFormatAUNumber()
491 assertEquals("+61 1800 123 456", phoneUtil.format(auNumber, PhoneNumberFormat.INTERNATIONAL)); in testFormatAUNumber()
492 assertEquals("+611800123456", phoneUtil.format(auNumber, PhoneNumberFormat.E164)); in testFormatAUNumber()
824 PhoneNumber auNumber = new PhoneNumber().setCountryCode(61).setNationalNumber(0L) in testFormatNumberForMobileDialing() local
826 assertEquals("000", phoneUtil.formatNumberForMobileDialing(auNumber, RegionCode.AU, false)); in testFormatNumberForMobileDialing()
827 assertEquals("", phoneUtil.formatNumberForMobileDialing(auNumber, RegionCode.NZ, false)); in testFormatNumberForMobileDialing()