Lines Matching full:clone
37 // test clone(), ==, and hashCode()
38 Normalizer *clone=copy.clone();
39 if(*clone!=copy) {
40 errln("error in Normalizer(Normalizer(CharacterIterator)).clone()!=copy");
42 // clone must have the same hashCode()
43 if(clone->hashCode()!=copy.hashCode()) {
44 errln("error in Normalizer(Normalizer(CharacterIterator)).clone()->hashCode()!=copy.hashCode()");
46 if(clone->next()!=0x4e3d) {
47 dataerrln("error in Normalizer(Normalizer(CharacterIterator)).clone()->next()");
50 if(clone->hashCode()==copy.hashCode()) {
51 errln("error in Normalizer(Normalizer(CharacterIterator)).clone()->next().hashCode()==copy.hashCode()");
53 delete clone;
54 clone=0;