Home | History | Annotate | Download | only in test

Lines Matching defs:lastError

288    char *lastError;
294 lastError = (char *)SDL_GetError();
296 SDLTest_AssertCheck(lastError != NULL,
298 if (lastError != NULL)
300 len = SDL_strlen(lastError);
308 lastError = (char *)SDL_GetError();
309 SDLTest_AssertCheck(lastError != NULL,
311 if (lastError != NULL)
313 len = SDL_strlen(lastError);
318 SDLTest_AssertCheck(SDL_strcmp(lastError, testError) == 0,
321 lastError);
340 char *lastError;
346 lastError = (char *)SDL_GetError();
347 SDLTest_AssertCheck(lastError != NULL,
349 if (lastError != NULL)
351 len = SDL_strlen(lastError);
356 SDLTest_AssertCheck(SDL_strcmp(lastError, testError) == 0,
359 lastError);
379 char *lastError;
390 lastError = (char *)SDL_GetError();
391 SDLTest_AssertCheck(lastError != NULL,
393 if (lastError != NULL)
395 len = SDL_strlen(lastError);
400 SDLTest_AssertCheck(SDL_strcmp(lastError, "") == 0,
402 lastError);
414 lastError = (char *)SDL_GetError();
415 SDLTest_AssertCheck(lastError != NULL,
417 if (lastError != NULL)
419 len = SDL_strlen(lastError);
424 SDLTest_AssertCheck(SDL_strcmp(lastError, probeError) == 0,
427 lastError);
438 lastError = (char *)SDL_GetError();
439 SDLTest_AssertCheck(lastError != NULL,
441 if (lastError != NULL)
443 len = SDL_strlen(lastError);
448 SDLTest_AssertCheck(SDL_strcmp(lastError, probeError) == 0,
451 lastError);