Home | History | Annotate | Download | only in intltest

Lines Matching defs:expectedValue

79     UnicodeString   expectedValue;
84 expectedValue = "Now is the time for all good men to come swiftly to the aid of the party.\n";
85 if (test1 != expectedValue)
86 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\"");
89 if(*c != expectedValue) {
90 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\"");
95 expectedValue = "Now is the time for all good men to come to the aid of the party.\n";
96 if (test1 != expectedValue)
97 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\"");
100 expectedValue = "Now is the time for all good men to come to the aid of their country.\n";
101 if (test1 != expectedValue)
102 errln("replace() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\"");
109 expectedValue = "Now is the time";
110 if (test2 != expectedValue)
111 errln("extract() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\"");
114 expectedValue = "Now is the time for me to go!\n";
115 if (test2 != expectedValue)
116 errln("operator+=() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\"");
875 UnicodeString expectedValue;
878 expectedValue = " hello";
879 if (returnVal == FALSE || test1 != expectedValue)
880 errln("padLeading() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");
883 expectedValue = " there ";
884 if (returnVal == FALSE || test2 != expectedValue)
885 errln("padTrailing() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\".");
887 expectedValue = test3;
889 if (returnVal == TRUE || test3 != expectedValue)
890 errln("padTrailing() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\".");
892 expectedValue = "hello";
895 if (test4 != expectedValue || test1 == expectedValue || test4 != expectedValue)
899 if (test1 != expectedValue)
900 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");
903 expectedValue = "there";
904 if (test2 != expectedValue)
905 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\".");
908 expectedValue = "Hi! How ya doin'? Beautiful day, isn't it?";
909 if (test3 != expectedValue)
910 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\".");
913 expectedValue = "hello";
914 if (returnVal == TRUE || test1 != expectedValue)
915 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");
918 expectedValue = "there";
919 if (returnVal == TRUE || test2 != expectedValue)
920 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\".");
923 expectedValue = "Hi! How ya doi";
924 if (returnVal == FALSE || test3 != expectedValue)
925 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\".");
992 UnicodeString expectedValue;
995 expectedValue = "One MISSISSIPPI, two MISSISSIPPI, three MISSISSIPPI, four\n";
996 if (test1 != expectedValue)
997 errln("findAndReplace failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");
999 expectedValue = "One potato, two potato, three MISSISSIPPI, four\n";
1000 if (test1 != expectedValue)
1001 errln("findAndReplace failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");