Lines Matching refs:ct1
118 …CompoundTransliterator *ct1=new CompoundTransliterator("Greek-Latin;Latin-Devanagari",parseError,… in TestCloneEqual() local
121 delete ct1; in TestCloneEqual()
127 delete ct1; in TestCloneEqual()
131 CompoundTransliterator *copyct1=new CompoundTransliterator(*ct1); in TestCloneEqual()
144 if(copyct1->getID() != ct1->getID() || copyct2->getID() != ct2->getID() || in TestCloneEqual()
145 copyct1->getCount() != ct1->getCount() || copyct2->getCount() != ct2->getCount() || in TestCloneEqual()
146 copyct2->getID() == ct1->getID() || copyct1->getID() == ct2->getID() || in TestCloneEqual()
147 copyct2->getCount() == ct1->getCount() || copyct1->getCount() == ct2->getCount() ){ in TestCloneEqual()
151 if(equalct1.getID() != ct1->getID() || equalct2.getID() != ct2->getID() || in TestCloneEqual()
153 equalct1.getCount() != ct1->getCount() || equalct2.getCount() != ct2->getCount() || in TestCloneEqual()
154 copyct2->getID() == ct1->getID() || copyct1->getID() == ct2->getID() || in TestCloneEqual()
156 equalct2.getCount() == ct1->getCount() || equalct1.getCount() == ct2->getCount() ) { in TestCloneEqual()
160 CompoundTransliterator *clonect1a=(CompoundTransliterator*)ct1->clone(); in TestCloneEqual()
166 … if(clonect1a->getID() != ct1->getID() || clonect1a->getCount() != ct1->getCount() || in TestCloneEqual()
178 delete ct1; in TestCloneEqual()
193 …CompoundTransliterator *ct1=new CompoundTransliterator("Halfwidth-Fullwidth;Fullwidth-Halfwidth", … in TestGetCount() local
195 CompoundTransliterator *ct3=(CompoundTransliterator*)ct1; in TestGetCount()
207 if(ct1->getCount() == ct2->getCount() || ct1->getCount() != ct3->getCount() || in TestGetCount()
209 ct4->getCount() != ct5->getCount() || ct4->getCount() == ct1->getCount() || in TestGetCount()
218 retUS = &ct1->getTargetSet(ts); in TestGetCount()
226 retUS = &ct1->getSourceSet(ss); in TestGetCount()
231 delete ct1; in TestGetCount()
242 CompoundTransliterator *ct1=new CompoundTransliterator(ID, parseError, status); in TestGetSetAdoptTransliterator() local
247 int32_t count=ct1->getCount(); in TestGetSetAdoptTransliterator()
251 UnicodeString child= ct1->getTransliterator(i).getID(); in TestGetSetAdoptTransliterator()
276 ct1->setTransliterators(transarray, count); in TestGetSetAdoptTransliterator()
277 if(ct1->getCount() != count || ct1->getID() != ID2){ in TestGetSetAdoptTransliterator()
278 …iterators() failed.\n\t Count:- expected->" + count + (UnicodeString)". got->" + ct1->getCount() + in TestGetSetAdoptTransliterator()
279 … (UnicodeString)"\n\tID :- expected->" + ID2 + (UnicodeString)". got->" + ct1->getID()); in TestGetSetAdoptTransliterator()
301 ct1->adoptTransliterators(transarray2, 1); in TestGetSetAdoptTransliterator()
303 if(ct1->getCount() != 1 || ct1->getID() != ID3){ in TestGetSetAdoptTransliterator()
304 …tTransliterators() failed.\n\t Count:- expected->1" + (UnicodeString)". got->" + ct1->getCount() + in TestGetSetAdoptTransliterator()
305 … (UnicodeString)"\n\tID :- expected->" + ID3 + (UnicodeString)". got->" + ct1->getID()); in TestGetSetAdoptTransliterator()
310 delete ct1; in TestGetSetAdoptTransliterator()
348 CompoundTransliterator *ct1=new CompoundTransliterator("Any-Hex;Hex-Any",parseError, status); in TestTransliterate() local
356 expect(*ct1, s, s); in TestTransliterate()
360 ct1->handleTransliterate(rsource2, index, FALSE); in TestTransliterate()
361 …expectAux(ct1->getID() + ":String, index(0,0,0), incremental=FALSE", rsource2 + "->" + rsource2, r… in TestTransliterate()
365 ct1->handleTransliterate(rsource3, index, TRUE); in TestTransliterate()
366 …expectAux(ct1->getID() + ":String, index(1,2,3), incremental=TRUE", rsource3 + "->" + rsource3, rs… in TestTransliterate()
369 delete ct1; in TestTransliterate()