فهرست منبع

testautomation/mouse: add SDLTest_AssertPass before SDL_DestroyCursor's

Anonymous Maarten 8 ماه پیش
والد
کامیت
937c41eb1c
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      test/testautomation_mouse.c

+ 3 - 0
test/testautomation_mouse.c

@@ -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()");