IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2004, 2:57:34 PM (22 years ago)
Author:
desonia
Message:

converted native C types to ps Types, where practical.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/psTest.h

    r1193 r2204  
    44
    55#include <stdio.h>
    6 #include <stdbool.h>
     6
     7#include "psType.h"
    78
    89#define printPositiveTestHeader(filePtr, packageName, testPointName) \
     
    1516p_printFooter(filePtr, __FILE__, packageName, testPointName, success)
    1617
    17 typedef int (*testFcn)(void);
     18typedef psS32 (*testFcn)(void);
    1819
    1920typedef struct
    2021{
    2122    testFcn     fcn;
    22     int         testPointNumber;
     23    psS32       testPointNumber;
    2324    const char* testPointName;
    24     int         expectedReturn;
    25     bool        isDuplicateEntry;
     25    psS32       expectedReturn;
     26    psBool      isDuplicateEntry;
    2627}
    2728testDescription;
     
    3637/////////////////////////// PRIVATE FUNCTIONS //////////////////////////////
    3738
    38 bool p_runTest(
     39psBool p_runTest(
    3940    FILE *fp,
    4041    const char* testPointFile,
     
    4243    const char* testPointName,
    4344    testFcn fcn,
    44     int expectedReturn,
    45     bool useFork
     45    psS32 expectedReturn,
     46    psBool useFork
    4647);
    4748
    48 bool p_runTestSuite(
     49psBool p_runTestSuite(
    4950    FILE *fp,
    5051    const char* testPointFile,
    5152    const char* packageName,
    5253    testDescription tests[],
    53     int argc,
     54    psS32 argc,
    5455    char * const argv[]
    5556);
     
    6869    const char* testPointName,
    6970    const char* expectedError,
    70     int exitValue
     71    psS32 exitValue
    7172);
    7273
     
    7677    const char* packageName,
    7778    const char* testPointName,
    78     bool success
     79    psBool success
    7980);
    8081
Note: See TracChangeset for help on using the changeset viewer.