Home
last modified time | relevance | path

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

/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dshortnumberinfo_test.js132 var premiumRateNumber = new i18n.phonenumbers.PhoneNumber();
133 premiumRateNumber.setCountryCode(33);
134 premiumRateNumber.setNationalNumber(parseInt(premiumRateExample, 10));
137 shortInfo.getExpectedCost(premiumRateNumber));
Dphonenumberutil_test.js1579 var premiumRateNumber = new i18n.phonenumbers.PhoneNumber();
1580 premiumRateNumber.setCountryCode(39);
1581 premiumRateNumber.setNationalNumber(892123);
1582 assertEquals(PNT.PREMIUM_RATE, phoneUtil.getNumberType(premiumRateNumber));
1584 premiumRateNumber = new i18n.phonenumbers.PhoneNumber();
1585 premiumRateNumber.setCountryCode(44);
1586 premiumRateNumber.setNationalNumber(9187654321);
1587 assertEquals(PNT.PREMIUM_RATE, phoneUtil.getNumberType(premiumRateNumber));
1589 premiumRateNumber = new i18n.phonenumbers.PhoneNumber();
1590 premiumRateNumber.setCountryCode(49);
[all …]
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DShortNumberInfoTest.java94 PhoneNumber premiumRateNumber = new PhoneNumber(); in testGetExpectedCost() local
95 premiumRateNumber.setCountryCode(33).setNationalNumber(Integer.parseInt(premiumRateExample)); in testGetExpectedCost()
97 shortInfo.getExpectedCost(premiumRateNumber)); in testGetExpectedCost()
DPhoneNumberUtilTest.java1122 PhoneNumber premiumRateNumber = new PhoneNumber(); in testIsPremiumRate() local
1123 premiumRateNumber.setCountryCode(39).setNationalNumber(892123L); in testIsPremiumRate()
1124 assertEquals(PhoneNumberType.PREMIUM_RATE, phoneUtil.getNumberType(premiumRateNumber)); in testIsPremiumRate()
1126 premiumRateNumber.clear(); in testIsPremiumRate()
1127 premiumRateNumber.setCountryCode(44).setNationalNumber(9187654321L); in testIsPremiumRate()
1128 assertEquals(PhoneNumberType.PREMIUM_RATE, phoneUtil.getNumberType(premiumRateNumber)); in testIsPremiumRate()
1130 premiumRateNumber.clear(); in testIsPremiumRate()
1131 premiumRateNumber.setCountryCode(49).setNationalNumber(9001654321L); in testIsPremiumRate()
1132 assertEquals(PhoneNumberType.PREMIUM_RATE, phoneUtil.getNumberType(premiumRateNumber)); in testIsPremiumRate()
1134 premiumRateNumber.clear(); in testIsPremiumRate()
[all …]