summaryrefslogtreecommitdiff
path: root/include/SDL_test_harness.h
diff options
context:
space:
mode:
authorGabriel Jacobo <gabomdq@gmail.com>2013-08-21 09:47:10 -0300
committerGabriel Jacobo <gabomdq@gmail.com>2013-08-21 09:47:10 -0300
commit8515791f86f510d4b9ceb03555c8d8b078e4cfea (patch)
treecd0acaa75a832fa41deaa0a2b49558071df2d628 /include/SDL_test_harness.h
parent871473e032b342516b6a57e3b9819fea7dda8026 (diff)
OCD fixes: Adds a space after /* (glory to regular expressions!)
Diffstat (limited to 'include/SDL_test_harness.h')
-rw-r--r--include/SDL_test_harness.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/include/SDL_test_harness.h b/include/SDL_test_harness.h
index d22c9fcbc6..935038e904 100644
--- a/include/SDL_test_harness.h
+++ b/include/SDL_test_harness.h
@@ -43,43 +43,43 @@ extern "C" {
#endif
-/*! Definitions for test case structures */
+/* ! Definitions for test case structures */
#define TEST_ENABLED 1
#define TEST_DISABLED 0
-/*! Definition of all the possible test return values of the test case method */
+/* ! Definition of all the possible test return values of the test case method */
#define TEST_ABORTED -1
#define TEST_STARTED 0
#define TEST_COMPLETED 1
#define TEST_SKIPPED 2
-/*! Definition of all the possible test results for the harness */
+/* ! Definition of all the possible test results for the harness */
#define TEST_RESULT_PASSED 0
#define TEST_RESULT_FAILED 1
#define TEST_RESULT_NO_ASSERT 2
#define TEST_RESULT_SKIPPED 3
#define TEST_RESULT_SETUP_FAILURE 4
-/*!< Function pointer to a test case setup function (run before every test) */
+/* !< Function pointer to a test case setup function (run before every test) */
typedef void (*SDLTest_TestCaseSetUpFp)(void *arg);
-/*!< Function pointer to a test case function */
+/* !< Function pointer to a test case function */
typedef int (*SDLTest_TestCaseFp)(void *arg);
-/*!< Function pointer to a test case teardown function (run after every test) */
+/* !< Function pointer to a test case teardown function (run after every test) */
typedef void (*SDLTest_TestCaseTearDownFp)(void *arg);
/**
* Holds information about a single test case.
*/
typedef struct SDLTest_TestCaseReference {
- /*!< Func2Stress */
+ /* !< Func2Stress */
SDLTest_TestCaseFp testCase;
- /*!< Short name (or function name) "Func2Stress" */
+ /* !< Short name (or function name) "Func2Stress" */
char *name;
- /*!< Long name or full description "This test pushes func2() to the limit." */
+ /* !< Long name or full description "This test pushes func2() to the limit." */
char *description;
- /*!< Set to TEST_ENABLED or TEST_DISABLED (test won't be run) */
+ /* !< Set to TEST_ENABLED or TEST_DISABLED (test won't be run) */
int enabled;
} SDLTest_TestCaseReference;
@@ -87,13 +87,13 @@ typedef struct SDLTest_TestCaseReference {
* Holds information about a test suite (multiple test cases).
*/
typedef struct SDLTest_TestSuiteReference {
- /*!< "PlatformSuite" */
+ /* !< "PlatformSuite" */
char *name;
- /*!< The function that is run before each test. NULL skips. */
+ /* !< The function that is run before each test. NULL skips. */
SDLTest_TestCaseSetUpFp testSetUp;
- /*!< The test cases that are run as part of the suite. Last item should be NULL. */
+ /* !< The test cases that are run as part of the suite. Last item should be NULL. */
const SDLTest_TestCaseReference **testCases;
- /*!< The function that is run after each test. NULL skips. */
+ /* !< The function that is run after each test. NULL skips. */
SDLTest_TestCaseTearDownFp testTearDown;
} SDLTest_TestSuiteReference;