Home
last modified time | relevance | path

Searched refs:wordIter1 (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBIAPITest.java138 …RuleBasedBreakIterator wordIter1 = (RuleBasedBreakIterator) BreakIterator.getWordInstance(Locale.g… in TestGetSetText() local
142 wordIter1.setText(str1); in TestGetSetText()
143 if (!wordIter1.getText().equals(text1)) in TestGetSetText()
145 if (wordIter1.current() != 0) in TestGetSetText()
147 + wordIter1.current() + "\n"); in TestGetSetText()
148 wordIter1.next(2); in TestGetSetText()
149 wordIter1.setText(str2); in TestGetSetText()
150 if (wordIter1.current() != 0) in TestGetSetText()
152 + wordIter1.current() + "\n"); in TestGetSetText()
179 …RuleBasedBreakIterator wordIter1 = (RuleBasedBreakIterator) BreakIterator.getWordInstance(Locale.g… in TestFirstNextFollowing() local
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIAPITest.java135 …RuleBasedBreakIterator wordIter1 = (RuleBasedBreakIterator) BreakIterator.getWordInstance(Locale.g… in TestGetSetText() local
139 wordIter1.setText(str1); in TestGetSetText()
140 if (!wordIter1.getText().equals(text1)) in TestGetSetText()
142 if (wordIter1.current() != 0) in TestGetSetText()
144 + wordIter1.current() + "\n"); in TestGetSetText()
145 wordIter1.next(2); in TestGetSetText()
146 wordIter1.setText(str2); in TestGetSetText()
147 if (wordIter1.current() != 0) in TestGetSetText()
149 + wordIter1.current() + "\n"); in TestGetSetText()
176 …RuleBasedBreakIterator wordIter1 = (RuleBasedBreakIterator) BreakIterator.getWordInstance(Locale.g… in TestFirstNextFollowing() local
[all …]
/external/icu/icu4c/source/test/intltest/
Drbbiapts.cpp266 …LocalPointer<RuleBasedBreakIterator> wordIter1((RuleBasedBreakIterator*)RuleBasedBreakIterator::cr… in TestGetSetAdoptText() local
278 wordIter1->setText(str1); in TestGetSetAdoptText()
279 CharacterIterator *tci = &wordIter1->getText(); in TestGetSetAdoptText()
283 if(wordIter1->current() != 0) in TestGetSetAdoptText()
284 …d not set the iteration position to the beginning of the text, it is" + wordIter1->current() + (Un… in TestGetSetAdoptText()
286 wordIter1->next(2); in TestGetSetAdoptText()
288 wordIter1->setText(str2); in TestGetSetAdoptText()
289 if(wordIter1->current() != 0) in TestGetSetAdoptText()
290 …not reset the iteration position to the beginning of the text, it is" + wordIter1->current() + (Un… in TestGetSetAdoptText()
294 TEST_ASSERT(wordIter1->getText() != charIter1->getText()); in TestGetSetAdoptText()
[all …]