Home
last modified time | relevance | path

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

/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonenumberutil_test.js1667 var gbNumber = new i18n.phonenumbers.PhoneNumber();
1668 gbNumber.setCountryCode(44);
1669 gbNumber.setNationalNumber(8431231234);
1670 assertEquals(PNT.SHARED_COST, phoneUtil.getNumberType(gbNumber));
1676 var gbNumber = new i18n.phonenumbers.PhoneNumber();
1677 gbNumber.setCountryCode(44);
1678 gbNumber.setNationalNumber(5631231234);
1679 assertEquals(PNT.VOIP, phoneUtil.getNumberType(gbNumber));
1685 var gbNumber = new i18n.phonenumbers.PhoneNumber();
1686 gbNumber.setCountryCode(44);
[all …]
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java1190 PhoneNumber gbNumber = new PhoneNumber(); in testIsSharedCost() local
1191 gbNumber.setCountryCode(44).setNationalNumber(8431231234L); in testIsSharedCost()
1192 assertEquals(PhoneNumberType.SHARED_COST, phoneUtil.getNumberType(gbNumber)); in testIsSharedCost()
1196 PhoneNumber gbNumber = new PhoneNumber(); in testIsVoip() local
1197 gbNumber.setCountryCode(44).setNationalNumber(5631231234L); in testIsVoip()
1198 assertEquals(PhoneNumberType.VOIP, phoneUtil.getNumberType(gbNumber)); in testIsVoip()
1202 PhoneNumber gbNumber = new PhoneNumber(); in testIsPersonalNumber() local
1203 gbNumber.setCountryCode(44).setNationalNumber(7031231234L); in testIsPersonalNumber()
1204 assertEquals(PhoneNumberType.PERSONAL_NUMBER, phoneUtil.getNumberType(gbNumber)); in testIsPersonalNumber()