36 SDLTest_Log((result ==
SDL_TRUE) ?
"Got window information" :
"Couldn't get window information");
static const SDLTest_TestCaseReference * syswmTests[]
void SDLTest_AssertPass(SDL_PRINTF_FORMAT_STRING const char *assertDescription,...) SDL_PRINTF_VARARG_FUNC(1)
Explicitly pass without checking an assertion condition. Updates assertion counter.
static const SDLTest_TestCaseReference syswmTest1
SDLTest_TestSuiteReference syswmTestSuite
#define SDL_VERSION(x)
Macro to determine SDL version program was compiled against.
int(* SDLTest_TestCaseFp)(void *arg)
int SDLTest_AssertCheck(int assertCondition, SDL_PRINTF_FORMAT_STRING const char *assertDescription,...) SDL_PRINTF_VARARG_FUNC(2)
Assert for test cases that logs but does not break execution flow on failures. Updates assertion coun...
#define SDL_GetWindowWMInfo
int syswm_getWindowWMInfo(void *arg)
Call to SDL_GetWindowWMInfo.
EGLSurface EGLNativeWindowType * window
The type used to identify a window.
void SDLTest_Log(SDL_PRINTF_FORMAT_STRING const char *fmt,...) SDL_PRINTF_VARARG_FUNC(1)
Prints given message with a timestamp in the TEST category and INFO priority.
#define SDL_DestroyWindow