9 #define APISTATUS_NORMAL 0
10 #define APISTATUS_NOT_FOUND 1
11 #define APISTATUS_UNIMPLEMENTED 2
12 #define APISTATUS_ASSERTION_FAILED 3
13 #define APISTATUS_REGRESSION 4
15 /* type definitions */
17 typedef struct tagTESTINFO
24 } TESTINFO
, *PTESTINFO
;
26 typedef INT (*TESTPROC
)(PTESTINFO
);
28 typedef struct tagTEST
32 } TESTENTRY
, *PTESTENTRY
;
43 printf("non-rtest succeeded in %s:%d (%s)\n", __FILE__, __LINE__, #x);\
55 printf("test failed in %s:%d (%s)\n", __FILE__, __LINE__, #x);\
68 printf("rtest failed in %s:%d (%s)\n", __FILE__, __LINE__, #x);\
78 printf("test failed in %s:%d (%s)\n", __FILE__, __LINE__, #x);\
86 printf("Assertion failed in %s:%d (%s)\n", __FILE__, __LINE__, #x);\
87 return APISTATUS_ASSERTION_FAILED; \
90 int TestMain(LPWSTR pszExe
, LPWSTR pszModule
);
91 extern TESTENTRY TestList
[];
93 BOOL
IsFunctionPresent(LPWSTR lpszFunction
);
95 #endif /* _APITEST_H */