Home | History | Annotate | Download | only in intltest

Lines Matching defs:expectedValue

76     UnicodeString   expectedValue;
81 expectedValue = "Now is the time for all good men to come swiftly to the aid of the party.\n";
82 if (test1 != expectedValue)
83 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\"");
86 if(*c != expectedValue) {
87 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\"");
92 expectedValue = "Now is the time for all good men to come to the aid of the party.\n";
93 if (test1 != expectedValue)
94 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\"");
97 expectedValue = "Now is the time for all good men to come to the aid of their country.\n";
98 if (test1 != expectedValue)
99 errln("replace() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\"");
106 expectedValue = "Now is the time";
107 if (test2 != expectedValue)
108 errln("extract() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\"");
111 expectedValue = "Now is the time for me to go!\n";
112 if (test2 != expectedValue)
113 errln("operator+=() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\"");
879 UnicodeString expectedValue;
882 expectedValue = " hello";
883 if (returnVal == FALSE || test1 != expectedValue)
884 errln("padLeading() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");
887 expectedValue = " there ";
888 if (returnVal == FALSE || test2 != expectedValue)
889 errln("padTrailing() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\".");
891 expectedValue = test3;
893 if (returnVal == TRUE || test3 != expectedValue)
894 errln("padTrailing() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\".");
896 expectedValue = "hello";
899 if (test4 != expectedValue || test1 == expectedValue || test4 != expectedValue)
903 if (test1 != expectedValue)
904 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");
907 expectedValue = "there";
908 if (test2 != expectedValue)
909 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\".");
912 expectedValue = "Hi! How ya doin'? Beautiful day, isn't it?";
913 if (test3 != expectedValue)
914 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\".");
917 expectedValue = "hello";
918 if (returnVal == TRUE || test1 != expectedValue)
919 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");
922 expectedValue = "there";
923 if (returnVal == TRUE || test2 != expectedValue)
924 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\".");
927 expectedValue = "Hi! How ya doi";
928 if (returnVal == FALSE || test3 != expectedValue)
929 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\".");
996 UnicodeString expectedValue;
999 expectedValue = "One MISSISSIPPI, two MISSISSIPPI, three MISSISSIPPI, four\n";
1000 if (test1 != expectedValue)
1001 errln("findAndReplace failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");
1003 expectedValue = "One potato, two potato, three MISSISSIPPI, four\n";
1004 if (test1 != expectedValue)
1005 errln("findAndReplace failed: expected \"" + expectedValue + "\", got \"" + test1 + "\".");