Changeset 2204 for trunk/psLib/test/sysUtils/tst_psTrace.c
- Timestamp:
- Oct 26, 2004, 2:57:34 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/sysUtils/tst_psTrace.c (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sysUtils/tst_psTrace.c
r2202 r2204 10 10 11 11 12 static inttestTrace00(void);13 static inttestTrace01(void);14 static inttestTrace02(void);15 static inttestTrace03(void);16 static inttestTrace04(void);17 static inttestTrace05(void);18 static inttestTrace05a(void);19 static inttestTrace06(void);20 static inttestTrace08(void);12 static psS32 testTrace00(void); 13 static psS32 testTrace01(void); 14 static psS32 testTrace02(void); 15 static psS32 testTrace03(void); 16 static psS32 testTrace04(void); 17 static psS32 testTrace05(void); 18 static psS32 testTrace05a(void); 19 static psS32 testTrace06(void); 20 static psS32 testTrace08(void); 21 21 22 22 testDescription tests[] = { … … 37 37 }; 38 38 39 int main( intargc, char* argv[] )39 psS32 main( psS32 argc, char* argv[] ) 40 40 { 41 41 psLogSetLevel( PS_LOG_INFO ); … … 44 44 } 45 45 46 static inttestTrace00(void)47 { 48 inti;49 intlev = 0;46 static psS32 testTrace00(void) 47 { 48 psS32 i; 49 psS32 lev = 0; 50 50 51 51 psTraceSetDestination(stderr); … … 94 94 } 95 95 96 static inttestTrace01(void)96 static psS32 testTrace01(void) 97 97 { 98 98 psTraceSetDestination(stderr); … … 104 104 } 105 105 106 static inttestTrace02(void)106 static psS32 testTrace02(void) 107 107 { 108 108 psTraceReset(); … … 133 133 } 134 134 135 static inttestTrace03(void)136 { 137 inti = 0;138 intlev = 0;135 static psS32 testTrace03(void) 136 { 137 psS32 i = 0; 138 psS32 lev = 0; 139 139 140 140 psTraceSetDestination(stderr); … … 176 176 177 177 178 static inttestTrace04(void)178 static psS32 testTrace04(void) 179 179 { 180 180 FILE *fp; 181 intnb = 0;181 psS32 nb = 0; 182 182 183 183 fp = fopen("tst_psTrace02_OUT", "w"); … … 221 221 } 222 222 223 static inttestTrace05(void)223 static psS32 testTrace05(void) 224 224 { 225 225 psTraceSetDestination(stderr); … … 247 247 } 248 248 249 static inttestTrace05a(void)249 static psS32 testTrace05a(void) 250 250 { 251 251 (void)psTraceSetLevel(".", 9); … … 271 271 } 272 272 273 static inttestTrace06(void)273 static psS32 testTrace06(void) 274 274 { 275 275 psTraceSetDestination(stderr); … … 311 311 312 312 // Ensure that the leading dot in the component names are optional. 313 static inttestTrace08(void)313 static psS32 testTrace08(void) 314 314 { 315 315 psTraceReset();
Note:
See TracChangeset
for help on using the changeset viewer.
