Home
last modified time | relevance | path

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

/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonenumberutil_test.js2331 var validNumber = new i18n.phonenumbers.PhoneNumber();
2332 validNumber.setCountryCode(44);
2333 validNumber.setNationalNumber(8012345678);
2335 assertTrue(validNumber.equals(tooLongNumber));
2342 validNumber = new i18n.phonenumbers.PhoneNumber();
2343 validNumber.setCountryCode(39);
2344 validNumber.setNationalNumber(2234567890);
2345 validNumber.setItalianLeadingZero(true);
2347 assertTrue(validNumber.equals(tooLongNumber));
2360 var validNumberCopy = validNumber.clone();
[all …]
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java1736 PhoneNumber validNumber = new PhoneNumber(); in testTruncateTooLongNumber() local
1737 validNumber.setCountryCode(44).setNationalNumber(8012345678L); in testTruncateTooLongNumber()
1739 assertEquals(validNumber, tooLongNumber); in testTruncateTooLongNumber()
1744 validNumber.clear(); in testTruncateTooLongNumber()
1745 validNumber.setCountryCode(39).setNationalNumber(2234567890L).setItalianLeadingZero(true); in testTruncateTooLongNumber()
1747 assertEquals(validNumber, tooLongNumber); in testTruncateTooLongNumber()
1761 PhoneNumber validNumberCopy = new PhoneNumber().mergeFrom(validNumber); in testTruncateTooLongNumber()
1762 assertTrue(phoneUtil.truncateTooLongNumber(validNumber)); in testTruncateTooLongNumber()
1764 assertEquals(validNumberCopy, validNumber); in testTruncateTooLongNumber()