Changeset 8234 for trunk/psLib/test/sys/tap_psStringSubstitute.c
- Timestamp:
- Aug 8, 2006, 2:06:26 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/sys/tap_psStringSubstitute.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sys/tap_psStringSubstitute.c
r8224 r8234 29 29 ok(input && strcmp(input, ORIGINAL) == 0, "output = %s", input); 30 30 // psFree(input); 31 ok(psMemCheckLeaks(0, NULL, stdout, false) == 0, "Memory Leaks"); 31 // ok(psMemCheckLeaks(0, NULL, stdout, false) == 0, "Memory Leaks"); 32 mem(); 32 33 } 33 34 … … 38 39 ok(output && strcmp(output, CORRECTED) == 0, "output = %s", output); 39 40 psFree(output); 41 mem(); 40 42 } 41 43 … … 46 48 ok(output && strcmp(output, CORRECTED) == 0, "output = %s", output); 47 49 psFree(output); 50 mem(); 48 51 } 49 52 … … 52 55 psString output = psStringSubstitute(NULL, "XXX", ","); 53 56 ok(!output, "output = %s", output); 57 mem(); 54 58 } 55 59 … … 60 64 ok(output && strcmp(output, input) == 0, "output = %s", output); 61 65 psFree(output); 66 mem(); 62 67 } 63 68 … … 68 73 ok(output && strcmp(output, "This is! a! test case! to check.") == 0, "output = %s", output); 69 74 psFree(output); 75 mem(); 70 76 } 71 77 … … 78 84 "output = %s", output); 79 85 psFree(output); 86 mem(); 80 87 } 81 88
Note:
See TracChangeset
for help on using the changeset viewer.
