A C Unit Test Library for C language.
Revisión | 71fb7031638a29c1352e62373b4e257ea4b6b78e (tree) |
---|---|
Tiempo | 2013-07-03 23:55:36 |
Autor | tsntsumi <tsntsumi@user...> |
Commiter | tsntsumi |
Since it depended in order of the run of TestCase, I used setUpBeforeClass.
@@ -42,15 +42,16 @@ static const char* logname = "testReadSuite.log"; | ||
42 | 42 | |
43 | 43 | static char line[1024]; |
44 | 44 | |
45 | -/** @ingroup testReadSuite | |
46 | - * test case: read test suite init | |
45 | +/** | |
46 | + * @ingroup testReadSuite | |
47 | + * test case: read test suite | |
47 | 48 | * @{ |
48 | 49 | */ |
49 | 50 | |
50 | 51 | /** |
51 | 52 | * test init. |
52 | 53 | */ |
53 | -void test_readSuite_init () | |
54 | +void setUpBeforeClass_readSuite () | |
54 | 55 | { |
55 | 56 | int rc; |
56 | 57 | FILE* fp; |
@@ -67,14 +68,6 @@ void test_readSuite_init () | ||
67 | 68 | fclose (fp); |
68 | 69 | } |
69 | 70 | |
70 | -/** @} | |
71 | - * end test case: read test suite init | |
72 | - */ | |
73 | - | |
74 | -/** @ingroup testReadSuite | |
75 | - * test case: read test suite | |
76 | - */ | |
77 | - | |
78 | 71 | /** |
79 | 72 | * setup readSuite. |
80 | 73 | */ |
@@ -111,8 +104,8 @@ void test_readSuite_skip_doxycomment () | ||
111 | 104 | CCUNIT_ASSERT_EQ_INT (true, found); |
112 | 105 | } |
113 | 106 | |
114 | - | |
115 | 107 | /** |
108 | + * @} | |
116 | 109 | * end test case |
117 | 110 | */ |
118 | 111 | /** |