Lines Matching refs:ct1
120 …CompoundTransliterator *ct1=new CompoundTransliterator("Greek-Latin;Latin-Devanagari",parseError,… in TestCloneEqual() local
123 delete ct1; in TestCloneEqual()
129 delete ct1; in TestCloneEqual()
133 CompoundTransliterator *copyct1=new CompoundTransliterator(*ct1); in TestCloneEqual()
146 if(copyct1->getID() != ct1->getID() || copyct2->getID() != ct2->getID() || in TestCloneEqual()
147 copyct1->getCount() != ct1->getCount() || copyct2->getCount() != ct2->getCount() || in TestCloneEqual()
148 copyct2->getID() == ct1->getID() || copyct1->getID() == ct2->getID() || in TestCloneEqual()
149 copyct2->getCount() == ct1->getCount() || copyct1->getCount() == ct2->getCount() ){ in TestCloneEqual()
153 if(equalct1.getID() != ct1->getID() || equalct2.getID() != ct2->getID() || in TestCloneEqual()
155 equalct1.getCount() != ct1->getCount() || equalct2.getCount() != ct2->getCount() || in TestCloneEqual()
156 copyct2->getID() == ct1->getID() || copyct1->getID() == ct2->getID() || in TestCloneEqual()
158 equalct2.getCount() == ct1->getCount() || equalct1.getCount() == ct2->getCount() ) { in TestCloneEqual()
162 CompoundTransliterator *clonect1a=(CompoundTransliterator*)ct1->clone(); in TestCloneEqual()
168 … if(clonect1a->getID() != ct1->getID() || clonect1a->getCount() != ct1->getCount() || in TestCloneEqual()
180 delete ct1; in TestCloneEqual()
195 …CompoundTransliterator *ct1=new CompoundTransliterator("Halfwidth-Fullwidth;Fullwidth-Halfwidth", … in TestGetCount() local
197 CompoundTransliterator *ct3=(CompoundTransliterator*)ct1; in TestGetCount()
209 if(ct1->getCount() == ct2->getCount() || ct1->getCount() != ct3->getCount() || in TestGetCount()
211 ct4->getCount() != ct5->getCount() || ct4->getCount() == ct1->getCount() || in TestGetCount()
220 retUS = &ct1->getTargetSet(ts); in TestGetCount()
228 retUS = &ct1->getSourceSet(ss); in TestGetCount()
233 delete ct1; in TestGetCount()
244 CompoundTransliterator *ct1=new CompoundTransliterator(ID, parseError, status); in TestGetSetAdoptTransliterator() local
249 int32_t count=ct1->getCount(); in TestGetSetAdoptTransliterator()
253 UnicodeString child= ct1->getTransliterator(i).getID(); in TestGetSetAdoptTransliterator()
278 ct1->setTransliterators(transarray, count); in TestGetSetAdoptTransliterator()
279 if(ct1->getCount() != count || ct1->getID() != ID2){ in TestGetSetAdoptTransliterator()
280 …iterators() failed.\n\t Count:- expected->" + count + (UnicodeString)". got->" + ct1->getCount() + in TestGetSetAdoptTransliterator()
281 … (UnicodeString)"\n\tID :- expected->" + ID2 + (UnicodeString)". got->" + ct1->getID()); in TestGetSetAdoptTransliterator()
303 ct1->adoptTransliterators(transarray2, 1); in TestGetSetAdoptTransliterator()
305 if(ct1->getCount() != 1 || ct1->getID() != ID3){ in TestGetSetAdoptTransliterator()
306 …tTransliterators() failed.\n\t Count:- expected->1" + (UnicodeString)". got->" + ct1->getCount() + in TestGetSetAdoptTransliterator()
307 … (UnicodeString)"\n\tID :- expected->" + ID3 + (UnicodeString)". got->" + ct1->getID()); in TestGetSetAdoptTransliterator()
312 delete ct1; in TestGetSetAdoptTransliterator()
350 CompoundTransliterator *ct1=new CompoundTransliterator("Any-Hex;Hex-Any",parseError, status); in TestTransliterate() local
358 expect(*ct1, s, s); in TestTransliterate()
362 ct1->handleTransliterate(rsource2, index, FALSE); in TestTransliterate()
363 …expectAux(ct1->getID() + ":String, index(0,0,0), incremental=FALSE", rsource2 + "->" + rsource2, r… in TestTransliterate()
367 ct1->handleTransliterate(rsource3, index, TRUE); in TestTransliterate()
368 …expectAux(ct1->getID() + ":String, index(1,2,3), incremental=TRUE", rsource3 + "->" + rsource3, rs… in TestTransliterate()
371 delete ct1; in TestTransliterate()