Lines Matching refs:test2
852 UText test2 = UTEXT_INITIALIZER; in ComparisonTest() local
865 utext_openUnicodeString(&test2, &test2Str, &status); in ComparisonTest()
876 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
877 if (utext_compare(&test1, -1, &test2, -1) != 0) errln("utext_compare() failed, simple setup"); in ComparisonTest()
887 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
888 …if (utext_compareNativeLimit(&test1, -1, &test2, -1) != 0) errln("utext_compareNativeLimit() faile… in ComparisonTest()
898 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
899 …if (utext_compare(&test1, 14, &test2, -1) != 0) errln("utext_compare() failed, one explicit length… in ComparisonTest()
900 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
902 …if (utext_compare(&test3, 14, &test2, -1) != 0) errln("utext_compare() failed, one explicit length… in ComparisonTest()
903 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
905 …if (utext_compare(&test4, 14, &test2, -1) != 0) errln("utext_compare() failed, one explicit length… in ComparisonTest()
908 …if (utext_compare(&test3, 18, &test2, -1) <= 0) errln("utext_compare() failed, one explicit length… in ComparisonTest()
912 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
913 …if (utext_compareNativeLimit(&test1, 14, &test2, -1) != 0) errln("utext_compareNativeLimit() faile… in ComparisonTest()
914 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
916 …if (utext_compareNativeLimit(&test3, 14, &test2, -1) != 0) errln("utext_compareNativeLimit() faile… in ComparisonTest()
917 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
919 …if (utext_compareNativeLimit(&test4, 26, &test2, -1) != 0) errln("utext_compareNativeLimit() faile… in ComparisonTest()
922 …if (utext_compareNativeLimit(&test3, 18, &test2, -1) <= 0) errln("utext_compareNativeLimit() faile… in ComparisonTest()
926 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
927 …if (utext_compare(&test2, -1, &uniCharText, -1) != 0) errln("utext_compare() failed, UChar-based U… in ComparisonTest()
937 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
938 …if (utext_compareNativeLimit(&test2, -1, &uniCharText, -1) != 0) errln("utext_compareNativeLimit()… in ComparisonTest()
948 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
949 …if (utext_compare(&test2, -1, &charText, -1) != 0) errln("utext_compare() failed, UTF8-based UText… in ComparisonTest()
959 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
960 …if (utext_compareNativeLimit(&test2, -1, &charText, -1) != 0) errln("utext_compareNativeLimit() fa… in ComparisonTest()
970 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
971 if (utext_compare(&test1, -1, &test2, 4) != 0) errln("utext_compare() failed, one length"); in ComparisonTest()
973 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
974 if (utext_compare(&test1, 5, &test2, 4) <= 0) errln("utext_compare() failed, both lengths"); in ComparisonTest()
978 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
979 …if (utext_compareNativeLimit(&test1, -1, &test2, 4) != 0) errln("utext_compareNativeLimit() failed… in ComparisonTest()
981 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
982 …if (utext_compareNativeLimit(&test1, 5, &test2, 4) <= 0) errln("utext_compareNativeLimit() failed,… in ComparisonTest()
986 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
987 …if (utext_compare(&test1, 14, &test2, 14) != 0) errln("utext_compare() failed, both explicit offse… in ComparisonTest()
995 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
996 …if (utext_compare(&test1, 4, &test2, 4) >= 0) errln("utext_compare() failed, both explicit offsets… in ComparisonTest()
1006 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
1007 …if (utext_compareNativeLimit(&test1, 14, &test2, 14) != 0) errln("utext_compareNativeLimit() faile… in ComparisonTest()
1015 UTEXT_SETNATIVEINDEX(&test2, 0); in ComparisonTest()
1016 …if (utext_compareNativeLimit(&test1, 14, &test2, 4) >= 0) errln("utext_compareNativeLimit() failed… in ComparisonTest()