Searched refs:SAMPLE_STRING (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | string_segment_test.cpp | 22 static const char16_t* SAMPLE_STRING = u" radio "; variable 39 UnicodeString sampleString(SAMPLE_STRING); in testOffset() 52 UnicodeString sampleString(SAMPLE_STRING); in testLength() 67 UnicodeString sampleString(SAMPLE_STRING); in testCharAt() 69 assertEquals("Initial", SAMPLE_STRING, segment.toUnicodeString()); in testCharAt() 70 assertEquals("Initial", SAMPLE_STRING, segment.toTempUnicodeString()); in testCharAt() 81 UnicodeString sampleString(SAMPLE_STRING); in testGetCodePoint() 95 UnicodeString sampleString(SAMPLE_STRING); in testCommonPrefixLength() 97 assertEquals("", 11, segment.getCommonPrefixLength(SAMPLE_STRING)); in testCommonPrefixLength()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/impl/ |
D | StringSegmentTest.java | 19 static final String SAMPLE_STRING = " radio "; field in StringSegmentTest 23 StringSegment segment = new StringSegment(SAMPLE_STRING, false); in testOffset() 37 StringSegment segment = new StringSegment(SAMPLE_STRING, false); in testLength() 51 StringSegment segment = new StringSegment(SAMPLE_STRING, false); in testCharAt() 52 assertCharSequenceEquals(SAMPLE_STRING, segment); in testCharAt() 61 StringSegment segment = new StringSegment(SAMPLE_STRING, false); in testGetCodePoint() 74 StringSegment segment = new StringSegment(SAMPLE_STRING, true); in testCommonPrefixLength() 75 assertEquals(11, segment.getCommonPrefixLength(SAMPLE_STRING)); in testCommonPrefixLength()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/ |
D | StringSegmentTest.java | 16 static final String SAMPLE_STRING = " radio "; field in StringSegmentTest 20 StringSegment segment = new StringSegment(SAMPLE_STRING, false); in testOffset() 34 StringSegment segment = new StringSegment(SAMPLE_STRING, false); in testLength() 48 StringSegment segment = new StringSegment(SAMPLE_STRING, false); in testCharAt() 49 assertCharSequenceEquals(SAMPLE_STRING, segment); in testCharAt() 58 StringSegment segment = new StringSegment(SAMPLE_STRING, false); in testGetCodePoint() 71 StringSegment segment = new StringSegment(SAMPLE_STRING, true); in testCommonPrefixLength() 72 assertEquals(11, segment.getCommonPrefixLength(SAMPLE_STRING)); in testCommonPrefixLength()
|