Home
last modified time | relevance | path

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

/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonenumberutil_test.js119 var IT_MOBILE = new i18n.phonenumbers.PhoneNumber(); variable
120 IT_MOBILE.setCountryCode(39);
121 IT_MOBILE.setNationalNumber(345678901);
523 assertEquals('345678901', phoneUtil.getNationalSignificantNumber(IT_MOBILE));
748 assertEquals('345 678 901', phoneUtil.format(IT_MOBILE, PNF.NATIONAL));
750 '+39 345 678 901', phoneUtil.format(IT_MOBILE, PNF.INTERNATIONAL));
751 assertEquals('+39345678901', phoneUtil.format(IT_MOBILE, PNF.E164));
1633 assertEquals(PNT.MOBILE, phoneUtil.getNumberType(IT_MOBILE));
2980 assertTrue(IT_MOBILE.equals(phoneUtil.parse('345 678 901', RegionCode.IT)));
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java73 private static final PhoneNumber IT_MOBILE = field in PhoneNumberUtilTest
378 assertEquals("345678901", phoneUtil.getNationalSignificantNumber(IT_MOBILE)); in testGetNationalSignificantNumber()
561 assertEquals("345 678 901", phoneUtil.format(IT_MOBILE, PhoneNumberFormat.NATIONAL)); in testFormatITNumber()
562 assertEquals("+39 345 678 901", phoneUtil.format(IT_MOBILE, PhoneNumberFormat.INTERNATIONAL)); in testFormatITNumber()
563 assertEquals("+39345678901", phoneUtil.format(IT_MOBILE, PhoneNumberFormat.E164)); in testFormatITNumber()
1165 assertEquals(PhoneNumberType.MOBILE, phoneUtil.getNumberType(IT_MOBILE)); in testIsMobile()
2244 assertEquals(IT_MOBILE, phoneUtil.parse("345 678 901", RegionCode.IT)); in testParseWithLeadingZero()