Commit Graph

46 Commits

Author SHA1 Message Date
Andreas Schiffler
71caea56e8 Add clipboard tests 2011-10-29 23:34:19 -07:00
Andreas Schiffler
59aaf65fd5 Refactored audio device enumeration/naming tests ana added negative cases 2011-10-05 08:08:06 -07:00
Andreas Schiffler
52ef3c93ec Add tests for SDL_RectEquals and empty rectangle cases 2011-09-17 22:37:31 -07:00
Andreas Schiffler
77acc926f7 Add test cases for SDL_RectEmpty 2011-09-16 08:26:20 -07:00
Andreas Schiffler
fdf9d2c853 Added tests for SDL_UnionRect to testrect suite 2011-09-15 08:21:54 -07:00
Andreas Schiffler
fefed71ec5 Added tests for SDL_EnclosePoints. 2011-09-12 09:00:34 -07:00
Andreas Schiffler
8e3c6688a7 Refactored IntersectRectAndLine tests and increased coverage 2011-09-06 23:51:46 -07:00
Andreas Schiffler
a5f6fa789f Added tests for SDL_HasIntersection; added negative parameter tests; refactored existing test code 2011-09-04 20:37:01 -07:00
Andreas Schiffler
cd72032cea Added tests to testrect suite. Simple logger improvements. Fixed int-range fuzzer. 2011-09-04 14:57:10 -07:00
Markus Kauppila
1abbc9b839 Minor cleaning. 2011-08-28 22:18:56 +03:00
Markus Kauppila
b688d51602 Added elementary fuzzer-randgen invocation count. 2011-08-28 22:06:56 +03:00
Markus Kauppila
8cf1257081 Test cases executed in their own process can now bail out if
assertion fails.

Note: Bailing out doesn't work with --in-proc option.
2011-08-28 21:00:38 +03:00
Markus Kauppila
dadc383a40 Created SetUp and TearDown functions for testrwops suite. 2011-08-28 11:55:54 +03:00
Markus Kauppila
9f2382d3e9 Fixed unit float and unit double generators. 2011-08-17 12:57:14 +03:00
Markus Kauppila
b9e0078d9e Renamed RandomInteger to RandomSint32 and RandomUnsignedInteger
to RandomUint32.
2011-08-17 11:44:57 +03:00
Markus Kauppila
8c2769cf10 Fixes based on CR.
Some tests in rwops suite broken up to smaller tests.
2011-08-15 21:41:28 +03:00
Markus Kauppila
09c62ea0e7 Cleaning up render test suite. 2011-08-15 19:18:59 +03:00
Markus Kauppila
ab77326e9e Renamed tests in dummy suite. 2011-08-14 21:36:43 +03:00
Markus Kauppila
6c09fb6fa1 Updating dummy test suite. 2011-08-14 21:05:08 +03:00
Markus Kauppila
57a595a0ef Cleaning up render test suite. 2011-08-14 14:38:19 +03:00
Markus Kauppila
1f7455097c Ported tests from "./tests/automated/render" 2011-08-13 19:00:39 +03:00
Markus Kauppila
87469b9341 Fixed the doxygen markup. 2011-08-11 22:26:33 +03:00
Markus Kauppila
6c0ec1e85c Cleaned up the rwops test suite. 2011-08-11 22:07:14 +03:00
Markus Kauppila
97bfb01768 Added random number generators for Uint8, Sint8, Uint16, Sint16,
Uint64 and Sint64.
2011-08-11 12:48:45 +03:00
Markus Kauppila
5d5b972d0b Fixing previous commit. Forgot to add a few files. 2011-08-10 17:01:22 +03:00
Markus Kauppila
fb6871ea7f Ported rwops test suite. 2011-08-10 16:55:30 +03:00
Markus Kauppila
cef23e1f23 Refactored the fuzzer a bit. 2011-08-10 00:11:38 +03:00
Markus Kauppila
2930bc3bf6 Disabled an empty test. 2011-08-09 18:45:29 +03:00
Markus Kauppila
830a156c74 Added test suites testevent and testkeyboard. 2011-08-09 18:40:14 +03:00
Markus Kauppila
806ef205da Added new test suites testvideo, testsyswm and testclipboard. 2011-08-09 18:20:48 +03:00
Andreas Schiffler
0fabac4d15 Added test cases for SDL_GetNumRenderDrivers and SDL_CreateRenderer and removed stub test case 2011-08-06 13:52:48 -07:00
Markus Kauppila
249256f286 Trying to fix linux compatibility -> libSDLtest.* is now installed
to /usr/local/lib.
2011-08-06 21:32:59 +03:00
Markus Kauppila
c881094c4a Fixed a bunch of compiler warnings. 2011-08-06 19:49:37 +03:00
Markus Kauppila
9f3d7d915b Created data directory for test data.
Fixed platform test suite.
2011-08-06 18:29:14 +03:00
Markus Kauppila
131443d044 Reorganizing the project. 2011-08-06 17:35:58 +03:00
Markus Kauppila
2ed100a0cc Converted libtest to a more proper dummy test suite (libtestdummy). 2011-06-06 18:15:19 +03:00
Markus Kauppila
6e6d706e75 Refactoring the TestCaseInit and TestCaseQuit functions
to be caller from the Runner.
2011-06-04 17:50:23 +03:00
Markus Kauppila
991519d59d Ported testrect from original automation code, updated AssertEquals, added AssertTrue 2011-06-01 18:03:09 -07:00
Markus Kauppila
b96acda96a Moved tests/SDL_test.{c,h} 2011-05-30 21:57:04 +03:00
Markus Kauppila
9ef336918a Refactoring the code (runner.c).
Adding support for executing tests in-proc.
2011-05-30 12:55:40 +03:00
Markus Kauppila
79359313d4 Added doxygen-compatible comments 2011-05-30 11:53:59 +03:00
Andreas Schiffler
40bfbbdbf9 Fixed global suite declaration segfault via external linkage declaration 2011-05-26 20:13:49 -07:00
Markus Kauppila
e022f90b60 Little fixes here and there. 2011-05-26 19:57:03 +03:00
Markus Kauppila
7a278b2f78 Added TestCaseReference structure. 2011-05-26 19:19:46 +03:00
Markus Kauppila
94e6e4cea9 Refactoring the massive main() to smaller functions. 2011-05-26 18:38:56 +03:00
Markus Kauppila
09e6c52b0e New automake-based build process. 2011-05-25 18:53:48 +03:00