Home
last modified time | relevance | path

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

/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonenumberutil_test.js157 var MX_NUMBER2 = new i18n.phonenumbers.PhoneNumber(); variable
158 MX_NUMBER2.setCountryCode(52);
159 MX_NUMBER2.setNationalNumber(8211234567);
801 assertEquals('01 821 123 4567', phoneUtil.format(MX_NUMBER2, PNF.NATIONAL));
803 '+52 821 123 4567', phoneUtil.format(MX_NUMBER2, PNF.INTERNATIONAL));
804 assertEquals('+528211234567', phoneUtil.format(MX_NUMBER2, PNF.E164));
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java87 private static final PhoneNumber MX_NUMBER2 = field in PhoneNumberUtilTest
603 assertEquals("01 821 123 4567", phoneUtil.format(MX_NUMBER2, PhoneNumberFormat.NATIONAL)); in testFormatMXNumber()
604 assertEquals("+52 821 123 4567", phoneUtil.format(MX_NUMBER2, PhoneNumberFormat.INTERNATIONAL)); in testFormatMXNumber()
605 assertEquals("+528211234567", phoneUtil.format(MX_NUMBER2, PhoneNumberFormat.E164)); in testFormatMXNumber()