• Home
  • Raw
  • Download

Lines Matching refs:expectedValue

75     UnicodeString   expectedValue;  in TestBasicManipulation()  local
80 expectedValue = "Now is the time for all good men to come swiftly to the aid of the party.\n"; in TestBasicManipulation()
81 if (test1 != expectedValue) in TestBasicManipulation()
82 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
85 if(*c != expectedValue) { in TestBasicManipulation()
86 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\""); in TestBasicManipulation()
91 expectedValue = "Now is the time for all good men to come to the aid of the party.\n"; in TestBasicManipulation()
92 if (test1 != expectedValue) in TestBasicManipulation()
93 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
96 expectedValue = "Now is the time for all good men to come to the aid of their country.\n"; in TestBasicManipulation()
97 if (test1 != expectedValue) in TestBasicManipulation()
98 errln("replace() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
105 expectedValue = "Now is the time"; in TestBasicManipulation()
106 if (test2 != expectedValue) in TestBasicManipulation()
107 errln("extract() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
110 expectedValue = "Now is the time for me to go!\n"; in TestBasicManipulation()
111 if (test2 != expectedValue) in TestBasicManipulation()
112 errln("operator+=() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
878 UnicodeString expectedValue; in TestSpacePadding() local
881 expectedValue = " hello"; in TestSpacePadding()
882 if (returnVal == FALSE || test1 != expectedValue) in TestSpacePadding()
883 errln("padLeading() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestSpacePadding()
886 expectedValue = " there "; in TestSpacePadding()
887 if (returnVal == FALSE || test2 != expectedValue) in TestSpacePadding()
888 errln("padTrailing() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\"."); in TestSpacePadding()
890 expectedValue = test3; in TestSpacePadding()
892 if (returnVal == TRUE || test3 != expectedValue) in TestSpacePadding()
893 errln("padTrailing() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\"."); in TestSpacePadding()
895 expectedValue = "hello"; in TestSpacePadding()
898 if (test4 != expectedValue || test1 == expectedValue || test4 != expectedValue) in TestSpacePadding()
902 if (test1 != expectedValue) in TestSpacePadding()
903 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestSpacePadding()
906 expectedValue = "there"; in TestSpacePadding()
907 if (test2 != expectedValue) in TestSpacePadding()
908 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\"."); in TestSpacePadding()
911 expectedValue = "Hi! How ya doin'? Beautiful day, isn't it?"; in TestSpacePadding()
912 if (test3 != expectedValue) in TestSpacePadding()
913 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\"."); in TestSpacePadding()
916 expectedValue = "hello"; in TestSpacePadding()
917 if (returnVal == TRUE || test1 != expectedValue) in TestSpacePadding()
918 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestSpacePadding()
921 expectedValue = "there"; in TestSpacePadding()
922 if (returnVal == TRUE || test2 != expectedValue) in TestSpacePadding()
923 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\"."); in TestSpacePadding()
926 expectedValue = "Hi! How ya doi"; in TestSpacePadding()
927 if (returnVal == FALSE || test3 != expectedValue) in TestSpacePadding()
928 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\"."); in TestSpacePadding()
995 UnicodeString expectedValue; in TestFindAndReplace() local
998 expectedValue = "One MISSISSIPPI, two MISSISSIPPI, three MISSISSIPPI, four\n"; in TestFindAndReplace()
999 if (test1 != expectedValue) in TestFindAndReplace()
1000 errln("findAndReplace failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestFindAndReplace()
1002 expectedValue = "One potato, two potato, three MISSISSIPPI, four\n"; in TestFindAndReplace()
1003 if (test1 != expectedValue) in TestFindAndReplace()
1004 errln("findAndReplace failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestFindAndReplace()