Home | History | Annotate | Download | only in intltest

Lines Matching defs:ct1

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