Home
last modified time | relevance | path

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

/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/
DRangeTableTest.java88 Assignment<ValidNumberType> fixedLine = Assignment.of(TYPE, FIXED_LINE); in testBasicAssign() local
91 table.assign(fixedLine, ranges("14xxxx"), OverwriteMode.ALWAYS); in testBasicAssign()
96 table.assign(fixedLine, ranges("1[34]xxxx"), OverwriteMode.SAME); in testBasicAssign()
102 () -> table.assign(fixedLine, ranges("1[23]xxxx"), OverwriteMode.SAME)); in testBasicAssign()
105 table.assign(fixedLine, ranges("15xxxx"), OverwriteMode.NEVER); in testBasicAssign()
111 () -> table.assign(fixedLine, ranges("15xxxx"), OverwriteMode.NEVER)); in testBasicAssign()
/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/
DBuildMetadataFromXmlTest.java779 PhoneNumberDesc.Builder fixedLine; in testProcessPhoneNumberDescElement_PossibleLengthsSetCorrectly() local
782 fixedLine = BuildMetadataFromXml.processPhoneNumberDescElement( in testProcessPhoneNumberDescElement_PossibleLengthsSetCorrectly()
787 assertEquals(2, fixedLine.getPossibleLengthCount()); in testProcessPhoneNumberDescElement_PossibleLengthsSetCorrectly()
788 assertEquals(4, fixedLine.getPossibleLength(0)); in testProcessPhoneNumberDescElement_PossibleLengthsSetCorrectly()
789 assertEquals(13, fixedLine.getPossibleLength(1)); in testProcessPhoneNumberDescElement_PossibleLengthsSetCorrectly()
790 assertEquals(1, fixedLine.getPossibleLengthLocalOnlyCount()); in testProcessPhoneNumberDescElement_PossibleLengthsSetCorrectly()