test/testautomation_rwops.c
changeset 6814 fccdef204fcf
parent 6781 17a9b53a5ac3
child 6819 afef68703f54
equal deleted inserted replaced
6813:b21879e67db2 6814:fccdef204fcf
   330    }
   330    }
   331 
   331 
   332    /* Run generic tests */
   332    /* Run generic tests */
   333    _testGenericRWopsValidations( rw, 0 );
   333    _testGenericRWopsValidations( rw, 0 );
   334 
   334 
   335    /* Close handle */
   335    /* Close handle - does fclose() */
   336    SDL_RWclose(rw);
   336    SDL_RWclose(rw);
   337    SDLTest_AssertPass("Call to SDL_RWclose() succeeded");
   337    SDLTest_AssertPass("Call to SDL_RWclose() succeeded");
   338    fclose(fp);
       
   339 
   338 
   340    return TEST_COMPLETED;
   339    return TEST_COMPLETED;
   341 }
   340 }
   342 
   341 
   343 
   342 
   374    }
   373    }
   375 
   374 
   376    /* Run generic tests */
   375    /* Run generic tests */
   377    _testGenericRWopsValidations( rw, 1 );
   376    _testGenericRWopsValidations( rw, 1 );
   378 
   377 
   379    /* Close handle */
   378    /* Close handle - does fclose() */
   380    SDL_RWclose(rw);
   379    SDL_RWclose(rw);
   381    SDLTest_AssertPass("Call to SDL_RWclose() succeeded");
   380    SDLTest_AssertPass("Call to SDL_RWclose() succeeded");
   382    fclose(fp);
       
   383 
   381 
   384    return TEST_COMPLETED;
   382    return TEST_COMPLETED;
   385 }
   383 }
   386 
   384 
   387 /**
   385 /**