[Cppunit-cvs] cppunit2/doc cpput.dox, 1.7, 1.8 cpput_todo.dox, 1.3, 1.4
Brought to you by:
blep
From: Baptiste L. <bl...@us...> - 2007-08-15 17:35:47
|
Update of /cvsroot/cppunit/cppunit2/doc In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv20143/doc Modified Files: cpput.dox cpput_todo.dox Log Message: Added initial support for table fixture (still like cell value automatic conversion, but it is usable). Index: cpput.dox =================================================================== RCS file: /cvsroot/cppunit/cppunit2/doc/cpput.dox,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** cpput.dox 15 Aug 2007 11:20:57 -0000 1.7 --- cpput.dox 15 Aug 2007 17:35:39 -0000 1.8 *************** *** 248,251 **** --- 248,257 ---- A test case can be implemented as a plain C function "void test()". + \subsection section_tablefixture Creating TestCase: using table fixture in test cases + + Sometimes when writing test cases, you need to repeat the same test with different + input values. Table fixture are a way to do this. + + \see CPPUT_TEST_TABLE(), CPPUT_REGISTER_TEST_FUNCTION_TABLE_IN(), CPPUT_TEST_FUNCTION_TABLE_IN(). Index: cpput_todo.dox =================================================================== RCS file: /cvsroot/cppunit/cppunit2/doc/cpput_todo.dox,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** cpput_todo.dox 15 Aug 2007 11:20:57 -0000 1.3 --- cpput_todo.dox 15 Aug 2007 17:35:39 -0000 1.4 *************** *** 92,96 **** <hr> ! \section todo_c_function_testcase Easy creation and registration of test case without fixture Needs: Using TestFixture is overkill when you need to write --- 92,96 ---- <hr> ! \section todo_c_function_testcase Easy creation and registration of test case without fixture [DONE] Needs: Using TestFixture is overkill when you need to write *************** *** 153,157 **** <hr> ! \section todo_table_based_testcase Table based test case factory Needs: It is frequent to have the needs to validate the result of a given sequence call against a set of input values. Resorting --- 153,157 ---- <hr> ! \section todo_table_based_testcase Table based test case factory [DONE] Needs: It is frequent to have the needs to validate the result of a given sequence call against a set of input values. Resorting |