Searched refs:deNumber (Results 1 – 1 of 1) sorted by relevance
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtilTest.java | 439 PhoneNumber deNumber = new PhoneNumber(); in testFormatDENumber() local 440 deNumber.setCountryCode(49).setNationalNumber(301234L); in testFormatDENumber() 441 assertEquals("030/1234", phoneUtil.format(deNumber, PhoneNumberFormat.NATIONAL)); in testFormatDENumber() 442 assertEquals("+49 30/1234", phoneUtil.format(deNumber, PhoneNumberFormat.INTERNATIONAL)); in testFormatDENumber() 443 assertEquals("tel:+49-30-1234", phoneUtil.format(deNumber, PhoneNumberFormat.RFC3966)); in testFormatDENumber() 445 deNumber.clear(); in testFormatDENumber() 446 deNumber.setCountryCode(49).setNationalNumber(291123L); in testFormatDENumber() 447 assertEquals("0291 123", phoneUtil.format(deNumber, PhoneNumberFormat.NATIONAL)); in testFormatDENumber() 448 assertEquals("+49 291 123", phoneUtil.format(deNumber, PhoneNumberFormat.INTERNATIONAL)); in testFormatDENumber() 450 deNumber.clear(); in testFormatDENumber() [all …]
|