Commit graph

46 commits

Author SHA1 Message Date
Andreas Schiffler
ab5d30e6b4 Add clipboard tests 2011-10-29 23:34:19 -07:00
Andreas Schiffler
b1bd23a25d Refactored audio device enumeration/naming tests ana added negative cases 2011-10-05 08:08:06 -07:00
Andreas Schiffler
e9174b8226 Add tests for SDL_RectEquals and empty rectangle cases 2011-09-17 22:37:31 -07:00
Andreas Schiffler
9d8f2b6917 Add test cases for SDL_RectEmpty 2011-09-16 08:26:20 -07:00
Andreas Schiffler
13e13cd331 Added tests for SDL_UnionRect to testrect suite 2011-09-15 08:21:54 -07:00
Andreas Schiffler
d1cc70ba65 Added tests for SDL_EnclosePoints. 2011-09-12 09:00:34 -07:00
Andreas Schiffler
d9a3255b23 Refactored IntersectRectAndLine tests and increased coverage 2011-09-06 23:51:46 -07:00
Andreas Schiffler
be0531f0fc Added tests for SDL_HasIntersection; added negative parameter tests; refactored existing test code 2011-09-04 20:37:01 -07:00
Andreas Schiffler
6584aa6a03 Added tests to testrect suite. Simple logger improvements. Fixed int-range fuzzer. 2011-09-04 14:57:10 -07:00
Markus Kauppila
1a84329937 Minor cleaning. 2011-08-28 22:18:56 +03:00
Markus Kauppila
f4870f3996 Added elementary fuzzer-randgen invocation count. 2011-08-28 22:06:56 +03:00
Markus Kauppila
87e1417923 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
45e6823e5f Created SetUp and TearDown functions for testrwops suite. 2011-08-28 11:55:54 +03:00
Markus Kauppila
8632b5f433 Fixed unit float and unit double generators. 2011-08-17 12:57:14 +03:00
Markus Kauppila
7d8de2d4ba Renamed RandomInteger to RandomSint32 and RandomUnsignedInteger
to RandomUint32.
2011-08-17 11:44:57 +03:00
Markus Kauppila
cdb6aa7fcf Fixes based on CR.
Some tests in rwops suite broken up to smaller tests.
2011-08-15 21:41:28 +03:00
Markus Kauppila
d5a4d0b8bd Cleaning up render test suite. 2011-08-15 19:18:59 +03:00
Markus Kauppila
2832493550 Renamed tests in dummy suite. 2011-08-14 21:36:43 +03:00
Markus Kauppila
6c319b5d2b Updating dummy test suite. 2011-08-14 21:05:08 +03:00
Markus Kauppila
04b2c7e316 Cleaning up render test suite. 2011-08-14 14:38:19 +03:00
Markus Kauppila
e89d876fc6 Ported tests from "./tests/automated/render" 2011-08-13 19:00:39 +03:00
Markus Kauppila
2080edeea3 Fixed the doxygen markup. 2011-08-11 22:26:33 +03:00
Markus Kauppila
9ffc5e8ef0 Cleaned up the rwops test suite. 2011-08-11 22:07:14 +03:00
Markus Kauppila
8e4d708560 Added random number generators for Uint8, Sint8, Uint16, Sint16,
Uint64 and Sint64.
2011-08-11 12:48:45 +03:00
Markus Kauppila
313edeffaa Fixing previous commit. Forgot to add a few files. 2011-08-10 17:01:22 +03:00
Markus Kauppila
b96fa6da9a Ported rwops test suite. 2011-08-10 16:55:30 +03:00
Markus Kauppila
9c7ff0059f Refactored the fuzzer a bit. 2011-08-10 00:11:38 +03:00
Markus Kauppila
49879f48fe Disabled an empty test. 2011-08-09 18:45:29 +03:00
Markus Kauppila
04ff51483f Added test suites testevent and testkeyboard. 2011-08-09 18:40:14 +03:00
Markus Kauppila
c6bc7ef7af Added new test suites testvideo, testsyswm and testclipboard. 2011-08-09 18:20:48 +03:00
Andreas Schiffler
68633ef568 Added test cases for SDL_GetNumRenderDrivers and SDL_CreateRenderer and removed stub test case 2011-08-06 13:52:48 -07:00
Markus Kauppila
7ffad15a4a Trying to fix linux compatibility -> libSDLtest.* is now installed
to /usr/local/lib.
2011-08-06 21:32:59 +03:00
Markus Kauppila
2253de34fe Fixed a bunch of compiler warnings. 2011-08-06 19:49:37 +03:00
Markus Kauppila
ac5e095903 Created data directory for test data.
Fixed platform test suite.

