Searched refs:invalidNumber (Results 1 – 5 of 5) sorted by relevance
1755 var invalidNumber = new i18n.phonenumbers.PhoneNumber();1757 invalidNumber.setCountryCode(3923);1758 invalidNumber.setNationalNumber(2366);1759 assertFalse(phoneUtil.isValidNumberForRegion(invalidNumber, RegionCode.ZZ));1761 phoneUtil.isValidNumberForRegion(invalidNumber, RegionCode.UN001));1762 invalidNumber.setCountryCode(0);1764 phoneUtil.isValidNumberForRegion(invalidNumber, RegionCode.UN001));1765 assertFalse(phoneUtil.isValidNumberForRegion(invalidNumber, RegionCode.ZZ));1772 var invalidNumber = new i18n.phonenumbers.PhoneNumber();1773 invalidNumber.setCountryCode(39);[all …]
186 var invalidNumber = new i18n.phonenumbers.PhoneNumber();187 invalidNumber.setCountryCode(33);188 invalidNumber.setNationalNumber(116123);189 assertFalse(shortInfo.isValidShortNumber(invalidNumber));192 shortInfo.getExpectedCost(invalidNumber));
1258 PhoneNumber invalidNumber = new PhoneNumber(); in testIsValidForRegion() local1260 invalidNumber.setCountryCode(3923).setNationalNumber(2366L); in testIsValidForRegion()1261 assertFalse(phoneUtil.isValidNumberForRegion(invalidNumber, RegionCode.ZZ)); in testIsValidForRegion()1262 assertFalse(phoneUtil.isValidNumberForRegion(invalidNumber, RegionCode.UN001)); in testIsValidForRegion()1263 invalidNumber.setCountryCode(0); in testIsValidForRegion()1264 assertFalse(phoneUtil.isValidNumberForRegion(invalidNumber, RegionCode.UN001)); in testIsValidForRegion()1265 assertFalse(phoneUtil.isValidNumberForRegion(invalidNumber, RegionCode.ZZ)); in testIsValidForRegion()1271 PhoneNumber invalidNumber = new PhoneNumber(); in testIsNotValidNumber() local1272 invalidNumber.setCountryCode(39).setNationalNumber(23661830000L).setItalianLeadingZero(true); in testIsNotValidNumber()1273 assertFalse(phoneUtil.isValidNumber(invalidNumber)); in testIsNotValidNumber()[all …]
129 PhoneNumber invalidNumber = new PhoneNumber(); in testGetExpectedCost() local130 invalidNumber.setCountryCode(33).setNationalNumber(116123L); in testGetExpectedCost()131 assertFalse(shortInfo.isValidShortNumber(invalidNumber)); in testGetExpectedCost()133 shortInfo.getExpectedCost(invalidNumber)); in testGetExpectedCost()
170 String invalidNumber = "1234567"; in standardMigration_invalidNumberNoRecipe_expectNoMigration() local171 MigrationJob job = MigrationFactory.createMigration(invalidNumber, COUNTRY_CODE); in standardMigration_invalidNumberNoRecipe_expectNoMigration()176 .containsExactly(invalidNumber); in standardMigration_invalidNumberNoRecipe_expectNoMigration()