Home | History | Annotate | Download | only in intltest

Lines Matching defs:expectedValue

74     UnicodeString   expectedValue;
79 expectedValue = "Now is the time for all good men to come swiftly to the aid of the party.\n";
80 if (test1 != expectedValue)
81 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\"");
84 if(*c != expectedValue) {
85 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\"");
90 expectedValue = "Now is the time for all good men to come to the aid of the party.\n";
91 if (test1 != expectedValue)
92 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\"");
95 expectedValue = "Now is the time for all good men to come to the aid of their country.\n";
96 if (test1 != expectedValue)
97 errln("replace() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\"");
104 expectedValue = "Now is the time";
105 if (test2 != expectedValue)
106 errln("extract() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\"");
109 expectedValue = "Now is the time for me to go!\n";
110 if (test2 != expectedValue)
111 errln("operator+=() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\"");
870 UnicodeString expectedValue;
873 expectedValue = " hello";
874 if (returnVal == FALSE || test1 != expectedValue)
875 errln("padLeading() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");
878 expectedValue = " there ";
879 if (returnVal == FALSE || test2 != expectedValue)
880 errln("padTrailing() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\".");
882 expectedValue = test3;
884 if (returnVal == TRUE || test3 != expectedValue)
885 errln("padTrailing() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\".");
887 expectedValue = "hello";
890 if (test4 != expectedValue || test1 == expectedValue || test4 != expectedValue)
894 if (test1 != expectedValue)
895 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");
898 expectedValue = "there";
899 if (test2 != expectedValue)
900 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\".");
903 expectedValue = "Hi! How ya doin'? Beautiful day, isn't it?";
904 if (test3 != expectedValue)
905 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\".");
908 expectedValue = "hello";
909 if (returnVal == TRUE || test1 != expectedValue)
910 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");
913 expectedValue = "there";
914 if (returnVal == TRUE || test2 != expectedValue)
915 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\".");
918 expectedValue = "Hi! How ya doi";
919 if (returnVal == FALSE || test3 != expectedValue)
920 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\".");
976 UnicodeString expectedValue;
979 expectedValue = "One MISSISSIPPI, two MISSISSIPPI, three MISSISSIPPI, four\n";
980 if (test1 != expectedValue)
981 errln("findAndReplace failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");
983 expectedValue = "One potato, two potato, three MISSISSIPPI, four\n";
984 if (test1 != expectedValue)
985 errln("findAndReplace failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");