Lines Matching refs:getCommonPrefixLength
76 assertEquals("", 11, segment.getCommonPrefixLength(SAMPLE_STRING)); in testCommonPrefixLength()
77 assertEquals("", 4, segment.getCommonPrefixLength(u" r")); in testCommonPrefixLength()
78 assertEquals("", 3, segment.getCommonPrefixLength(u" x")); in testCommonPrefixLength()
79 assertEquals("", 0, segment.getCommonPrefixLength(u"x")); in testCommonPrefixLength()
81 assertEquals("", 0, segment.getCommonPrefixLength(u"RADiO")); in testCommonPrefixLength()
82 assertEquals("", 5, segment.getCommonPrefixLength(u"radio")); in testCommonPrefixLength()
83 assertEquals("", 2, segment.getCommonPrefixLength(u"rafio")); in testCommonPrefixLength()
84 assertEquals("", 0, segment.getCommonPrefixLength(u"fadio")); in testCommonPrefixLength()
86 assertEquals("", 3, segment.getCommonPrefixLength(u"radio")); in testCommonPrefixLength()
87 assertEquals("", 2, segment.getCommonPrefixLength(u"rafio")); in testCommonPrefixLength()
88 assertEquals("", 0, segment.getCommonPrefixLength(u"fadio")); in testCommonPrefixLength()
91 assertEquals("", 0, segment.getCommonPrefixLength(u"foo")); in testCommonPrefixLength()