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.java726 PhoneNumber arNumber = new PhoneNumber(); in testFormatWithPreferredCarrierCode() local
727 arNumber.setCountryCode(54).setNationalNumber(91234125678L); in testFormatWithPreferredCarrierCode()
730 phoneUtil.formatNationalNumberWithPreferredCarrierCode(arNumber, "15")); in testFormatWithPreferredCarrierCode()
732 phoneUtil.formatNationalNumberWithPreferredCarrierCode(arNumber, "")); in testFormatWithPreferredCarrierCode()
734 arNumber.setPreferredDomesticCarrierCode("19"); in testFormatWithPreferredCarrierCode()
735 assertEquals("01234 12-5678", phoneUtil.format(arNumber, PhoneNumberFormat.NATIONAL)); in testFormatWithPreferredCarrierCode()
737 phoneUtil.formatNationalNumberWithPreferredCarrierCode(arNumber, "15")); in testFormatWithPreferredCarrierCode()
739 phoneUtil.formatNationalNumberWithPreferredCarrierCode(arNumber, "")); in testFormatWithPreferredCarrierCode()
742 arNumber.setPreferredDomesticCarrierCode(" "); in testFormatWithPreferredCarrierCode()
744 phoneUtil.formatNationalNumberWithPreferredCarrierCode(arNumber, "15")); in testFormatWithPreferredCarrierCode()
[all …]