test/testautomation_clipboard.c
changeset 6822 18f6818ba281
parent 6769 b49778d885cd
child 7144 c700de9c8ed4
     1.1 --- a/test/testautomation_clipboard.c	Wed Jan 23 08:03:19 2013 -0800
     1.2 +++ b/test/testautomation_clipboard.c	Thu Jan 24 07:58:59 2013 -0800
     1.3 @@ -118,9 +118,9 @@
     1.4  		charResult != NULL,
     1.5  		"Verify SDL_GetClipboardText did not return NULL");
     1.6  	SDLTest_AssertCheck(
     1.7 -		strlen(charResult) == 0,
     1.8 +		SDL_strlen(charResult) == 0,
     1.9  		"Verify SDL_GetClipboardText returned string with length 0, got length %i",
    1.10 -		strlen(charResult));
    1.11 +		SDL_strlen(charResult));
    1.12      intResult = SDL_SetClipboardText((const char *)text);
    1.13  	SDLTest_AssertPass("Call to SDL_SetClipboardText succeeded");
    1.14  	SDLTest_AssertCheck(
    1.15 @@ -128,7 +128,7 @@
    1.16  		"Verify result from SDL_SetClipboardText(NULL), expected 0, got %i",
    1.17  		intResult);
    1.18  	SDLTest_AssertCheck(
    1.19 -		strcmp(textRef, text) == 0,
    1.20 +		SDL_strcmp(textRef, text) == 0,
    1.21  		"Verify SDL_SetClipboardText did not modify input string, expected '%s', got '%s'",
    1.22  		textRef, text);
    1.23  	boolResult = SDL_HasClipboardText();