Go to the source code of this file.
Classes | |
struct | SDLTest_TestCaseReference |
struct | SDLTest_TestSuiteReference |
Typedefs | |
typedef void(* | SDLTest_TestCaseSetUpFp )(void *arg) |
typedef int(* | SDLTest_TestCaseFp )(void *arg) |
typedef void(* | SDLTest_TestCaseTearDownFp )(void *arg) |
typedef struct SDLTest_TestCaseReference | SDLTest_TestCaseReference |
typedef struct SDLTest_TestSuiteReference | SDLTest_TestSuiteReference |
Functions | |
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. More... | |
Include file for SDL test framework.
This code is a part of the SDL2_test library, not the main SDL library.
typedef struct SDLTest_TestCaseReference SDLTest_TestCaseReference |
Holds information about a single test case.
typedef struct SDLTest_TestSuiteReference SDLTest_TestSuiteReference |
Holds information about a test suite (multiple test cases).
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.
testSuites | Suites containing the test case. |
userRunSeed | Custom run seed provided by user, or NULL to autogenerate one. |
userExecKey | Custom execution key provided by user, or 0 to autogenerate one. |
filter | Filter specification. NULL disables. Case sensitive. |
testIterations | Number of iterations to run each test case. |