2003-09-07 TSUTSUMI Kikuo * tests/testSuite.c: rename function * tests/runSuccess.c, tests/runFailure.c: change APIs * tests/failAssert.c: new * tests/Makefile.am: add failure test * src/ccunit/CCUnitLogMessage.c: delete duplicated doxy comment. * src/ccunit/Makefile.am: add TestListener interface * src/ccunit/CCUnitWriteTestAdd.c: delete duplicated doxy comment * src/ccunit/CCUnitTestSuite.h, src/ccunit/CCUnitTestSuite.c: fix doxy comment * src/ccunit/CCUnitTestRunner.h: add doxy comment * src/ccunit/CCUnitTestRunner.c: change test run function interface. * src/ccunit/CCUnitTestResult.h, src/ccunit/CCUnitTestResult.c: change TestRunner to TestListener * src/ccunit/CCUnitTestListener.h: new * src/ccunit/CCUnitTestCase.h, src/ccunit/CCUnitTestCase.c: rename member super to test. * src/ccunit/CCUnitTest.c: delete unused function * src/ccunit/CCUnitTest.h, src/ccunit/CCUnitReadTestDef.c, src/ccunit/CCUnitLogMessage.h: add doxy comment * src/ccunit/CCUnitFailure.h: add doxy comments * src/Makefile.am: add TestListener interface * doc/header.html, doc/footer.html, doc/Makefile.am, doc/Doxyfile.in: new * configure.ac: add document dir * Makefile.am: add check doxygen macro * config/cu_enable_doxygen.m4: new * src/ccunit/CCUnitFailure.c, src/ccunit/CCUnitTestResult.c: make convert string function to virtual. 2003-09-06 TSUTSUMI Kikuo * tests/testAssert.c: rename CCUNIT_ASSERT_EQUAL_* to CCUNIT_ASSERT_EQ_* * tests/runTest.c: rename to testSuccess.c * tests/runSuccess.c, tests/runFailure.c: new * tests/Makefile.am: split test module into success and failure 2003-09-05 TSUTSUMI Kikuo * tests/testAssert.c: add new test * src/tools/Makefile.am, src/tools/Makefile.in, src/tools/ccunit_makeTest.c: new * src/ccunit/CCUnitMakeSuite.c: add help option * src/ccunit/CCUnitFailure.c: copy string * src/Makefile.am: add new dir tools * configure.ac: add header/function check * src/ccunit/CCUnitAssert.c: define generic assert function * src/ccunit/CCUnitAssert.h: add assert macros 2003-09-04 TSUTSUMI Kikuo * src/Makefile.am: add installing header * src/ccunit/CCUnitConfig.h: add conditional printf format char for syze_t/int32_t. * tests/testAssert.c: new * tests/Makefile.am: add testAssert.c test module * src/ccunit/CCUnitWriteTestAdd.c: To change CCUnitTestCase structure * src/ccunit/CCUnitTestSuite.h: include CCUnitTestCase.h * src/ccunit/CCUnitTestRunner.c: For size_t, int32_t printf format char compatibility * src/ccunit/CCUnitTestResult.c: To change CCUnitTestCase structuer * src/ccunit/CCUnitTestCase.h, src/ccunit/CCUnitTestCase.c: change CCUnitTestCase structuer * src/ccunit/CCUnitTest.h: add ccunitTypeFunc type * src/ccunit/CCUnitTest.c: replace strdup/free to safe_strdup/safe_free macros * src/ccunit/CCUnitReadTestDef.c: replace strdup/free to safe_strdup/safe_free macro. add newTestFuncDef to 3rd parameter desc. add unused attribute to unused function. change newTestCaseDef's parameter to 1. change runTest member of CCUnitTestCaseDef to CCUnitFuncDef* List type. change ccunit_readTestDef algorithms to more structuerable. * src/ccunit/CCUnitMakeSuite.h, src/ccunit/CCUnitMakeSuite.c: change 1st arg of ccunit_readTestDef to file name, for print file name into error message. * src/ccunit/CCUnitLogMessage.h: add format attribute * src/ccunit/CCUnitList.c, src/ccunit/CCUnitFailure.c: replace strdup to safe_strdup macro * src/ccunit/CCUnitConfig.h: define safe_free/safe_strdup macros * src/ccunit/CCUnitAssert.c: replace strdup to safe_strdup macro * configure.ac: delete strnicmp function check * NEWS: collect version number 2003-09-03 TSUTSUMI Kikuo * tests/testSuite.c: add new test code * src/ccunit/CCUnitReadTestDef.c: delete object code added * src/ccunit/CCUnitMakeSuite.c: delete object * src/ccunit/CCUnitAssert.h: fix syntax error * tests/.cvsignore: add generated files * tests/runTest.c: test suite generated automaticaly * tests/makeTest.c: new * tests/Makefile.am: add new rule * src/ccunit/strdup.c: protect pass NULL to strlen * src/ccunit/Makefile.am: add sources * src/ccunit/CCUnitTestSuite.h: move ccunit_suite function prototype from CCUnitTest.h * src/ccunit/CCUnitTestRunner.c: add condition * src/ccunit/CCUnitTest.h: move ccunit_suite function prototype to CCUnitTestSuite.h * src/ccunit/CCUnitTest.c: protect pass NULL to strdup * src/ccunit/CCUnitVersion.c, src/ccunit/CCUnitReadTestDef.c, src/ccunit/CCUnitWriteTestAdd.c, src/ccunit/CCUnitMakeSuite.c, src/ccunit/CCUnitMakeSuite.h, src/ccunit/CCUnitLogMessage.c, src/ccunit/CCUnitLogMessage.h: new * src/ccunit/CCUnitFailure.h, src/ccunit/CCUnitFailure.c: change var name * src/ccunit/CCUnitConfig.h: add includes * src/ccunit/CCUnitAssert.h: change var name * src/ccunit/CCUnitAssert.c: protect pass NULL to strdup * src/ccunit/CCUnit.h: add includes * configure.ac: check strnicmp * tests/testSuite.c, tests/runTest.c, tests/Makefile.am, src/ccunit/CCUnitTestCase.h, src/ccunit/CCUnitTestResult.c, src/ccunit/CCUnitTestResult.h, src/ccunit/CCUnitTestRunner.c, src/ccunit/CCUnitTestRunner.h, src/ccunit/CCUnitTestSuite.c, src/ccunit/CCUnitTestSuite.h, src/ccunit/malloc.c, src/ccunit/realloc.c, src/ccunit/strdup.c, src/ccunit/CCUnitFailure.h, src/ccunit/CCUnitList.c, src/ccunit/CCUnitList.h, src/ccunit/CCUnitTest.c, src/ccunit/CCUnitTest.h, src/ccunit/CCUnitTestCase.c, src/ccunit/CCUnitFailure.c, src/ccunit/CCUnitConfig.h, src/ccunit/CCUnitAssert.h, src/ccunit/CCUnitAssert.c, src/ccunit/CCUnit.h: add cvs id tag * src/ccunit/CCUnitTestCase.c, src/ccunit/CCUnitTestCase.h, src/ccunit/CCUnitTestResult.h, src/ccunit/CCUnitTestSuite.c, src/ccunit/CCUnitTestSuite.h, src/ccunit/malloc.c, src/ccunit/realloc.c, src/ccunit/strdup.c, src/ccunit/CCUnitAssert.h, src/ccunit/CCUnitConfig.h, src/ccunit/CCUnitFailure.c, src/ccunit/CCUnitFailure.h, src/ccunit/CCUnitList.c, src/ccunit/CCUnitList.h, src/ccunit/CCUnitTest.c, src/ccunit/CCUnitTest.h: add copyright * tests/testSuite.c, tests/runTest.c: add copyright delete objects * tests/Makefile.am: add copyright add CLEANFILES * tests/.cvsignore: add * src/ccunit/Makefile.am: add copyright add CLEANFILES * src/ccunit/CCUnitTestRunner.h, src/ccunit/CCUnitTestRunner.c: add copyright make runTest function to virtual * src/ccunit/CCUnitTestResult.c: add copyright add free code * src/ccunit/CCUnitAssert.c, src/ccunit/CCUnit.h: add copyright * src/Makefile.am: add copyrights. * configure.ac: add copyrights. add Automake options. * TODO, README-alpha: new * README: add messages * NEWS: add version * Makefile.am: add copyright * COPYING.LESSER: new * COPYING: rename to COPYING.LESSER * BUGS: new * AUTHORS: add auther name and email 2003-09-01 TSUTSUMI Kikuo * src/ccunit/.cvsignore, tests/.cvsignore: new * tests/testSuite.c: change include file * tests/runTest.c: use dmalloc lib * tests/Makefile.am: fix test target variable name * src/ccunit/realloc.c: new * src/ccunit/malloc.c: use dmalloc lib * src/ccunit/Makefile.am: add new header files * src/ccunit/CCUnitTestSuite.h: config.h is included in CCUnitConfig.h for multiply included * src/ccunit/CCUnitTestSuite.c: add some funcs * src/ccunit/CCUnitTestRunner.h: config.h is included in CCUnitConfig.h for multiply included. some function was added. * src/ccunit/CCUnitTestRunner.c: add test result output function * src/ccunit/CCUnitTestResult.h: config.h is included in CCUnitConfig.h for multiply included * src/ccunit/.cvsignore, src/.cvsignore, config/.cvsignore, .cvsignore: new * src/ccunit/CCUnitTestResult.c: some function added * src/ccunit/CCUnitTestCase.h, src/ccunit/CCUnitTestCase.c, src/ccunit/CCUnitTest.h, src/ccunit/CCUnitTest.c: config.h is included in CCUnitConfig.h for multiply included * src/ccunit/CCUnitList.h: confi.h move into CCUnitConfig.h * src/ccunit/CCUnitFailure.h, src/ccunit/CCUnitFailure.c: add stringnize function * src/ccunit/CCUnitConfig.h, src/ccunit/CCUnitAssert.h: move config.h to CCUnitConfig.h * src/ccunit/CCUnitAssert.c: move config.h to header file * src/ccunit/CCUnit.h: include all headers * src/Makefile.am: add installing header files * configure.ac: use dmalloc * bootstrap: remove unused feature * Makefile.am: add CLEANFILES var * tests/Makefile.am: add -Wall flag * src/ccunit/Makefile.am: add -Wall flag * src/ccunit/CCUnitTestSuite.c: remove unused var * src/ccunit/CCUnitTestResult.c: add return type * src/ccunit/CCUnitTest.h: add struct forward decl * src/ccunit/CCUnitTestResult.h: add struct forwording * src/ccunit/CCUnitList.h: change function name * src/ccunit/CCUnitTestCase.c: delete temporary variable * src/ccunit/CCUnitList.c: remove unused function. make returns value * src/ccunit/CCUnitFailure.c: const_cast * src/ccunit/CCUnitAssert.c: remove unused ch * configure.ac: check function gettimeofday * AUTHORS, COPYING, ChangeLog, INSTALL, Makefile.am, NEWS, README, bootstrap, configure.ac, src/Makefile.am, src/ccunit/CCUnit.h, src/ccunit/CCUnitAssert.c, src/ccunit/CCUnitAssert.h, src/ccunit/CCUnitFailure.c, src/ccunit/CCUnitFailure.h, src/ccunit/CCUnitList.c, src/ccunit/CCUnitList.h, src/ccunit/CCUnitTest.c, src/ccunit/CCUnitTest.h, src/ccunit/CCUnitTestCase.c, src/ccunit/CCUnitTestCase.h, src/ccunit/CCUnitTestResult.c, src/ccunit/CCUnitTestResult.h, src/ccunit/CCUnitTestRunner.c, src/ccunit/CCUnitTestRunner.h, src/ccunit/CCUnitTestSuite.c, src/ccunit/CCUnitTestSuite.h, src/ccunit/Makefile.am, src/ccunit/Makefile.in, src/ccunit/malloc.c, src/ccunit/strdup.c, tests/Makefile.am, tests/runTest.c, tests/testSuite.c: New file. * AUTHORS, COPYING, ChangeLog, INSTALL, Makefile.am, NEWS, README, bootstrap, configure.ac, src/Makefile.am, src/ccunit/CCUnit.h, src/ccunit/CCUnitAssert.c, src/ccunit/CCUnitAssert.h, src/ccunit/CCUnitFailure.c, src/ccunit/CCUnitFailure.h, src/ccunit/CCUnitList.c, src/ccunit/CCUnitList.h, src/ccunit/CCUnitTest.c, src/ccunit/CCUnitTest.h, src/ccunit/CCUnitTestCase.c, src/ccunit/CCUnitTestCase.h, src/ccunit/CCUnitTestResult.c, src/ccunit/CCUnitTestResult.h, src/ccunit/CCUnitTestRunner.c, src/ccunit/CCUnitTestRunner.h, src/ccunit/CCUnitTestSuite.c, src/ccunit/CCUnitTestSuite.h, src/ccunit/Makefile.am, src/ccunit/Makefile.in, src/ccunit/malloc.c, src/ccunit/strdup.c, tests/Makefile.am, tests/runTest.c, tests/testSuite.c: new