include/SDL_test_harness.h
changeset 6756 398073b195bb
parent 6721 53b71f45a53a
child 6763 9cbd31a3450b
     1.1 --- a/include/SDL_test_harness.h	Sat Dec 15 00:30:17 2012 +0000
     1.2 +++ b/include/SDL_test_harness.h	Fri Dec 14 23:05:34 2012 -0800
     1.3 @@ -98,6 +98,20 @@
     1.4  	SDLTest_TestCaseTearDownFp testTearDown;
     1.5  } SDLTest_TestSuiteReference;
     1.6  
     1.7 +
     1.8 +/**
     1.9 + * \brief Execute a test suite using the given run seed and execution key.
    1.10 + *
    1.11 + * \param testSuites Suites containing the test case.
    1.12 + * \param userRunSeed Custom run seed provided by user, or NULL to autogenerate one.
    1.13 + * \param userExecKey Custom execution key provided by user, or 0 to autogenerate one.
    1.14 + * \param testIterations Number of iterations to run each test case.
    1.15 + *
    1.16 + * \returns Test run result; 0 when all tests passed, 1 if any tests failed.
    1.17 + */
    1.18 +int SDLTest_RunSuites(SDLTest_TestSuiteReference *testSuites[], char *userRunSeed, Uint64 userExecKey, int testIterations);
    1.19 +         
    1.20 +
    1.21  /* Ends C function definitions when using C++ */
    1.22  #ifdef __cplusplus
    1.23  /* *INDENT-OFF* */