MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / _timerSetUp

Function _timerSetUp

deps/SDL2/test/testautomation_timer.c:21–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19/* Fixture */
20
21void
22_timerSetUp(void *arg)
23{
24 /* Start SDL timer subsystem */
25 int ret = SDL_InitSubSystem( SDL_INIT_TIMER );
26 SDLTest_AssertPass("Call to SDL_InitSubSystem(SDL_INIT_TIMER)");
27 SDLTest_AssertCheck(ret==0, "Check result from SDL_InitSubSystem(SDL_INIT_TIMER)");
28 if (ret != 0) {
29 SDLTest_LogError("%s", SDL_GetError());
30 }
31}
32
33/* Test case functions */
34

Callers

nothing calls this directly

Calls 5

SDL_InitSubSystemFunction · 0.85
SDLTest_AssertPassFunction · 0.85
SDLTest_AssertCheckFunction · 0.85
SDLTest_LogErrorFunction · 0.85
SDL_GetErrorFunction · 0.85

Tested by

no test coverage detected