29 Commits

Author SHA1 Message Date
Dmitry Marakasov
bc6ff5f450 Add basic font test 2016-01-25 19:48:05 +03:00
Dmitry Marakasov
b0ea9e7216 Add stub surface test 2016-01-25 19:27:18 +03:00
Dmitry Marakasov
acc8a919a9 Add Wav test 2016-01-24 22:30:29 +03:00
Dmitry Marakasov
359672a053 Merge branch 'window-tests' 2016-01-24 20:54:02 +03:00
Dmitry Marakasov
69bb914040 Improve SDL2Main library handling 2016-01-22 23:49:29 +03:00
Dmitry Marakasov
4c2180e260 Add first portion of live window tests 2016-01-19 05:36:30 +03:00
Dmitry Marakasov
7dd543053c Fix more SDL_main issues
- Always include SDL2/SDL_main.h in all tests to handle main() correctly
- Link all tests with SDL2pp (and thus with libSDL2main)
2016-01-05 18:28:52 +03:00
Dmitry Marakasov
be5bc9d1de Revamp compiler flag support detection logic 2015-09-17 16:02:36 +03:00
Dmitry Marakasov
1e6cefa86d Add macro to check and enable C++ flag, add some clang warnings 2015-09-17 15:18:56 +03:00
Dmitry Marakasov
18d58a4efb Merge branch 'constexpr-pointrect' 2015-09-07 02:58:12 +03:00
Dmitry Marakasov
3953d77a9b Add mixer live test 2015-09-07 01:59:59 +03:00
Dmitry Marakasov
f6d781b178 Rename gui tests to live tests 2015-09-07 01:58:50 +03:00
Dmitry Marakasov
d11345b6df Initial Point constexpr support: constructors and comparison operators 2015-07-07 05:17:09 +03:00
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