Home | History | Annotate | Download | only in test

Lines Matching defs:lastError

157   char *lastError;
226 lastError = (char *)SDL_GetError();
228 SDLTest_AssertCheck(lastError == NULL || lastError[0] == '\0', "Validate no error message was set");
236 lastError = (char *)SDL_GetError();
238 SDLTest_AssertCheck(lastError == NULL || lastError[0] == '\0', "Validate no error message was set");
246 lastError = (char *)SDL_GetError();
248 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0,
251 lastError);
267 char *lastError;
336 lastError = (char *)SDL_GetError();
338 SDLTest_AssertCheck(lastError == NULL || lastError[0] == '\0', "Validate no error message was set");
346 lastError = (char *)SDL_GetError();
348 SDLTest_AssertCheck(lastError == NULL || lastError[0] == '\0', "Validate no error message was set");
356 lastError = (char *)SDL_GetError();
358 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0,
361 lastError);
377 char *lastError;
446 lastError = (char *)SDL_GetError();
448 SDLTest_AssertCheck(lastError == NULL || lastError[0] == '\0', "Validate no error message was set");
456 lastError = (char *)SDL_GetError();
458 SDLTest_AssertCheck(lastError == NULL || lastError[0] == '\0', "Validate no error message was set");
466 lastError = (char *)SDL_GetError();
468 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0,
471 lastError);
487 char *lastError;
556 lastError = (char *)SDL_GetError();
558 SDLTest_AssertCheck(lastError == NULL || lastError[0] == '\0', "Validate no error message was set");
566 lastError = (char *)SDL_GetError();
568 SDLTest_AssertCheck(lastError == NULL || lastError[0] == '\0', "Validate no error message was set");
576 lastError = (char *)SDL_GetError();
578 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0,
581 lastError);
597 char *lastError;
666 lastError = (char *)SDL_GetError();
668 SDLTest_AssertCheck(lastError == NULL || lastError[0] == '\0', "Validate no error message was set");
676 lastError = (char *)SDL_GetError();
678 SDLTest_AssertCheck(lastError == NULL || lastError[0] == '\0', "Validate no error message was set");
686 lastError = (char *)SDL_GetError();
688 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0,
691 lastError);
707 char *lastError;
776 lastError = (char *)SDL_GetError();
778 SDLTest_AssertCheck(lastError == NULL || lastError[0] == '\0', "Validate no error message was set");
786 lastError = (char *)SDL_GetError();
788 SDLTest_AssertCheck(lastError == NULL || lastError[0] == '\0', "Validate no error message was set");
796 lastError = (char *)SDL_GetError();
798 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0,
801 lastError);
817 char *lastError;
893 lastError = (char *)SDL_GetError();
895 SDLTest_AssertCheck(lastError == NULL || lastError[0] == '\0', "Validate no error message was set");
903 lastError = (char *)SDL_GetError();
905 SDLTest_AssertCheck(lastError == NULL || lastError[0] == '\0', "Validate no error message was set");
913 lastError = (char *)SDL_GetError();
915 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0,
918 lastError);
934 char *lastError;
1003 lastError = (char *)SDL_GetError();
1005 SDLTest_AssertCheck(lastError == NULL || lastError[0] == '\0', "Validate no error message was set");
1013 lastError = (char *)SDL_GetError();
1015 SDLTest_AssertCheck(lastError == NULL || lastError[0] == '\0', "Validate no error message was set");
1023 lastError = (char *)SDL_GetError();
1025 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0,
1028 lastError);
1153 char* lastError;
1185 lastError = (char *)SDL_GetError();
1187 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0,
1190 lastError);
1206 char* lastError;
1239 lastError = (char *)SDL_GetError();
1241 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0,
1244 lastError);