--HG--
rename : test/test-automation/icon.bmp => test/test-automation/data/images/icon.bmp
2011-08-06 18:29:14 +03:00
Markus Kauppila
2f3c2a946c Reorganizing the project.
--HG--
rename : test/test-automation/SDL_test.h => test/test-automation/include/SDL_test.h
rename : test/test-automation/SDL_test.c => test/test-automation/src/libtest/SDL_test.c
rename : test/test-automation/common/common.c => test/test-automation/src/libtest/common/common.c
rename : test/test-automation/common/common.h => test/test-automation/src/libtest/common/common.h
rename : test/test-automation/common/images.h => test/test-automation/src/libtest/common/images.h
rename : test/test-automation/common/img_blit.c => test/test-automation/src/libtest/common/img_blit.c
rename : test/test-automation/common/img_blitblend.c => test/test-automation/src/libtest/common/img_blitblend.c
rename : test/test-automation/common/img_face.c => test/test-automation/src/libtest/common/img_face.c
rename : test/test-automation/common/img_primitives.c => test/test-automation/src/libtest/common/img_primitives.c
rename : test/test-automation/common/img_primitivesblend.c => test/test-automation/src/libtest/common/img_primitivesblend.c
rename : test/test-automation/fuzzer/fuzzer.c => test/test-automation/src/libtest/fuzzer/fuzzer.c
rename : test/test-automation/fuzzer/fuzzer.h => test/test-automation/src/libtest/fuzzer/fuzzer.h
rename : test/test-automation/fuzzer/utl_crc32.c => test/test-automation/src/libtest/fuzzer/utl_crc32.c
rename : test/test-automation/fuzzer/utl_crc32.h => test/test-automation/src/libtest/fuzzer/utl_crc32.h
rename : test/test-automation/fuzzer/utl_md5.c => test/test-automation/src/libtest/fuzzer/utl_md5.c
rename : test/test-automation/fuzzer/utl_md5.h => test/test-automation/src/libtest/fuzzer/utl_md5.h
rename : test/test-automation/fuzzer/utl_random.c => test/test-automation/src/libtest/fuzzer/utl_random.c
rename : test/test-automation/fuzzer/utl_random.h => test/test-automation/src/libtest/fuzzer/utl_random.h
rename : test/test-automation/logger_helpers.c => test/test-automation/src/libtest/logger_helpers.c
rename : test/test-automation/logger_helpers.h => test/test-automation/src/libtest/logger_helpers.h
rename : test/test-automation/plain_logger.c => test/test-automation/src/libtest/plain_logger.c
rename : test/test-automation/plain_logger.h => test/test-automation/src/libtest/plain_logger.h
rename : test/test-automation/xml.c => test/test-automation/src/libtest/xml.c
rename : test/test-automation/xml.h => test/test-automation/src/libtest/xml.h
rename : test/test-automation/xml_logger.c => test/test-automation/src/libtest/xml_logger.c
rename : test/test-automation/xml_logger.h => test/test-automation/src/libtest/xml_logger.h
rename : test/test-automation/logger.h => test/test-automation/src/runner/logger.h
rename : test/test-automation/runner.c => test/test-automation/src/runner/runner.c
rename : test/test-automation/support.c => test/test-automation/src/runner/support.c
rename : test/test-automation/support.h => test/test-automation/src/runner/support.h
rename : test/test-automation/testaudio/Makefile.am => test/test-automation/tests/testaudio/Makefile.am
rename : test/test-automation/testaudio/testaudio.c => test/test-automation/tests/testaudio/testaudio.c
rename : test/test-automation/testdummy/Makefile.am => test/test-automation/tests/testdummy/Makefile.am
rename : test/test-automation/testdummy/testdummy.c => test/test-automation/tests/testdummy/testdummy.c
rename : test/test-automation/testplatform/Makefile.am => test/test-automation/tests/testplatform/Makefile.am
rename : test/test-automation/testrect/Makefile.am => test/test-automation/tests/testrect/Makefile.am
rename : test/test-automation/testrect/testrect.c => test/test-automation/tests/testrect/testrect.c
rename : test/test-automation/testrender/Makefile.am => test/test-automation/tests/testrender/Makefile.am
rename : test/test-automation/testrender/testrender.c => test/test-automation/tests/testrender/testrender.c
rename : test/test-automation/testrwops/Makefile.am => test/test-automation/tests/testrwops/Makefile.am
rename : test/test-automation/testrwops/testrwops.c => test/test-automation/tests/testrwops/testrwops.c
rename : test/test-automation/testsurface/Makefile.am => test/test-automation/tests/testsurface/Makefile.am
rename : test/test-automation/testsurface/testsurface.c => test/test-automation/tests/testsurface/testsurface.c
2011-08-06 17:35:58 +03:00
Markus Kauppila
d9ce7a4a40 Converted libtest to a more proper dummy test suite (libtestdummy). 2011-06-06 18:15:19 +03:00
Markus Kauppila
1b21c6547d Refactoring the TestCaseInit and TestCaseQuit functions
to be caller from the Runner.
2011-06-04 17:50:23 +03:00
Markus Kauppila
450610b7c7 Ported testrect from original automation code, updated AssertEquals, added AssertTrue 2011-06-01 18:03:09 -07:00
Markus Kauppila
7fff64a11b Moved tests/SDL_test.{c,h}
--HG--
rename : test/test-automation/tests/SDL_test.c => test/test-automation/SDL_test.c
rename : test/test-automation/tests/SDL_test.h => test/test-automation/SDL_test.h
2011-05-30 21:57:04 +03:00
Markus Kauppila
bc147958d8 Refactoring the code (runner.c).
Adding support for executing tests in-proc.
2011-05-30 12:55:40 +03:00
Markus Kauppila
73fa28c71c Added doxygen-compatible comments 2011-05-30 11:53:59 +03:00
Andreas Schiffler
7004e4ae6d Fixed global suite declaration segfault via external linkage declaration 2011-05-26 20:13:49 -07:00
Markus Kauppila
86738f81ab Little fixes here and there. 2011-05-26 19:57:03 +03:00
Markus Kauppila
ff1e17dca4 Added TestCaseReference structure. 2011-05-26 19:19:46 +03:00
Markus Kauppila
d6d8dec05e Refactoring the massive main() to smaller functions.
--HG--
rename : test/test-automation/tests/asserts.c => test/test-automation/tests/SDL_test.c
rename : test/test-automation/tests/asserts.h => test/test-automation/tests/SDL_test.h
2011-05-26 18:38:56 +03:00
Markus Kauppila
122418566e New automake-based build process. 2011-05-25 18:53:48 +03:00