Lines Matching refs:expectedValue
66 UnicodeString expectedValue; in TestBasicManipulation() local
71 expectedValue = "Now is the time for all good men to come swiftly to the aid of the party.\n"; in TestBasicManipulation()
72 if (test1 != expectedValue) in TestBasicManipulation()
73 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
76 if(*c != expectedValue) { in TestBasicManipulation()
77 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\""); in TestBasicManipulation()
82 expectedValue = "Now is the time for all good men to come to the aid of the party.\n"; in TestBasicManipulation()
83 if (test1 != expectedValue) in TestBasicManipulation()
84 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
87 expectedValue = "Now is the time for all good men to come to the aid of their country.\n"; in TestBasicManipulation()
88 if (test1 != expectedValue) in TestBasicManipulation()
89 errln("replace() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
96 expectedValue = "Now is the time"; in TestBasicManipulation()
97 if (test2 != expectedValue) in TestBasicManipulation()
98 errln("extract() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
101 expectedValue = "Now is the time for me to go!\n"; in TestBasicManipulation()
102 if (test2 != expectedValue) in TestBasicManipulation()
103 errln("operator+=() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
869 UnicodeString expectedValue; in TestSpacePadding() local
872 expectedValue = " hello"; in TestSpacePadding()
873 if (returnVal == FALSE || test1 != expectedValue) in TestSpacePadding()
874 errln("padLeading() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestSpacePadding()
877 expectedValue = " there "; in TestSpacePadding()
878 if (returnVal == FALSE || test2 != expectedValue) in TestSpacePadding()
879 errln("padTrailing() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\"."); in TestSpacePadding()
881 expectedValue = test3; in TestSpacePadding()
883 if (returnVal == TRUE || test3 != expectedValue) in TestSpacePadding()
884 errln("padTrailing() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\"."); in TestSpacePadding()
886 expectedValue = "hello"; in TestSpacePadding()
889 if (test4 != expectedValue || test1 == expectedValue || test4 != expectedValue) in TestSpacePadding()
893 if (test1 != expectedValue) in TestSpacePadding()
894 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestSpacePadding()
897 expectedValue = "there"; in TestSpacePadding()
898 if (test2 != expectedValue) in TestSpacePadding()
899 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\"."); in TestSpacePadding()
902 expectedValue = "Hi! How ya doin'? Beautiful day, isn't it?"; in TestSpacePadding()
903 if (test3 != expectedValue) in TestSpacePadding()
904 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\"."); in TestSpacePadding()
907 expectedValue = "hello"; in TestSpacePadding()
908 if (returnVal == TRUE || test1 != expectedValue) in TestSpacePadding()
909 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestSpacePadding()
912 expectedValue = "there"; in TestSpacePadding()
913 if (returnVal == TRUE || test2 != expectedValue) in TestSpacePadding()
914 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\"."); in TestSpacePadding()
917 expectedValue = "Hi! How ya doi"; in TestSpacePadding()
918 if (returnVal == FALSE || test3 != expectedValue) in TestSpacePadding()
919 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\"."); in TestSpacePadding()
986 UnicodeString expectedValue; in TestFindAndReplace() local
989 expectedValue = "One MISSISSIPPI, two MISSISSIPPI, three MISSISSIPPI, four\n"; in TestFindAndReplace()
990 if (test1 != expectedValue) in TestFindAndReplace()
991 errln("findAndReplace failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestFindAndReplace()
993 expectedValue = "One potato, two potato, three MISSISSIPPI, four\n"; in TestFindAndReplace()
994 if (test1 != expectedValue) in TestFindAndReplace()
995 errln("findAndReplace failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestFindAndReplace()