mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-24 03:13:34 +08:00
5750bcb174
I updated .clang-format and ran clang-format 14 over the src and test directories to standardize the code base. In general I let clang-format have it's way, and added markup to prevent formatting of code that would break or be completely unreadable if formatted. The script I ran for the src directory is added as build-scripts/clang-format-src.sh This fixes: #6592 #6593 #6594
61 lines
1.7 KiB
C
61 lines
1.7 KiB
C
/**
|
|
* Reference to all test suites.
|
|
*
|
|
*/
|
|
|
|
#ifndef _testsuites_h
|
|
#define _testsuites_h
|
|
|
|
#include <SDL3/SDL_test.h>
|
|
|
|
/* Test collections */
|
|
extern SDLTest_TestSuiteReference audioTestSuite;
|
|
extern SDLTest_TestSuiteReference clipboardTestSuite;
|
|
extern SDLTest_TestSuiteReference eventsTestSuite;
|
|
extern SDLTest_TestSuiteReference guidTestSuite;
|
|
extern SDLTest_TestSuiteReference hintsTestSuite;
|
|
extern SDLTest_TestSuiteReference joystickTestSuite;
|
|
extern SDLTest_TestSuiteReference keyboardTestSuite;
|
|
extern SDLTest_TestSuiteReference mainTestSuite;
|
|
extern SDLTest_TestSuiteReference mathTestSuite;
|
|
extern SDLTest_TestSuiteReference mouseTestSuite;
|
|
extern SDLTest_TestSuiteReference pixelsTestSuite;
|
|
extern SDLTest_TestSuiteReference platformTestSuite;
|
|
extern SDLTest_TestSuiteReference rectTestSuite;
|
|
extern SDLTest_TestSuiteReference renderTestSuite;
|
|
extern SDLTest_TestSuiteReference rwopsTestSuite;
|
|
extern SDLTest_TestSuiteReference sdltestTestSuite;
|
|
extern SDLTest_TestSuiteReference stdlibTestSuite;
|
|
extern SDLTest_TestSuiteReference surfaceTestSuite;
|
|
extern SDLTest_TestSuiteReference syswmTestSuite;
|
|
extern SDLTest_TestSuiteReference timerTestSuite;
|
|
extern SDLTest_TestSuiteReference videoTestSuite;
|
|
|
|
/* All test suites */
|
|
SDLTest_TestSuiteReference *testSuites[] = {
|
|
&audioTestSuite,
|
|
&clipboardTestSuite,
|
|
&eventsTestSuite,
|
|
&guidTestSuite,
|
|
&hintsTestSuite,
|
|
&joystickTestSuite,
|
|
&keyboardTestSuite,
|
|
&mainTestSuite,
|
|
&mathTestSuite,
|
|
&mouseTestSuite,
|
|
&pixelsTestSuite,
|
|
&platformTestSuite,
|
|
&rectTestSuite,
|
|
&renderTestSuite,
|
|
&rwopsTestSuite,
|
|
&sdltestTestSuite,
|
|
&stdlibTestSuite,
|
|
&surfaceTestSuite,
|
|
&syswmTestSuite,
|
|
&timerTestSuite,
|
|
&videoTestSuite,
|
|
NULL
|
|
};
|
|
|
|
#endif
|