Changeset 24023
- Timestamp:
- Apr 30, 2009, 2:26:44 PM (17 years ago)
- Location:
- trunk/psLib/test
- Files:
-
- 3 edited
-
astro/tap_psTime_01.c (modified) (1 diff)
-
sys/tap_psMemory.c (modified) (1 diff)
-
sys/tap_psString.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astro/tap_psTime_01.c
r13623 r24023 842 842 { 843 843 psMemId id = psMemGetId(); 844 psTime *time2= psTimeConvert(NULL, PS_TIME_TAI);845 846 ok( time2 == NULL, "psTimeConvert(NULL, PS_TIME_TAI) returned NULL");844 bool status = psTimeConvert(NULL, PS_TIME_TAI); 845 846 ok(status == false, "psTimeConvert(NULL, PS_TIME_TAI) returned NULL"); 847 847 ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks"); 848 848 -
trunk/psLib/test/sys/tap_psMemory.c
r13084 r24023 512 512 513 513 psSpline1D *spline; 514 spline = psSpline1DAlloc(2, 1, 0, 2); 514 // XXX API changed : 515 // spline = psSpline1DAlloc(2, 1, 0, 2); 516 spline = psSpline1DAlloc(); 515 517 okay = psMemCheckType(PS_DATA_SPLINE1D, spline); 516 518 if (!okay ) -
trunk/psLib/test/sys/tap_psString.c
r17515 r24023 420 420 421 421 //psStringAppend should return 0 for NULL input format 422 outSize = psStringAppend(test, nullTest); 422 // note that only a string literal is allowed for the NULL due to gcc change 423 outSize = psStringAppend(test, NULL); 423 424 ok(outSize == 0, "psStringAppend to return 0 for NULL input format"); 424 425 … … 428 429 429 430 //psStringPrepend should return 0 for NULL input format 430 outSize = psStringPrepend(test, nullTest); 431 // note that only a string literal is allowed for the NULL due to gcc change 432 outSize = psStringPrepend(test, NULL); 431 433 ok(outSize == 0, "psStringPrepend to return 0 for NULL input format"); 432 434
Note:
See TracChangeset
for help on using the changeset viewer.
