Fixed doxygen warnings
authorMarkus Kauppila <markus.kauppila@gmail.com>
Mon, 30 May 2011 18:58:20 +0300
changeset 5673 07b920bcff70
parent 5672 d2df9dbce0ea
child 5674 1ee88babe722
Fixed doxygen warnings
test/test-automation/runner.c
--- a/test/test-automation/runner.c	Mon May 30 12:55:40 2011 +0300
+++ b/test/test-automation/runner.c	Mon May 30 18:58:20 2011 +0300
@@ -35,7 +35,9 @@
  *
  * \return Loaded test suite
  */
-void *LoadTestSuite() {
+void *
+LoadTestSuite()
+{
 #if defined(linux) || defined( __linux)
 	char *libName = "tests/libtest.so";
 #else
@@ -57,7 +59,9 @@
  * \param library Previously loaded dynamic library AKA test suite
  * \return Loaded TestCaseReferences
  */
-TestCaseReference **QueryTestCases(void *library) {
+TestCaseReference **
+QueryTestCases(void *library)
+{
 	TestCaseReference **(*suite)(void);
 
 	suite = (TestCaseReference **(*)(void)) SDL_LoadFunction(library, "QueryTestSuite");
@@ -78,12 +82,14 @@
 /*!
  * Loads test case from a test suite
  *
- * \param Test suite
- * \testName Name of the test that is going to be loaded
+ * \param suite a test suite
+ * \param testName Name of the test that is going to be loaded
  *
  * \return loaded test
  */
-TestCase LoadTestCase(void *suite, char *testName) {
+TestCase
+LoadTestCase(void *suite, char *testName)
+{
 	TestCase test = (int (*)(void *)) SDL_LoadFunction(suite, testName);
 	if(test == NULL) {
 		printf("Loading test failed, tests == NULL\n");
@@ -94,7 +100,6 @@
 }
 
 
-
 /*!
  * If using out-of-proc execution of tests. This function
  * will handle the return value of the child process
@@ -105,8 +110,10 @@
  *
  * \return 0 if test case succeeded, 1 otherwise
  */
-int HandleTestReturnValue(int stat_lock) {
-	//! \todo rename to: HandleChildReturn Value
+int
+HandleTestReturnValue(int stat_lock)
+{
+	//! \todo rename to: HandleChildProcessReturnValue?
 	int returnValue = -1;
 
 	if(WIFEXITED(stat_lock)) {
@@ -122,7 +129,7 @@
 }
 
 //!< Flag for executing tests in-process
-int execute_inproc = 0;
+static int execute_inproc = 0;
 
 /*!
  * Parse command line arguments
@@ -145,7 +152,7 @@
 {
 	ParseOptions(argc, argv);
 
-	// print: Testing againts SDL version fuu (rev: bar) if verbose == true
+	// print: Testing against SDL version fuu (rev: bar) if verbose == true
 
 	int failureCount = 0, passCount = 0;