SDL
2.0
|
Go to the source code of this file.
Functions | |
void | _timerSetUp (void *arg) |
int | timer_getPerformanceCounter (void *arg) |
Call to SDL_GetPerformanceCounter. More... | |
int | timer_getPerformanceFrequency (void *arg) |
Call to SDL_GetPerformanceFrequency. More... | |
int | timer_delayAndGetTicks (void *arg) |
Call to SDL_Delay and SDL_GetTicks. More... | |
Uint32 | _timerTestCallback (Uint32 interval, void *param) |
int | timer_addRemoveTimer (void *arg) |
Call to SDL_AddTimer and SDL_RemoveTimer. More... | |
Variables | |
int | _paramCheck = 0 |
int | _paramValue = 0 |
int | _timerCallbackCalled = 0 |
static const SDLTest_TestCaseReference | timerTest1 |
static const SDLTest_TestCaseReference | timerTest2 |
static const SDLTest_TestCaseReference | timerTest3 |
static const SDLTest_TestCaseReference | timerTest4 |
static const SDLTest_TestCaseReference * | timerTests [] |
SDLTest_TestSuiteReference | timerTestSuite |
Definition at line 22 of file testautomation_timer.c.
References SDL_GetError, SDL_INIT_TIMER, SDL_InitSubSystem, SDLTest_AssertCheck(), SDLTest_AssertPass(), and SDLTest_LogError().
Definition at line 107 of file testautomation_timer.c.
References _paramCheck, _paramValue, _timerCallbackCalled, NULL, and SDLTest_AssertCheck().
Referenced by timer_addRemoveTimer().
int timer_addRemoveTimer | ( | void * | arg | ) |
Call to SDL_AddTimer and SDL_RemoveTimer.
Definition at line 125 of file testautomation_timer.c.
References _paramCheck, _paramValue, _timerCallbackCalled, _timerTestCallback(), NULL, SDL_AddTimer, SDL_Delay, SDL_FALSE, SDL_RemoveTimer, SDL_TRUE, SDLTest_AssertCheck(), SDLTest_AssertPass(), SDLTest_RandomIntegerInRange(), and TEST_COMPLETED.
int timer_delayAndGetTicks | ( | void * | arg | ) |
Call to SDL_Delay and SDL_GetTicks.
Definition at line 69 of file testautomation_timer.c.
References SDL_Delay, SDL_GetTicks(), SDLTest_AssertCheck(), SDLTest_AssertPass(), SDLTest_RandomIntegerInRange(), and TEST_COMPLETED.
int timer_getPerformanceCounter | ( | void * | arg | ) |
Call to SDL_GetPerformanceCounter.
Definition at line 39 of file testautomation_timer.c.
References SDL_GetPerformanceCounter, SDL_PRIu64, SDLTest_AssertCheck(), SDLTest_AssertPass(), and TEST_COMPLETED.
int timer_getPerformanceFrequency | ( | void * | arg | ) |
Call to SDL_GetPerformanceFrequency.
Definition at line 54 of file testautomation_timer.c.
References SDL_GetPerformanceFrequency(), SDL_PRIu64, SDLTest_AssertCheck(), SDLTest_AssertPass(), and TEST_COMPLETED.
int _paramCheck = 0 |
Timer test suite
Definition at line 11 of file testautomation_timer.c.
Referenced by _timerTestCallback(), and timer_addRemoveTimer().
int _paramValue = 0 |
Definition at line 14 of file testautomation_timer.c.
Referenced by _timerTestCallback(), and timer_addRemoveTimer().
int _timerCallbackCalled = 0 |
Definition at line 17 of file testautomation_timer.c.
Referenced by _timerTestCallback(), and timer_addRemoveTimer().
|
static |
Definition at line 178 of file testautomation_timer.c.
|
static |
Definition at line 181 of file testautomation_timer.c.
|
static |
Definition at line 184 of file testautomation_timer.c.
|
static |
Definition at line 187 of file testautomation_timer.c.
|
static |
Definition at line 191 of file testautomation_timer.c.
SDLTest_TestSuiteReference timerTestSuite |
Definition at line 196 of file testautomation_timer.c.