include/SDL_test_harness.h
changeset 7189 414be1d64060
parent 6885 700f1b25f77f
child 7191 75360622e65f
     1.1 --- a/include/SDL_test_harness.h	Sat May 18 14:48:19 2013 +0200
     1.2 +++ b/include/SDL_test_harness.h	Sat May 18 09:35:09 2013 -0700
     1.3 @@ -51,8 +51,9 @@
     1.4  
     1.5  //! Definition of all the possible test return values of the test case method
     1.6  #define TEST_ABORTED		-1
     1.7 -#define TEST_COMPLETED		 0
     1.8 -#define TEST_SKIPPED		 1
     1.9 +#define TEST_STARTED		 0
    1.10 +#define TEST_COMPLETED		 1
    1.11 +#define TEST_SKIPPED		 2
    1.12  
    1.13  //! Definition of all the possible test results for the harness
    1.14  #define TEST_RESULT_PASSED				0
    1.15 @@ -65,7 +66,7 @@
    1.16  typedef void (*SDLTest_TestCaseSetUpFp)(void *arg);
    1.17  
    1.18  //!< Function pointer to a test case function
    1.19 -typedef void (*SDLTest_TestCaseFp)(void *arg);
    1.20 +typedef int (*SDLTest_TestCaseFp)(void *arg);
    1.21  
    1.22  //!< Function pointer to a test case teardown function (run after every test)
    1.23  typedef void  (*SDLTest_TestCaseTearDownFp)(void *arg);