Gabriel Jacobo
8515791f86
OCD fixes: Adds a space after /* (glory to regular expressions!)
2013-08-21 09:47:10 -03:00
Ryan C. Gordon
7ad45365b7
More compiler warning fixes.
2013-07-20 19:58:17 -04:00
Philipp Wiesemann
4c6c11e3a3
Corrected comments in test library source.
2013-07-20 11:16:50 +02:00
Ryan C. Gordon
a5e528c444
Added finger events to SDLTest_PrintEvent().
2013-07-18 22:20:09 -04:00
Ryan C. Gordon
71117d7c74
Attempt to fix a compiler warning on Haiku.
...
(if this works...Haiku generates no warnings. I know, right?!?)
2013-07-11 23:17:52 -04:00
Edward Rudd
c4fe4c4f29
add in alt+enter keyboard shortcut to test common to toggle fullscreen desktop
2013-06-04 12:02:18 -04:00
Andreas Schiffler
4835250790
Fix bug 1492: Visual Studio builds sdl.lib and sdl.dll for version 2.0 (contributed by Jan Reitz); update SDL_bool handling in test_common to fix VS compiler warnings
2013-05-30 20:03:56 -07:00
Sam Lantinga
028c19b92b
When the window is resized, the viewport is automatically reset.
...
This resolves lots of confusion around resizable windows. Most people don't expect a viewport to be implicitly set when the renderer is created and then not to be reset to the window size if the window is resized.
Added common test command line parameters --logical WxH and --scale N to test the render logical size and scaling APIs.
2013-05-29 03:22:19 -07:00
Sam Lantinga
1063a72829
Fixed bug 1837 - Use error extension instead of glGetError()
...
Implemented support for GL_ARB_debug_output, but was unable to test it on Mac OS X.
2013-05-19 22:28:10 -07:00
Sam Lantinga
0d9b661db8
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
Andreas Schiffler
d99b036e08
Update test harness to handle test return codes; fix comment format in harness; update Main test suite to handle globally disabled features
2013-05-18 09:35:09 -07:00
Andreas Schiffler
82d01cd77a
Fix fuzzer/fuzzer tests on 64bit Linux; remove invalid negative SDL_Scancode test; disable failing surface/render test cases
2013-05-12 15:00:00 -07:00
Sam Lantinga
7253832be1
First pass on SDL render clip rect functionality
2013-05-04 04:46:00 -07:00
Jørgen P. Tjernø
abb960c20a
Add multimon & mouse tracking info to SDL_test_common.
2013-04-22 18:15:10 -07:00
Ryan C. Gordon
16cdc59bab
Make SDL_SetError and friends unconditionally return -1.
...
This lets us change things like this...
if (Failed) {
SDL_SetError("We failed");
return -1;
}
...into this...
if (Failed) {
return SDL_SetError("We failed");
}
Fixes Bugzilla #1778 .
2013-03-31 12:48:50 -04:00
Sam Lantinga
f0af9a3e70
Removed Nintendo DS support since nobody has volunteered to maintain it for over a year.
2013-03-17 09:44:58 -07:00
Sam Lantinga
019c60c1e8
Happy New Year!
2013-02-15 08:47:44 -08:00
Andreas Schiffler
37203106e0
Fix fuzzer random boundary functions; add tests for fuzzer
2013-02-12 22:23:42 -08:00
Andreas Schiffler
5bda818e44
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
4897e7608e
Add tests to audio suite; update harness filter logic
2013-01-31 08:45:30 -08:00
Andreas Schiffler
0720db59b2
Update SDL_InvalidParamError to take param name; add additional fuzzer function; add new tests to keyboard test suite; improve surface test suite
2013-01-12 22:58:12 -08:00
Sam Lantinga
e6bd0c20f8
Implemented SDL_GetDisplayName() for X11, which requires the XRandR extension.
...
It turns out there's all kinds of good information in the EDID data for a monitor...
2012-12-31 18:32:30 -08:00
Sam Lantinga
c31c469ff6
Fixed building tests with Visual Studio 2008
2012-12-31 13:49:06 -08:00
Sam Lantinga
06f8fe85cf
Added SDL_SetWindowMaximumSize() and SDL_GetWindowMaximumSize()
...
Also fixed Cocoa implementation so that it affects client area, not the whole window area.
2012-12-31 12:15:25 -08:00
Sam Lantinga
77057b7234
Added --fullscreen-desktop option to test the new SDL_WINDOW_FULLSCREEN_DESKTOP functionality
2012-12-31 10:13:25 -08:00
Andreas Schiffler
e00532130b
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
669e4e9a21
Added audio test suite; minor code cleanups in test lib
2012-12-24 14:43:57 -08:00
Andreas Schiffler
2690692f25
Fix compiler warning; minor harness driver cleanup; fix test build for SDL versions compiled with --disable-joystick or --disable-haptic
2012-12-22 20:43:51 -08:00
Sam Lantinga
cc09717698
Fixed const correctness in the test harness
2012-12-22 17:24:14 -08:00
Andreas Schiffler
add645da12
Test lib updates: updated harness to support filtering, added surface comparer, updated interface to test images; added Render test suite from GSOC project
2012-12-22 16:06:55 -08:00
Andreas Schiffler
ead556e41f
Add image data definitions (for render tests) to test lib
2012-12-20 08:50:36 -08:00
Andreas Schiffler
814c962e9f
Port clipboard and rwops test suites from GSOC code; minor updates to harness and fuzzer in test lib
2012-12-16 21:59:29 -08:00
Andreas Schiffler
7f9f228f07
Fixes in harness and fuzzer test lib components; improve harness driver; add rect test suite
2012-12-15 21:50:17 -08:00
Andreas Schiffler
f9c94c75e8
Refactor/fix test lib harness, assert and log component; add harness driver; port platform suite from GSOC code
2012-12-14 23:05:34 -08:00
Andreas Schiffler
e1c75c0fc9
Added existing common.c/.h functions to test lib; minor assert refactoring
2012-12-09 17:56:19 -08:00
Andreas Schiffler
e96fd5ab17
Added to harness in test lib (work in progress)
2012-12-04 19:21:10 -08:00
Andreas Schiffler
3745d35b62
Update VS2012 solution - add missing files; fix some static analysis warnings
2012-12-01 23:30:53 -08:00
Andreas Schiffler
ca03267939
Update assert API in test lib; add to and harness; add test lib to VS2010 and VS2012 solution; fix VS2012 solution; fix compiler warning
2012-12-01 14:48:30 -08:00
Andreas Schiffler
7c313311a4
Add log, assert and harness (partial) to test lib
2012-11-30 23:25:34 -08:00
Andreas Schiffler
8515d11219
Add crc32 and md5 to test lib
2012-11-28 19:19:57 -08:00
Andreas Schiffler
2cfb6fbb8e
Add fuzzer to test lib
2012-11-27 21:40:46 -08:00
Andreas Schiffler
8ee87a4da7
Add random module to test lib
2012-11-26 23:12:47 -08:00
Sam Lantinga
9c2cdf677b
Work in progress on an SDL test library
2012-11-26 07:53:56 -08:00