36 #ifndef SDL_test_h_arness_h
37 #define SDL_test_h_arness_h
47 #define TEST_ENABLED 1
48 #define TEST_DISABLED 0
51 #define TEST_ABORTED -1
52 #define TEST_STARTED 0
53 #define TEST_COMPLETED 1
54 #define TEST_SKIPPED 2
57 #define TEST_RESULT_PASSED 0
58 #define TEST_RESULT_FAILED 1
59 #define TEST_RESULT_NO_ASSERT 2
60 #define TEST_RESULT_SKIPPED 3
61 #define TEST_RESULT_SETUP_FAILURE 4
SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char const char SDL_SCANF_FORMAT_STRING const char return SDL_ThreadFunction const char void return Uint32 return Uint32 void
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
GLuint GLsizei GLsizei * length
char * SDLTest_GenerateRunSeed(const int length)
Generates a random run seed string for the harness. The generated seed will contain alphanumeric char...
void(* SDLTest_TestCaseTearDownFp)(void *arg)
int SDLTest_RunSuites(SDLTest_TestSuiteReference *testSuites[], const char *userRunSeed, Uint64 userExecKey, const char *filter, int testIterations)
Execute a test suite using the given run seed and execution key.
void(* SDLTest_TestCaseSetUpFp)(void *arg)
int(* SDLTest_TestCaseFp)(void *arg)
SDLTest_TestCaseFp testCase
const SDLTest_TestCaseReference ** testCases
SDLTest_TestCaseSetUpFp testSetUp
SDLTest_TestCaseTearDownFp testTearDown
SDLTest_TestSuiteReference * testSuites[]
typedef int(__stdcall *FARPROC)()