Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
SDL_test_harness.h File Reference
Include file for SDL test framework. More...
Go to the source code of this file.
Data Structures | |
| struct | SDLTest_TestCaseReference |
| Holds information about a single test case. More... | |
| struct | SDLTest_TestSuiteReference |
| Holds information about a test suite (multiple test cases). More... | |
Typedefs | |
| 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). | |
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. | |
Detailed Description
Include file for SDL test framework.
This code is a part of the SDL2_test library, not the main SDL library.
Definition in file SDL_test_harness.h.
Typedef Documentation
| 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).
Function Documentation
| 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.
- Parameters:
-
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.
- Returns:
- Test run result; 0 when all tests passed, 1 if any tests failed.
Generated on Tue Jul 12 2022 13:56:26 by
1.7.2