Andreas Schiffler
721340f510
Add input validation to SDL_getenv/SDL_setenv; update Stdlib testsuite; add Hints testsuite
2014-03-19 21:39:55 -07:00
Gabriel Jacobo
5e78879e76
More non C89 compliant comments
2013-08-20 20:34:40 -03:00
Sam Lantinga
03210bff7e
Added the beginning of automated tests for the standard C library routines.
...
Implemented more SDL_snprintf format specifiers.
2013-05-24 03:23:21 -07:00
Sam Lantinga
0cb6385637
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
Andreas Schiffler
985951f70e
Add pixels test suite; add a test to pixel suite; minor updates to test code to make VisualStudio happy
2013-05-01 22:14:29 -07:00
Jørgen P. Tjernø
f85aeb98c7
Don't clobber refcounting in SDL_Init.
...
- Fixes bug 1712 by not overwriting SDL_SubsystemRefCount in SDL_Init.
- Removes the SDL_initialized variable, and makes SDL_SubsystemRefCount
the canonical source of truth for whether or not a subsystem has been
initialized.
- Refactors SDL_InitSubSystem and SDL_QuitSubSystem to use helper
functions to manage refcount.
- Adds automated tests for SDL_Init/Quit*.
- Adds SDL_bits.h which contains SDL_MostSignificantBitIndex.
2013-02-12 11:47:31 -08:00
Andreas Schiffler
da76be8927
Add SDL_test test suite; add fuzzer test cases; fix fuzzer bug; fix compiler warnings
2013-02-08 07:14:50 -08:00
Andreas Schiffler
a971c6b291
Added timer test suite
2013-01-14 08:14:53 -08:00
Andreas Schiffler
5220df817b
Add new test suite (mouse) with a few new tests
2013-01-06 18:19:30 -08:00
Andreas Schiffler
687ba034f6
Add new test suites (events, keyboard, syswm, video) with a few new tests each
2013-01-06 15:17:59 -08:00
Andreas Schiffler
9ddb1f459d
Add surface test suite; minor improvements to render suite; refactor image saving into test lib compare function; fix for Haiku build
2012-12-26 22:26:44 -08:00
Andreas Schiffler
d9a9083464
Added audio test suite; minor code cleanups in test lib
2012-12-24 14:43:57 -08:00
Sam Lantinga
fff2381298
Added the automation test to the autoconf build system
...
--HG--
rename : test/tests/testclipboard.c => test/testautomation_clipboard.c
rename : test/tests/testplatform.c => test/testautomation_platform.c
rename : test/tests/testrect.c => test/testautomation_rect.c
rename : test/tests/testrender.c => test/testautomation_render.c
rename : test/tests/testrwops.c => test/testautomation_rwops.c
rename : test/tests/testsuites.h => test/testautomation_suites.h
2012-12-22 17:24:42 -08:00