Searched refs:arNumber (Results 1 – 2 of 2) sorted by relevance
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
D | phonenumberutil_test.js | 1060 var arNumber = new i18n.phonenumbers.PhoneNumber(); 1061 arNumber.setCountryCode(54); 1062 arNumber.setNationalNumber(91234125678); 1066 phoneUtil.formatNationalNumberWithPreferredCarrierCode(arNumber, '15')); 1069 phoneUtil.formatNationalNumberWithPreferredCarrierCode(arNumber, '')); 1071 arNumber.setPreferredDomesticCarrierCode('19'); 1072 assertEquals('01234 12-5678', phoneUtil.format(arNumber, PNF.NATIONAL)); 1075 phoneUtil.formatNationalNumberWithPreferredCarrierCode(arNumber, '15')); 1078 phoneUtil.formatNationalNumberWithPreferredCarrierCode(arNumber, '')); 1081 arNumber.setPreferredDomesticCarrierCode(' '); [all …]
|
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtilTest.java | 778 PhoneNumber arNumber = new PhoneNumber(); in testFormatWithPreferredCarrierCode() local 779 arNumber.setCountryCode(54).setNationalNumber(91234125678L); in testFormatWithPreferredCarrierCode() 782 phoneUtil.formatNationalNumberWithPreferredCarrierCode(arNumber, "15")); in testFormatWithPreferredCarrierCode() 784 phoneUtil.formatNationalNumberWithPreferredCarrierCode(arNumber, "")); in testFormatWithPreferredCarrierCode() 786 arNumber.setPreferredDomesticCarrierCode("19"); in testFormatWithPreferredCarrierCode() 787 assertEquals("01234 12-5678", phoneUtil.format(arNumber, PhoneNumberFormat.NATIONAL)); in testFormatWithPreferredCarrierCode() 789 phoneUtil.formatNationalNumberWithPreferredCarrierCode(arNumber, "15")); in testFormatWithPreferredCarrierCode() 791 phoneUtil.formatNationalNumberWithPreferredCarrierCode(arNumber, "")); in testFormatWithPreferredCarrierCode() 794 arNumber.setPreferredDomesticCarrierCode(" "); in testFormatWithPreferredCarrierCode() 796 phoneUtil.formatNationalNumberWithPreferredCarrierCode(arNumber, "15")); in testFormatWithPreferredCarrierCode() [all …]
|