Lines Matching refs:expectedValue

68     UnicodeString   expectedValue;  in TestBasicManipulation()  local
73 expectedValue = "Now is the time for all good men to come swiftly to the aid of the party.\n"; in TestBasicManipulation()
74 if (test1 != expectedValue) in TestBasicManipulation()
75 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
78 if(*c != expectedValue) { in TestBasicManipulation()
79 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\""); in TestBasicManipulation()
84 expectedValue = "Now is the time for all good men to come to the aid of the party.\n"; in TestBasicManipulation()
85 if (test1 != expectedValue) in TestBasicManipulation()
86 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
89 expectedValue = "Now is the time for all good men to come to the aid of their country.\n"; in TestBasicManipulation()
90 if (test1 != expectedValue) in TestBasicManipulation()
91 errln("replace() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
98 expectedValue = "Now is the time"; in TestBasicManipulation()
99 if (test2 != expectedValue) in TestBasicManipulation()
100 errln("extract() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
103 expectedValue = "Now is the time for me to go!\n"; in TestBasicManipulation()
104 if (test2 != expectedValue) in TestBasicManipulation()
105 errln("operator+=() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
871 UnicodeString expectedValue; in TestSpacePadding() local
874 expectedValue = " hello"; in TestSpacePadding()
875 if (returnVal == FALSE || test1 != expectedValue) in TestSpacePadding()
876 errln("padLeading() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestSpacePadding()
879 expectedValue = " there "; in TestSpacePadding()
880 if (returnVal == FALSE || test2 != expectedValue) in TestSpacePadding()
881 errln("padTrailing() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\"."); in TestSpacePadding()
883 expectedValue = test3; in TestSpacePadding()
885 if (returnVal == TRUE || test3 != expectedValue) in TestSpacePadding()
886 errln("padTrailing() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\"."); in TestSpacePadding()
888 expectedValue = "hello"; in TestSpacePadding()
891 if (test4 != expectedValue || test1 == expectedValue || test4 != expectedValue) in TestSpacePadding()
895 if (test1 != expectedValue) in TestSpacePadding()
896 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestSpacePadding()
899 expectedValue = "there"; in TestSpacePadding()
900 if (test2 != expectedValue) in TestSpacePadding()
901 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\"."); in TestSpacePadding()
904 expectedValue = "Hi! How ya doin'? Beautiful day, isn't it?"; in TestSpacePadding()
905 if (test3 != expectedValue) in TestSpacePadding()
906 errln("trim() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\"."); in TestSpacePadding()
909 expectedValue = "hello"; in TestSpacePadding()
910 if (returnVal == TRUE || test1 != expectedValue) in TestSpacePadding()
911 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestSpacePadding()
914 expectedValue = "there"; in TestSpacePadding()
915 if (returnVal == TRUE || test2 != expectedValue) in TestSpacePadding()
916 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test2 + "\"."); in TestSpacePadding()
919 expectedValue = "Hi! How ya doi"; in TestSpacePadding()
920 if (returnVal == FALSE || test3 != expectedValue) in TestSpacePadding()
921 errln("truncate() failed: expected \"" + expectedValue + "\", got \"" + test3 + "\"."); in TestSpacePadding()
988 UnicodeString expectedValue; in TestFindAndReplace() local
991 expectedValue = "One MISSISSIPPI, two MISSISSIPPI, three MISSISSIPPI, four\n"; in TestFindAndReplace()
992 if (test1 != expectedValue) in TestFindAndReplace()
993 errln("findAndReplace failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestFindAndReplace()
995 expectedValue = "One potato, two potato, three MISSISSIPPI, four\n"; in TestFindAndReplace()
996 if (test1 != expectedValue) in TestFindAndReplace()
997 errln("findAndReplace failed: expected \"" + expectedValue + "\", got \"" + test1 + "\"."); in TestFindAndReplace()