Hello everybody,
Here is my second iteration over the CppUnit extension. There is no need for the macro CPPUNIT_FREE_DATA and also removed the need for the first argument to CPPUNIT_DATA_SET. I’m wondering how to get rid of even more macros… Any ideas are welcome!
The patch is applied in the latest revision on my BitTorrent branch.
Regards,
Peter
Peter Dimov wrote:Hello everybody,
I’ve done some progress with the data tests extension of cppunit. Attached is the patch of the latest revision of my BitTorrent branch, whose location (http://bzr.calitko.org/developers/peter/calitko-BitTorrent) should already be known ;-).
In a nutshell data tests already work! Not the way I “dreamed” about them because with the current solution one has to use a whole bunch of macros. I already have some ideas for improvement but wanted to publish my current progress so that I could eventually get some feedback, ideas or even help with the development ;-).
I should create a patch based on the original cppunit (not based on the one bundled with Calitko) write a sample non Qt test and I would submit the patch to the CppUnit developers. I hope they would accept the idea and help to improve it ;-).
Best regards,
Peter
