|
SDL 3.0
|
#include <SDL3/SDL_stdinc.h>#include <SDL3/SDL_test_common.h>#include <SDL3/SDL_begin_code.h>#include <SDL3/SDL_close_code.h>Go to the source code of this file.
Data Structures | |
| struct | SDLTest_TestCaseReference |
| struct | SDLTest_TestSuiteReference |
Macros | |
| #define | TEST_ENABLED 1 |
| #define | TEST_DISABLED 0 |
| #define | TEST_ABORTED -1 |
| #define | TEST_STARTED 0 |
| #define | TEST_COMPLETED 1 |
| #define | TEST_SKIPPED 2 |
| #define | TEST_RESULT_PASSED 0 |
| #define | TEST_RESULT_FAILED 1 |
| #define | TEST_RESULT_NO_ASSERT 2 |
| #define | TEST_RESULT_SKIPPED 3 |
| #define | TEST_RESULT_SETUP_FAILURE 4 |
Typedefs | |
| typedef void(* | SDLTest_TestCaseSetUpFp) (void **arg) |
| typedef int(* | SDLTest_TestCaseFp) (void *arg) |
| typedef void(* | SDLTest_TestCaseTearDownFp) (void *arg) |
| typedef struct SDLTest_TestSuiteRunner | SDLTest_TestSuiteRunner |
Functions | |
| char * | SDLTest_GenerateRunSeed (char *buffer, int length) |
| SDLTest_TestSuiteRunner * | SDLTest_CreateTestSuiteRunner (SDLTest_CommonState *state, SDLTest_TestSuiteReference *testSuites[]) |
| void | SDLTest_DestroyTestSuiteRunner (SDLTest_TestSuiteRunner *runner) |
| int | SDLTest_ExecuteTestSuiteRunner (SDLTest_TestSuiteRunner *runner) |
| #define TEST_ABORTED -1 |
Definition at line 51 of file SDL_test_harness.h.
| #define TEST_COMPLETED 1 |
Definition at line 53 of file SDL_test_harness.h.
| #define TEST_DISABLED 0 |
Definition at line 48 of file SDL_test_harness.h.
| #define TEST_ENABLED 1 |
Test suite related functions of SDL test framework.
This code is a part of the SDL test library, not the main SDL library.
Definition at line 47 of file SDL_test_harness.h.
| #define TEST_RESULT_FAILED 1 |
Definition at line 58 of file SDL_test_harness.h.
| #define TEST_RESULT_NO_ASSERT 2 |
Definition at line 59 of file SDL_test_harness.h.
| #define TEST_RESULT_PASSED 0 |
Definition at line 57 of file SDL_test_harness.h.
| #define TEST_RESULT_SETUP_FAILURE 4 |
Definition at line 61 of file SDL_test_harness.h.
| #define TEST_RESULT_SKIPPED 3 |
Definition at line 60 of file SDL_test_harness.h.
| #define TEST_SKIPPED 2 |
Definition at line 54 of file SDL_test_harness.h.
| #define TEST_STARTED 0 |
Definition at line 52 of file SDL_test_harness.h.
| typedef int(* SDLTest_TestCaseFp) (void *arg) |
Definition at line 67 of file SDL_test_harness.h.
| typedef void(* SDLTest_TestCaseSetUpFp) (void **arg) |
Definition at line 64 of file SDL_test_harness.h.
| typedef void(* SDLTest_TestCaseTearDownFp) (void *arg) |
Definition at line 70 of file SDL_test_harness.h.
| typedef struct SDLTest_TestSuiteRunner SDLTest_TestSuiteRunner |
Definition at line 115 of file SDL_test_harness.h.
| SDLTest_TestSuiteRunner * SDLTest_CreateTestSuiteRunner | ( | SDLTest_CommonState * | state, |
| SDLTest_TestSuiteReference * | testSuites[] ) |
| void SDLTest_DestroyTestSuiteRunner | ( | SDLTest_TestSuiteRunner * | runner | ) |
| int SDLTest_ExecuteTestSuiteRunner | ( | SDLTest_TestSuiteRunner * | runner | ) |
| char * SDLTest_GenerateRunSeed | ( | char * | buffer, |
| int | length ) |