• R/O
  • HTTP
  • SSH
  • HTTPS

ccunit: Commit

A C Unit Test Library for C language.


Commit MetaInfo

Revisión71fb7031638a29c1352e62373b4e257ea4b6b78e (tree)
Tiempo2013-07-03 23:55:36
Autortsntsumi <tsntsumi@user...>
Commitertsntsumi

Log Message

Since it depended in order of the run of TestCase, I used setUpBeforeClass.

Cambiar Resumen

Diferencia incremental

--- a/tests/testReadSuite.c
+++ b/tests/testReadSuite.c
@@ -42,15 +42,16 @@ static const char* logname = "testReadSuite.log";
4242
4343 static char line[1024];
4444
45-/** @ingroup testReadSuite
46- * test case: read test suite init
45+/**
46+ * @ingroup testReadSuite
47+ * test case: read test suite
4748 * @{
4849 */
4950
5051 /**
5152 * test init.
5253 */
53-void test_readSuite_init ()
54+void setUpBeforeClass_readSuite ()
5455 {
5556 int rc;
5657 FILE* fp;
@@ -67,14 +68,6 @@ void test_readSuite_init ()
6768 fclose (fp);
6869 }
6970
70-/** @}
71- * end test case: read test suite init
72- */
73-
74-/** @ingroup testReadSuite
75- * test case: read test suite
76- */
77-
7871 /**
7972 * setup readSuite.
8073 */
@@ -111,8 +104,8 @@ void test_readSuite_skip_doxycomment ()
111104 CCUNIT_ASSERT_EQ_INT (true, found);
112105 }
113106
114-
115107 /**
108+ * @}
116109 * end test case
117110 */
118111 /**
Show on old repository browser