Home | History | Annotate | Download | only in intltest

Lines Matching defs:test2

398     UnicodeString test2("abcda");
426 doAssert(col->greater(test1, test2), "Result should be \"abCda\" >>> \"abcda\" ");
427 test2), "Result should be \"abcda\" == \"abCda\"");
466 doAssert(!(col1->hashCode() == col2->hashCode()), "Hash test2 result incorrect" );
474 UnicodeString test2("abcda");
480 col3->getCollationKey(test2, sortk2, status);
481 col3->getCollationKey(test2, sortk3, status);
507 UnicodeString test1("Abcda"), test2("abcda");
554 doAssert((sortk1.compareTo(col->getCollationKey(test2, sortk2, key2Status)))
617 col->getCollationKey(test2, sortk2, key2Status))
962 UnicodeString test1("Abcda"), test2("abcda");
965 doAssert((!col->equals(test1, test2) ), "Result should be \"Abcda\" != \"abcda\"");
966 doAssert((col->greater(test1, test2) ), "Result should be \"Abcda\" >>> \"abcda\"");
967 doAssert((col->greaterOrEqual(test1, test2) ), "Result should be \"Abcda\" >>> \"abcda\"");
972 doAssert((col->equals(test1, test2) ), "Result should be \"Abcda\" == \"abcda\"");
973 doAssert((!col->greater(test1, test2) ), "Result should be \"Abcda\" == \"abcda\"");
974 doAssert((col->greaterOrEqual(test1, test2) ), "Result should be \"Abcda\" == \"abcda\"");
979 doAssert((col->equals(test1, test2) ), "Result should be \"Abcda\" == \"abcda\"");
980 doAssert((!col->greater(test1, test2) ), "Result should be \"Abcda\" == \"abcda\"");
981 doAssert((col->greaterOrEqual(test1, test2) ), "Result should be \"Abcda\" == \"abcda\"");
986 const UChar* t2 = test2.getBuffer();
987 int32_t t2Len = test2.length();
989 doAssert((col->compare(test1, test2) == Collator::EQUAL), "Problem");
990 doAssert((col->compare(test1, test2, success) == UCOL_EQUAL), "Problem");
993 doAssert((col->compare(test1, test2, t1Len) == Collator::EQUAL), "Problem");
994 doAssert((col->compare(test1, test2, t1Len, success) == UCOL_EQUAL), "Problem");
997 doAssert((col->compare(test1, test2) == Collator::GREATER), "Problem");
998 doAssert((col->compare(test1, test2, success) == UCOL_GREATER), "Problem");
1001 doAssert((col->compare(test1, test2, t1Len) == Collator::GREATER), "Problem");
1002 doAssert((col->compare(test1, test2, t1Len, success) == UCOL_GREATER), "Problem");
1097 test2[6] = {0x61, 0x62, 0x63, 0x64, 0x61, 0},
1110 col->getCollationKey(test2, u_strlen(test2), key2, status);
1129 col->getSortKey(test2, sortkey2, 64);
1137 "Test2 string should have the same collation key and sort key");
1143 col->getSortKey(test2, 5, sortkey2, 64);
1151 "Test2 string should have the same collation key and sort key");
1158 UnicodeString strtest2(test2);
1168 "Test2 string should have the same collation key and sort key");
1177 col->getCollationKey(test2, u_strlen(test2), key2, status);
1190 col->getSortKey(test2, sortkey2, 64);
1198 "Test2 string should have the same collation key and sort key");
1204 col->getSortKey(test2, 5, sortkey2, 64);
1212 "Test2 string should have the same collation key and sort key");
1226 "Test2 string should have the same collation key and sort key");