Home
last modified time | relevance | path

Searched refs:testError (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/SDL2/test/
A Dtestautomation_platform.c283 const char *testError = "Testing"; in platform_testGetSetClearError() local
301 result = SDL_SetError("%s", testError); in platform_testGetSetClearError()
310 SDLTest_AssertCheck(len == SDL_strlen(testError), in platform_testGetSetClearError()
312 (int) SDL_strlen(testError), in platform_testGetSetClearError()
314 SDLTest_AssertCheck(SDL_strcmp(lastError, testError) == 0, in platform_testGetSetClearError()
316 testError, in platform_testGetSetClearError()
335 const char *testError = ""; in platform_testSetErrorEmptyInput() local
339 result = SDL_SetError("%s", testError); in platform_testSetErrorEmptyInput()
348 SDLTest_AssertCheck(len == SDL_strlen(testError), in platform_testSetErrorEmptyInput()
350 (int) SDL_strlen(testError), in platform_testSetErrorEmptyInput()
[all …]

Completed in 4 milliseconds