Home
last modified time | relevance | path

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

/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java692 PhoneNumber arNumber = new PhoneNumber(); in testFormatWithPreferredCarrierCode() local
693 arNumber.setCountryCode(54).setNationalNumber(91234125678L); in testFormatWithPreferredCarrierCode()
696 phoneUtil.formatNationalNumberWithPreferredCarrierCode(arNumber, "15")); in testFormatWithPreferredCarrierCode()
698 phoneUtil.formatNationalNumberWithPreferredCarrierCode(arNumber, "")); in testFormatWithPreferredCarrierCode()
700 arNumber.setPreferredDomesticCarrierCode("19"); in testFormatWithPreferredCarrierCode()
701 assertEquals("01234 12-5678", phoneUtil.format(arNumber, PhoneNumberFormat.NATIONAL)); in testFormatWithPreferredCarrierCode()
703 phoneUtil.formatNationalNumberWithPreferredCarrierCode(arNumber, "15")); in testFormatWithPreferredCarrierCode()
705 phoneUtil.formatNationalNumberWithPreferredCarrierCode(arNumber, "")); in testFormatWithPreferredCarrierCode()
708 arNumber.setPreferredDomesticCarrierCode(""); in testFormatWithPreferredCarrierCode()
710 phoneUtil.formatNationalNumberWithPreferredCarrierCode(arNumber, "15")); in testFormatWithPreferredCarrierCode()
[all …]