This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
wp_intern void handleTestResult(WpTestFuncResult result);
|
||||
|
||||
void _runTests(WpTestFunc *func1, ...) {
|
||||
void runTests(WpTestFunc *func1, ...) {
|
||||
printf("\n");
|
||||
|
||||
handleTestResult(func1());
|
||||
|
||||
@@ -15,7 +15,7 @@ BEGIN_C_LINKAGE
|
||||
#define wpTesterResult(PASSED) ((WpTestFuncResult){.name = wpStr8LitRo(__func__), .passed = PASSED})
|
||||
#endif // !WP_PLATFORM_CPP
|
||||
|
||||
#define wpTesterRun(...) _runTests(__VA_ARGS__, NULL)
|
||||
#define wpTesterRun(...) runTests(__VA_ARGS__, NULL)
|
||||
|
||||
typedef struct WpTestFuncResult WpTestFuncResult;
|
||||
struct WpTestFuncResult {
|
||||
@@ -27,7 +27,7 @@ struct WpTestFuncResult {
|
||||
|
||||
typedef WpTestFuncResult(WpTestFunc)(void);
|
||||
|
||||
void _runTests(WpTestFunc *func1, ...);
|
||||
void runTests(WpTestFunc *func1, ...);
|
||||
|
||||
#ifdef WP_PLATFORM_CPP
|
||||
END_C_LINKAGE
|
||||
|
||||
Reference in New Issue
Block a user