• Home
  • Raw
  • Download

Lines Matching refs:expectedValue

78     UnicodeString   expectedValue;  in TestBasicManipulation()  local
83 expectedValue = "Now is the time for all good men to come swiftly to the aid of the party.\n"; in TestBasicManipulation()
84 if (test1 != expectedValue) in TestBasicManipulation()
85 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
88 if(*c != expectedValue) { in TestBasicManipulation()
89 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\""); in TestBasicManipulation()
94 expectedValue = "Now is the time for all good men to come to the aid of the party.\n"; in TestBasicManipulation()
95 if (test1 != expectedValue) in TestBasicManipulation()
96 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
99 expectedValue = "Now is the time for all good men to come to the aid of their country.\n"; in TestBasicManipulation()
100 if (test1 != expectedValue) in TestBasicManipulation()
101 errln("replace() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
108 expectedValue = "Now is the time"; in TestBasicManipulation()
109 if (test2 != expectedValue) in TestBasicManipulation()
110 errln("extract() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
113 expectedValue = "Now is the time for me to go!\n"; in TestBasicManipulation()
114 if (test2 != expectedValue) in TestBasicManipulation()
115 errln("operator+=() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
881 UnicodeString expectedValue; in TestSpacePadding() local
884 expectedValue = " hello"; in TestSpacePadding()
885 if (returnVal == FALSE || test1 != expectedValue) in TestSpacePadding()
886 errln("padLeading() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestSpacePadding()
889 expectedValue = " there "; in TestSpacePadding()
890 if (returnVal == FALSE || test2 != expectedValue) in TestSpacePadding()
891 errln("padTrailing() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\"."); in TestSpacePadding()
893 expectedValue = test3; in TestSpacePadding()
895 if (returnVal == TRUE || test3 != expectedValue) in TestSpacePadding()
896 errln("padTrailing() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\"."); in TestSpacePadding()
898 expectedValue = "hello"; in TestSpacePadding()
901 if (test4 != expectedValue || test1 == expectedValue || test4 != expectedValue) in TestSpacePadding()
905 if (test1 != expectedValue) in TestSpacePadding()
906 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestSpacePadding()
909 expectedValue = "there"; in TestSpacePadding()
910 if (test2 != expectedValue) in TestSpacePadding()
911 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\"."); in TestSpacePadding()
914 expectedValue = "Hi! How ya doin'? Beautiful day, isn't it?"; in TestSpacePadding()
915 if (test3 != expectedValue) in TestSpacePadding()
916 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\"."); in TestSpacePadding()
919 expectedValue = "hello"; in TestSpacePadding()
920 if (returnVal == TRUE || test1 != expectedValue) in TestSpacePadding()
921 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestSpacePadding()
924 expectedValue = "there"; in TestSpacePadding()
925 if (returnVal == TRUE || test2 != expectedValue) in TestSpacePadding()
926 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\"."); in TestSpacePadding()
929 expectedValue = "Hi! How ya doi"; in TestSpacePadding()
930 if (returnVal == FALSE || test3 != expectedValue) in TestSpacePadding()
931 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\"."); in TestSpacePadding()
998 UnicodeString expectedValue; in TestFindAndReplace() local
1001 expectedValue = "One MISSISSIPPI, two MISSISSIPPI, three MISSISSIPPI, four\n"; in TestFindAndReplace()
1002 if (test1 != expectedValue) in TestFindAndReplace()
1003 errln("findAndReplace failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestFindAndReplace()
1005 expectedValue = "One potato, two potato, three MISSISSIPPI, four\n"; in TestFindAndReplace()
1006 if (test1 != expectedValue) in TestFindAndReplace()
1007 errln("findAndReplace failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestFindAndReplace()