SDL-mirror/test
Ryan C. Gordon 5ac5bdcea5 Haptic: Deal with negative periodic magnitudes (thanks, Elias!).
A negative periodic magnitude doesn't exist in Windows' and MacOS' FF APIs

The periodic magnitude parameter of the SDL Haptic API is based on the Linux
 FF API, so it means they are not directly compatible:
    'dwMagnitude' is a 'DWORD', which is unsigned.

Fixes Bugzilla #2701.

--HG--
extra : amend_source : eb0b85870149936fd451ddb0662841112ff93d07
2014-09-17 14:49:36 -04:00
..
nacl Fixes audio for Native Client, and other fixes... 2014-06-08 18:18:13 -03:00
shapes Remove superflous sample shapes (same BMPs) 2010-09-15 22:33:46 -07:00
acinclude.m4 Switched the SDL 2 autoconf macro to AM_PATH_SDL2 2012-01-30 21:39:26 -05:00
aclocal.m4 Switched the SDL 2 autoconf macro to AM_PATH_SDL2 2012-01-30 21:39:26 -05:00
autogen.sh
axis.bmp Adds controllermap utility to test suite. 2013-12-02 19:35:04 -03:00
button.bmp Adds controllermap utility to test suite. 2013-12-02 19:35:04 -03:00
checkkeys.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
configure Regenerate the configure scripts. 2013-11-25 00:11:52 -05:00
configure.in OpenGL ES support for Windows 2013-11-22 13:24:53 -03:00
controllermap.bmp Adds controllermap utility to test suite. 2013-12-02 19:35:04 -03:00
controllermap.c Fixed use of uninitialized variable warning in test program. 2014-05-29 22:44:08 +02:00
COPYING
gcc-fat.sh
icon.bmp
loopwave.c Fixed another loopwave crash with no command line arguments 2014-06-07 17:25:35 -07:00
loopwavequeue.c Fixed bug 2688 - failure to build test/loopwavequeue.c on Linux 2014-08-17 10:10:41 -07:00
Makefile.in Added audio device buffer queueing API. 2014-07-22 21:41:49 -04:00
moose.dat
picture.xbm
README Added audio device buffer queueing API. 2014-07-22 21:41:49 -04:00
relative_mode.markdown Test plan for relative mode. 2013-04-24 12:20:44 -07:00
sample.bmp
sample.wav
testatomic.c Fixed compiler warning 2014-07-07 10:39:02 -07:00
testaudioinfo.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testautomation.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testautomation_audio.c Update audio testautomation: more coverage; added SDL_PauseAudio test /w callback coverage 2014-07-07 23:33:57 -07:00
testautomation_clipboard.c Christoph Mallon: Replace strlen(x) == 0 (O(n)) by x[0] == '\0' (O(1)). 2013-08-29 08:30:21 -07:00
testautomation_events.c OCD fixes: Adds a space before */ 2013-08-21 09:43:09 -03:00
testautomation_hints.c Add input validation to SDL_getenv/SDL_setenv; update Stdlib testsuite; add Hints testsuite 2014-03-19 21:39:55 -07:00
testautomation_keyboard.c Add missing VS2012 test projects; update VS2010 and VS2012 solutions; update keybord suite for VS compiler warnings 2013-06-03 19:24:18 -07:00
testautomation_main.c OCD fixes: Adds a space after /* (glory to regular expressions!) 2013-08-21 09:47:10 -03:00
testautomation_mouse.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testautomation_pixels.c Added NV12 and NV21 texture support for OpenGL and OpenGL ES 2.0 renderers 2014-08-06 11:34:54 -07:00
testautomation_platform.c Fix bug/add test coverage for SDLTest_GenerateRunSeed helper; improve test harness adding output of repro steps for failures; improve negative test for SDL_GetError/SDL_SetError 2014-03-11 07:17:56 -07:00
testautomation_rect.c OCD fixes: Adds a space after /* (glory to regular expressions!) 2013-08-21 09:47:10 -03:00
testautomation_render.c Christoph Mallon: Remove pointless if (x) before SDL_FreeSurface(x) 2013-08-29 08:29:51 -07:00
testautomation_rwops.c __ANDROID__ is the correct macro to check for an android system.ANDROID is only defined in NDK build system (.mk) and not in the standalone NDK. 2014-05-05 22:21:26 +03:00
testautomation_sdltest.c Fix bug/add test coverage for SDLTest_GenerateRunSeed helper; improve test harness adding output of repro steps for failures; improve negative test for SDL_GetError/SDL_SetError 2014-03-11 07:17:56 -07:00
testautomation_stdlib.c Fix visualstudio build break introduced by changeset 8645 2014-03-19 21:48:32 -07:00
testautomation_suites.h Add input validation to SDL_getenv/SDL_setenv; update Stdlib testsuite; add Hints testsuite 2014-03-19 21:39:55 -07:00
testautomation_surface.c Fixed warning on Mac OS X 2014-03-23 23:08:26 -07:00
testautomation_syswm.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testautomation_timer.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testautomation_video.c Christoph Mallon: Remove pointless if (x) before SDL_free(x) 2013-08-29 08:29:21 -07:00
testdraw2.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testdrawchessboard.c Fixed typos in test program. 2014-08-20 22:51:56 +02:00
testdropfile.c Changed C++ style comments to fix pedantic warnings. 2014-05-17 22:02:25 +02:00
testerror.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testfile.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testfilesystem.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testgamecontroller.c Fixed warnings about unused functions in test program. 2014-08-20 22:44:15 +02:00
testgesture.c Don't redefine standard macros, use SDL specific macros instead to avoid compiler warnings 2014-06-23 11:06:50 -07:00
testgl2.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testgles.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testgles2.c Fixed compile warnings 2014-06-07 18:20:25 -07:00
testhaptic.c Haptic: Deal with negative periodic magnitudes (thanks, Elias!). 2014-09-17 14:49:36 -04:00
testhittesting.c Minor tweaks to testhittesting. 2014-06-05 00:49:25 -04:00
testhotplug.c Changed C++ style comments. 2014-05-18 21:11:30 +02:00
testiconv.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testime.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testintersections.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testjoystick.c A few more ANDROID for __ANDROID__ replacements 2014-05-10 15:57:09 -03:00
testkeys.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testloadso.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testlock.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testmessage.c Removed unused variable from test program. 2014-04-04 23:56:15 +02:00
testmultiaudio.c [Android] Fixes #2480, music does not pause when process backgrounded 2014-09-17 11:41:12 -03:00
testnative.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testnative.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testnativecocoa.m Added test program for SDL_CreateWindowFrom() 2009-02-09 05:32:12 +00:00
testnativew32.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testnativex11.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testoverlay2.c Added NV12 and NV21 texture support for OpenGL and OpenGL ES 2.0 renderers 2014-08-06 11:34:54 -07:00
testplatform.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testpower.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testrelative.c Removed global variable from test program. 2014-04-19 15:28:13 +02:00
testrendercopyex.c Fixes audio for Native Client, and other fixes... 2014-06-08 18:18:13 -03:00
testrendertarget.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testresample.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testrumble.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testscale.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testsem.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testshader.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testshape.c Removed empty statements. 2014-04-05 23:50:09 +02:00
testsprite2.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testspriteminimal.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
teststreaming.c Fixed warnings about missing initializers in test program. 2014-08-20 22:40:56 +02:00
testthread.c Fixed line endings on WinRT source code 2014-03-09 11:06:11 -07:00
testtimer.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testver.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testviewport.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
testwm2.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
torturethread.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
utf8.txt

These are test programs for the SDL library:

	checkkeys	Watch the key events to check the keyboard
	loopwave	Audio test -- loop playing a WAV file
	loopwavequeue	Audio test -- loop playing a WAV file with SDL_QueueAudio
	testaudioinfo	Lists audio device capabilities
	testcdrom	Sample audio CD control program
	testerror	Tests multi-threaded error handling
	testfile	Tests RWops layer
	testgl2		A very simple example of using OpenGL with SDL
	testhread	Hacked up test of multi-threading
	testiconv	Tests international string conversion
	testjoystick	List joysticks and watch joystick events
	testkeys	List the available keyboard keys
	testloadso	Tests the loadable library layer
	testlock	Hacked up test of multi-threading and locking
	testmultiaudio	Tests using several audio devices
	testoverlay2	Tests the overlay flickering/scaling during playback.
	testpalette	Tests palette color cycling
	testplatform	Tests types, endianness and cpu capabilities
	testsem		Tests SDL's semaphore implementation
	testshape	Tests shaped windows
	testsprite2	Example of fast sprite movement on the screen
	testtimer	Test the timer facilities
	testver		Check the version and dynamic loading and endianness
	testwm2		Test window manager -- title, icon, events
	torturethread	Simple test for thread creation/destruction
	controllermap   Useful to generate Game Controller API compatible maps