16 Commits

Author SHA1 Message Date
Dmitry Marakasov
a31677af6a Disable self-assignment warning for tests
As we deliberately do these self-assignments. Fixes -Werror build with clang 3.6.
2015-01-30 20:07:37 +03:00
Dmitry Marakasov
f5216c309f Add (failing) test for #22 2014-12-27 02:06:05 +03:00
Dmitry Marakasov
e6b31930b6 Add test for optional 2014-12-25 17:31:14 +03:00
Dmitry Marakasov
18fe309309 Remove demos into more suitable examples
Also add options for conditional build of tests and examples
2014-12-20 18:04:22 +03:00
Dmitry Marakasov
ef152c2a84 Merge branch 'header-tests'
Conflicts:
	tests/CMakeLists.txt
2014-12-18 17:30:00 +03:00
Dmitry Marakasov
6813606086 Fix build on older CMake versions
MAKE_C_IDENTIFIER seem to only be available on relatively new CMake
versions, so replace it with similar REGEX REPLACE.
2014-12-18 16:55:27 +03:00
Dmitry Marakasov
c5f7de0c46 Make header tests completely automatic 2014-12-18 14:54:53 +03:00
Dmitry Marakasov
7ba131a913 Add StreamRWops class 2014-12-18 14:32:27 +03:00
Dmitry Marakasov
c73bd885c5 Name header file after class it defines 2014-12-18 14:29:45 +03:00
Dmitry Marakasov
950829f234 Add Wav class 2014-11-30 00:48:08 +03:00
Dmitry Marakasov
2be68a9ebb Add wrapper for large part of SDL2 audio functionality 2014-11-29 22:58:27 +03:00
Dmitry Marakasov
5542acd252 Add tests for RWops 2014-09-05 04:54:53 +04:00
Dmitry Marakasov
015a9e5be5 Add partial GUI test 2014-02-11 07:41:23 +04:00
Dmitry Marakasov
820813b79f Improve testing framework, add stub for GUI tests 2014-02-11 06:15:01 +04:00
Dmitry Marakasov
07bf0aa3d5 Add Point and Rect tests 2014-02-11 05:51:15 +04:00
Dmitry Marakasov
3df16d40d1 Add basic tests
For now the only thing checked is that header files compile by
themselves, e.g. includes and forward declarations in them are
complete and they do not require extra includes
2014-02-03 01:48:38 +04:00