ucx/test.h

changeset 138
7800811078b8
parent 135
a0aa1c15f46b
child 146
aa376dba1ba8
     1.1 --- a/ucx/test.h	Fri Aug 09 15:29:26 2013 +0200
     1.2 +++ b/ucx/test.h	Mon Aug 12 14:39:51 2013 +0200
     1.3 @@ -90,12 +90,20 @@
     1.4  #define __FUNCTION__ __func__
     1.5  #endif
     1.6  
     1.7 -/** Type for the internal list of test cases. */
     1.8 -typedef struct UcxTestList UcxTestList;
     1.9  /** Type for the UcxTestSuite. */
    1.10  typedef struct UcxTestSuite UcxTestSuite;
    1.11  /** Pointer to a test function. */
    1.12  typedef void(*UcxTest)(UcxTestSuite*,FILE*);
    1.13 +/** Type for the internal list of test cases. */
    1.14 +typedef struct UcxTestList UcxTestList;
    1.15 +
    1.16 +/** Structure for the internal list of test cases. */
    1.17 +struct UcxTestList {
    1.18 +    /** Test case. */
    1.19 +    UcxTest test;
    1.20 +    /** Pointer to the next list element. */
    1.21 +    UcxTestList *next;
    1.22 +};
    1.23  
    1.24  /**
    1.25   * A test suite containing multiple test cases.
    1.26 @@ -119,7 +127,7 @@
    1.27  UcxTestSuite* ucx_test_suite_new();
    1.28  /**
    1.29   * Destroys a test suite.
    1.30 - * @param the test suite to destroy
    1.31 + * @param suite the test suite to destroy
    1.32   */
    1.33  void ucx_test_suite_free(UcxTestSuite* suite);
    1.34  

mercurial