Corrected spelling in C source files of test suites.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sun, 05 May 2013 12:47:44 +0200
changeset 7144c700de9c8ed4
parent 7143 fa117b9cc89b
child 7145 4552268486f2
Corrected spelling in C source files of test suites.
test/testautomation_clipboard.c
test/testautomation_main.c
test/testautomation_mouse.c
test/testautomation_sdltest.c
test/testautomation_timer.c
     1.1 --- a/test/testautomation_clipboard.c	Sat May 04 22:44:03 2013 +0200
     1.2 +++ b/test/testautomation_clipboard.c	Sun May 05 12:47:44 2013 +0200
     1.3 @@ -96,7 +96,7 @@
     1.4  	SDLTest_AssertPass("Call to SDL_HasClipboardText succeeded");
     1.5  	if (boolResult == SDL_TRUE) {
     1.6          intResult = SDL_SetClipboardText((const char *)NULL);
     1.7 -		SDLTest_AssertPass("Call to DL_SetClipboardText(NULL) succeeded");
     1.8 +        SDLTest_AssertPass("Call to SDL_SetClipboardText(NULL) succeeded");
     1.9  	    SDLTest_AssertCheck(
    1.10  			intResult == 0,
    1.11  			"Verify result from SDL_SetClipboardText(NULL), expected 0, got %i",
     2.1 --- a/test/testautomation_main.c	Sat May 04 22:44:03 2013 +0200
     2.2 +++ b/test/testautomation_main.c	Sun May 05 12:47:44 2013 +0200
     2.3 @@ -76,7 +76,7 @@
     2.4      initialized_system = SDL_WasInit(joy_and_controller);
     2.5      SDLTest_AssertCheck( (initialized_system & joy_and_controller) == joy_and_controller, "SDL_WasInit() should be true for joystick & controller (%x)", initialized_system );
     2.6  
     2.7 -    // Then quit the controller, and make sure that imlicity also quits the
     2.8 +    // Then quit the controller, and make sure that implicitly also quits the
     2.9      // joystick subsystem
    2.10      SDL_QuitSubSystem(SDL_INIT_GAMECONTROLLER);
    2.11      initialized_system = SDL_WasInit(joy_and_controller);
     3.1 --- a/test/testautomation_mouse.c	Sat May 04 22:44:03 2013 +0200
     3.2 +++ b/test/testautomation_mouse.c	Sun May 05 12:47:44 2013 +0200
     3.3 @@ -403,7 +403,7 @@
     3.4          SDLTest_AssertPass("Call to SDL_GetRelativeMouseMode()");
     3.5          SDLTest_AssertCheck(currentState == SDL_FALSE, "Validate current state is FALSE, got: %i", currentState);
     3.6          
     3.7 -        /* Revert to originl state - ignore result */
     3.8 +        /* Revert to original state - ignore result */
     3.9          result = SDL_SetRelativeMouseMode(initialState);
    3.10  
    3.11  	return TEST_COMPLETED;
     4.1 --- a/test/testautomation_sdltest.c	Sat May 04 22:44:03 2013 +0200
     4.2 +++ b/test/testautomation_sdltest.c	Sun May 05 12:47:44 2013 +0200
     4.3 @@ -1169,7 +1169,7 @@
     4.4           nonAsciiCharacters++;
     4.5         }
     4.6       }
     4.7 -     SDLTest_AssertCheck(nonAsciiCharacters == 0, "Validate that result does not contain non-Ascii characters, got: %d", nonAsciiCharacters);
     4.8 +     SDLTest_AssertCheck(nonAsciiCharacters == 0, "Validate that result does not contain non-ASCII characters, got: %d", nonAsciiCharacters);
     4.9       if (nonAsciiCharacters) {
    4.10       	SDLTest_LogError("Invalid result from generator: '%s'", result);
    4.11       }
     5.1 --- a/test/testautomation_timer.c	Sat May 04 22:44:03 2013 +0200
     5.2 +++ b/test/testautomation_timer.c	Sun May 05 12:47:44 2013 +0200
     5.3 @@ -90,7 +90,7 @@
     5.4    SDLTest_AssertPass("Call to SDL_GetTicks()");
     5.5    SDLTest_AssertCheck(result > 0, "Check result value, expected: >0, got: %d", result);
     5.6  
     5.7 -  /* Delay a bit longer and mesure ticks and verify difference */
     5.8 +  /* Delay a bit longer and measure ticks and verify difference */
     5.9    SDL_Delay(testDelay);
    5.10    SDLTest_AssertPass("Call to SDL_Delay(%d)", testDelay);
    5.11    result2 = SDL_GetTicks();
    5.12 @@ -144,7 +144,7 @@
    5.13    SDLTest_AssertCheck(result == SDL_TRUE, "Check result value, expected: %i, got: %i", SDL_TRUE, result);
    5.14    SDLTest_AssertCheck(_timerCallbackCalled == 0, "Check callback WAS NOT called, expected: 0, got: %i", _timerCallbackCalled);
    5.15  
    5.16 -  /* Try to temove timer again (should be a NOOP) */
    5.17 +  /* Try to remove timer again (should be a NOOP) */
    5.18    result = SDL_RemoveTimer(id);
    5.19    SDLTest_AssertPass("Call to SDL_RemoveTimer()");
    5.20    SDLTest_AssertCheck(result == SDL_FALSE, "Check result value, expected: %i, got: %i", SDL_FALSE, result);