mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2024-11-27 12:00:35 +00:00
testautomation/mouse: add SDLTest_AssertPass before SDL_DestroyCursor's
This commit is contained in:
parent
08661166e9
commit
937c41eb1c
@ -206,6 +206,7 @@ static int mouse_createFreeCursor(void *arg)
|
||||
}
|
||||
|
||||
/* Free cursor again */
|
||||
SDLTest_AssertPass("About to call SDL_DestroyCursor()");
|
||||
SDL_DestroyCursor(cursor);
|
||||
SDLTest_AssertPass("Call to SDL_DestroyCursor()");
|
||||
|
||||
@ -240,6 +241,7 @@ static int mouse_createFreeColorCursor(void *arg)
|
||||
}
|
||||
|
||||
/* Free cursor again */
|
||||
SDLTest_AssertPass("About to call SDL_DestroyCursor()");
|
||||
SDL_DestroyCursor(cursor);
|
||||
SDLTest_AssertPass("Call to SDL_DestroyCursor()");
|
||||
|
||||
@ -319,6 +321,7 @@ static int mouse_setCursor(void *arg)
|
||||
SDLTest_AssertPass("Call to SDL_SetCursor(NULL)");
|
||||
|
||||
/* Free cursor again */
|
||||
SDLTest_AssertPass("About to call SDL_DestroyCursor()");
|
||||
SDL_DestroyCursor(cursor);
|
||||
SDLTest_AssertPass("Call to SDL_DestroyCursor()");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user