Searched refs:mxNumber (Results 1 – 2 of 2) sorted by relevance
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
D | phonenumberutil_test.js | 3048 var mxNumber = new i18n.phonenumbers.PhoneNumber(); 3049 mxNumber.setCountryCode(52); 3050 mxNumber.setNationalNumber(4499780001); 3052 mxNumber.equals(phoneUtil.parse('+52 (449)978-0001', RegionCode.MX))); 3054 mxNumber.equals(phoneUtil.parse('01 (449)978-0001', RegionCode.MX))); 3055 assertTrue(mxNumber.equals(phoneUtil.parse('(449)978-0001', RegionCode.MX))); 3058 mxNumber = new i18n.phonenumbers.PhoneNumber(); 3059 mxNumber.setCountryCode(52); 3060 mxNumber.setNationalNumber(13312345678); 3062 mxNumber.equals(phoneUtil.parse('+52 1 33 1234-5678', RegionCode.MX))); [all …]
|
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtilTest.java | 2292 PhoneNumber mxNumber = new PhoneNumber(); in testParseNumbersMexico() local 2293 mxNumber.setCountryCode(52).setNationalNumber(4499780001L); in testParseNumbersMexico() 2294 assertEquals(mxNumber, phoneUtil.parse("+52 (449)978-0001", RegionCode.MX)); in testParseNumbersMexico() 2295 assertEquals(mxNumber, phoneUtil.parse("01 (449)978-0001", RegionCode.MX)); in testParseNumbersMexico() 2296 assertEquals(mxNumber, phoneUtil.parse("(449)978-0001", RegionCode.MX)); in testParseNumbersMexico() 2299 mxNumber.clear(); in testParseNumbersMexico() 2300 mxNumber.setCountryCode(52).setNationalNumber(13312345678L); in testParseNumbersMexico() 2301 assertEquals(mxNumber, phoneUtil.parse("+52 1 33 1234-5678", RegionCode.MX)); in testParseNumbersMexico() 2302 assertEquals(mxNumber, phoneUtil.parse("044 (33) 1234-5678", RegionCode.MX)); in testParseNumbersMexico() 2303 assertEquals(mxNumber, phoneUtil.parse("045 33 1234-5678", RegionCode.MX)); in testParseNumbersMexico()
|