D | AsYouTypeFormatterTest.java | 30 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.ZZ); in testInvalidRegion() local 31 assertEquals("+", formatter.inputDigit('+')); in testInvalidRegion() 32 assertEquals("+4", formatter.inputDigit('4')); in testInvalidRegion() 33 assertEquals("+48 ", formatter.inputDigit('8')); in testInvalidRegion() 34 assertEquals("+48 8", formatter.inputDigit('8')); in testInvalidRegion() 35 assertEquals("+48 88", formatter.inputDigit('8')); in testInvalidRegion() 36 assertEquals("+48 88 1", formatter.inputDigit('1')); in testInvalidRegion() 37 assertEquals("+48 88 12", formatter.inputDigit('2')); in testInvalidRegion() 38 assertEquals("+48 88 123", formatter.inputDigit('3')); in testInvalidRegion() 39 assertEquals("+48 88 123 1", formatter.inputDigit('1')); in testInvalidRegion() [all …]
|