Searched refs:adNumber (Results 1 – 2 of 2) sorted by relevance
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
D | phonenumberutil_test.js | 3794 var adNumber = new i18n.phonenumbers.PhoneNumber(); 3795 adNumber.setCountryCode(376); 3796 adNumber.setNationalNumber(12345); 3797 assertEquals('+376 12345', phoneUtil.format(adNumber, PNF.INTERNATIONAL)); 3798 assertEquals('+37612345', phoneUtil.format(adNumber, PNF.E164)); 3799 assertEquals('12345', phoneUtil.format(adNumber, PNF.NATIONAL)); 3800 assertEquals(PNT.UNKNOWN, phoneUtil.getNumberType(adNumber)); 3801 assertFalse(phoneUtil.isValidNumber(adNumber));
|
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtilTest.java | 2896 PhoneNumber adNumber = new PhoneNumber(); in testCountryWithNoNumberDesc() local 2897 adNumber.setCountryCode(376).setNationalNumber(12345L); in testCountryWithNoNumberDesc() 2898 assertEquals("+376 12345", phoneUtil.format(adNumber, PhoneNumberFormat.INTERNATIONAL)); in testCountryWithNoNumberDesc() 2899 assertEquals("+37612345", phoneUtil.format(adNumber, PhoneNumberFormat.E164)); in testCountryWithNoNumberDesc() 2900 assertEquals("12345", phoneUtil.format(adNumber, PhoneNumberFormat.NATIONAL)); in testCountryWithNoNumberDesc() 2901 assertEquals(PhoneNumberType.UNKNOWN, phoneUtil.getNumberType(adNumber)); in testCountryWithNoNumberDesc() 2902 assertFalse(phoneUtil.isValidNumber(adNumber)); in testCountryWithNoNumberDesc()
|