Removed empty statements in tests.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 12 Oct 2016 23:36:49 +0200
changeset 10517563edd87e287
parent 10516 d1b9796a671d
child 10518 fe8023cff95a
Removed empty statements in tests.
test/testautomation_events.c
test/testautomation_keyboard.c
test/testautomation_sdltest.c
     1.1 --- a/test/testautomation_events.c	Wed Oct 12 23:36:29 2016 +0200
     1.2 +++ b/test/testautomation_events.c	Wed Oct 12 23:36:49 2016 +0200
     1.3 @@ -87,7 +87,7 @@
     1.4  
     1.5     /* Create user event */
     1.6     event.type = SDL_USEREVENT;
     1.7 -   event.user.code = SDLTest_RandomSint32();;
     1.8 +   event.user.code = SDLTest_RandomSint32();
     1.9     event.user.data1 = (void *)&_userdataValue1;
    1.10     event.user.data2 = (void *)&_userdataValue2;
    1.11  
    1.12 @@ -137,7 +137,7 @@
    1.13  
    1.14     /* Create user event */
    1.15     event.type = SDL_USEREVENT;
    1.16 -   event.user.code = SDLTest_RandomSint32();;
    1.17 +   event.user.code = SDLTest_RandomSint32();
    1.18     event.user.data1 = (void *)&_userdataValue1;
    1.19     event.user.data2 = (void *)&_userdataValue2;
    1.20  
     2.1 --- a/test/testautomation_keyboard.c	Wed Oct 12 23:36:29 2016 +0200
     2.2 +++ b/test/testautomation_keyboard.c	Wed Oct 12 23:36:49 2016 +0200
     2.3 @@ -401,8 +401,8 @@
     2.4     SDL_Rect refRect;
     2.5  
     2.6     /* Normal visible refRect, origin inside */
     2.7 -   refRect.x = SDLTest_RandomIntegerInRange(1, 50);;
     2.8 -   refRect.y = SDLTest_RandomIntegerInRange(1, 50);;
     2.9 +   refRect.x = SDLTest_RandomIntegerInRange(1, 50);
    2.10 +   refRect.y = SDLTest_RandomIntegerInRange(1, 50);
    2.11     refRect.w = SDLTest_RandomIntegerInRange(10, 50);
    2.12     refRect.h = SDLTest_RandomIntegerInRange(10, 50);
    2.13     _testSetTextInputRect(refRect);
    2.14 @@ -415,8 +415,8 @@
    2.15     _testSetTextInputRect(refRect);
    2.16  
    2.17     /* 1Pixel refRect */
    2.18 -   refRect.x = SDLTest_RandomIntegerInRange(10, 50);;
    2.19 -   refRect.y = SDLTest_RandomIntegerInRange(10, 50);;
    2.20 +   refRect.x = SDLTest_RandomIntegerInRange(10, 50);
    2.21 +   refRect.y = SDLTest_RandomIntegerInRange(10, 50);
    2.22     refRect.w = 1;
    2.23     refRect.h = 1;
    2.24     _testSetTextInputRect(refRect);
    2.25 @@ -450,15 +450,15 @@
    2.26     _testSetTextInputRect(refRect);
    2.27  
    2.28     /* negative refRect */
    2.29 -   refRect.x = SDLTest_RandomIntegerInRange(-200, -100);;
    2.30 -   refRect.y = SDLTest_RandomIntegerInRange(-200, -100);;
    2.31 +   refRect.x = SDLTest_RandomIntegerInRange(-200, -100);
    2.32 +   refRect.y = SDLTest_RandomIntegerInRange(-200, -100);
    2.33     refRect.w = 50;
    2.34     refRect.h = 50;
    2.35     _testSetTextInputRect(refRect);
    2.36  
    2.37     /* oversized refRect */
    2.38 -   refRect.x = SDLTest_RandomIntegerInRange(1, 50);;
    2.39 -   refRect.y = SDLTest_RandomIntegerInRange(1, 50);;
    2.40 +   refRect.x = SDLTest_RandomIntegerInRange(1, 50);
    2.41 +   refRect.y = SDLTest_RandomIntegerInRange(1, 50);
    2.42     refRect.w = 5000;
    2.43     refRect.h = 5000;
    2.44     _testSetTextInputRect(refRect);
     3.1 --- a/test/testautomation_sdltest.c	Wed Oct 12 23:36:29 2016 +0200
     3.2 +++ b/test/testautomation_sdltest.c	Wed Oct 12 23:36:49 2016 +0200
     3.3 @@ -1093,7 +1093,7 @@
     3.4    SDLTest_AssertCheck(min <= result && result <= max, "Validated returned value; expected: [%d,%d], got: %d", min, max, result);
     3.5  
     3.6    /* Range with max at integer limit */
     3.7 -  min = long_min - (Sint32)SDLTest_RandomSint16();;
     3.8 +  min = long_min - (Sint32)SDLTest_RandomSint16();
     3.9    max = long_max;
    3.10    result = SDLTest_RandomIntegerInRange(min, max);
    3.11    SDLTest_AssertPass("Call to SDLTest_RandomIntegerInRange(...,SINT32_MAX)");