Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIAPITest.java63 RuleBasedBreakIterator bi2clone = (RuleBasedBreakIterator) bi2.clone(); in TestCloneEquals() local
70 if (bi2clone.equals(bi1) in TestCloneEquals()
71 || bi2clone.equals(biequal) in TestCloneEquals()
72 || bi2clone.equals(bi3) in TestCloneEquals()
73 || !bi2clone.equals(bi2)) in TestCloneEquals()
77 || !bi2clone.getText().equals(bi2.getText()) in TestCloneEquals()
78 || bi2clone.equals(bi1clone)) in TestCloneEquals()
112 RuleBasedBreakIterator bi2clone = (RuleBasedBreakIterator) bi2.clone(); in TestHashCode() local
116 || bi2.hashCode() != bi2clone.hashCode()) in TestHashCode()
121 || bi1clone.hashCode() == bi2clone.hashCode() in TestHashCode()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBIAPITest.java66 RuleBasedBreakIterator bi2clone = (RuleBasedBreakIterator) bi2.clone(); in TestCloneEquals() local
73 if (bi2clone.equals(bi1) in TestCloneEquals()
74 || bi2clone.equals(biequal) in TestCloneEquals()
75 || bi2clone.equals(bi3) in TestCloneEquals()
76 || !bi2clone.equals(bi2)) in TestCloneEquals()
80 || !bi2clone.getText().equals(bi2.getText()) in TestCloneEquals()
81 || bi2clone.equals(bi1clone)) in TestCloneEquals()
115 RuleBasedBreakIterator bi2clone = (RuleBasedBreakIterator) bi2.clone(); in TestHashCode() local
119 || bi2.hashCode() != bi2clone.hashCode()) in TestHashCode()
124 || bi1clone.hashCode() == bi2clone.hashCode() in TestHashCode()
/external/icu/icu4c/source/test/intltest/
Drbbiapts.cpp130 RuleBasedBreakIterator* bi2clone = dynamic_cast<RuleBasedBreakIterator *>(bi2->clone()); in TestCloneEquals() local
136 if(*bi2clone == *bi1 || *bi2clone == *biequal || in TestCloneEquals()
137 *bi2clone == *bi3 || *bi2clone != *bi2) in TestCloneEquals()
141 bi2clone->getText() != bi2->getText() || in TestCloneEquals()
142 *bi2clone == *bi1clone ) in TestCloneEquals()
146 delete bi2clone; in TestCloneEquals()
236 RuleBasedBreakIterator* bi2clone= (RuleBasedBreakIterator*)bi2->clone(); in TestHashCode() local
239 bi1clone->hashCode() != bi3->hashCode() || bi2->hashCode() != bi2clone->hashCode()) in TestHashCode()
243 bi1clone->hashCode() == bi2clone->hashCode() || bi1clone->hashCode() == bi2->hashCode()) in TestHashCode()
247 delete bi2clone; in TestHashCode()