test/testautomation_video.c
changeset 9254 6c469ea796e4
parent 9219 c65108ddbeb0
child 9310 01f418c16580
     1.1 --- a/test/testautomation_video.c	Sun Nov 30 22:17:12 2014 +0100
     1.2 +++ b/test/testautomation_video.c	Sun Nov 30 20:55:27 2014 -0800
     1.3 @@ -740,7 +740,7 @@
     1.4    /* Call against invalid window */
     1.5    result = SDL_GetWindowGammaRamp(NULL, red, green, blue);
     1.6    SDLTest_AssertPass("Call to SDL_GetWindowGammaRamp(window=NULL,r,g,b)");
     1.7 -  SDLTest_AssertCheck(result == -1, "Validate result value; expected: -1, got: %f", result);
     1.8 +  SDLTest_AssertCheck(result == -1, "Validate result value; expected: -1, got: %i", result);
     1.9    _checkInvalidWindowError();
    1.10  
    1.11    return TEST_COMPLETED;
    1.12 @@ -1619,7 +1619,7 @@
    1.13  
    1.14    /* Set data with NULL to clear */
    1.15    result = (char *)SDL_SetWindowData(window, name, NULL);
    1.16 -  SDLTest_AssertPass("Call to SDL_SetWindowData(...%s,NULL)", name, userdata);
    1.17 +  SDLTest_AssertPass("Call to SDL_SetWindowData(...%s,NULL)", name);
    1.18    SDLTest_AssertCheck(SDL_strcmp(referenceUserdata2, result) == 0, "Validate that correct result was returned; expected: %s, got: %s", referenceUserdata2, result);
    1.19    SDLTest_AssertCheck(SDL_strcmp(referenceName, name) == 0, "Validate that name was not changed, expected: %s, got: %s", referenceName, name);
    1.20    SDLTest_AssertCheck(SDL_strcmp(referenceUserdata, userdata) == 0, "Validate that userdata was not changed, expected: %s, got: %s", referenceUserdata, userdata);
    1.21 @@ -1627,7 +1627,7 @@
    1.22  
    1.23    /* Set data with NULL to clear again */
    1.24    result = (char *)SDL_SetWindowData(window, name, NULL);
    1.25 -  SDLTest_AssertPass("Call to SDL_SetWindowData(...%s,NULL) [again]", name, userdata);
    1.26 +  SDLTest_AssertPass("Call to SDL_SetWindowData(...%s,NULL) [again]", name);
    1.27    SDLTest_AssertCheck(result == NULL, "Validate that result is NULL");
    1.28    SDLTest_AssertCheck(SDL_strcmp(referenceName, name) == 0, "Validate that name was not changed, expected: %s, got: %s", referenceName, name);
    1.29    SDLTest_AssertCheck(SDL_strcmp(referenceUserdata, userdata) == 0, "Validate that userdata was not changed, expected: %s, got: %s", referenceUserdata, userdata);