Re: [Cppunit-devel] Added cppunittest examples...
Brought to you by:
blep
From: Bastiaan B. <bas...@li...> - 2001-06-01 21:24:15
|
Steve M. Robbins wrote: >On Fri, Jun 01, 2001 at 09:43:46PM +0200, Baptiste Lepilleur wrote: > >>I needed something to test the TestListener, and a while ago I suggested >>creating unit tests for cppunit. >> >>Well, this is done. I added a new example named cppunittest. It implements >>unit test for TestCaller and TestListener. There is also a graphical test >>runner hidden in examples/msvc6. >> >>You will need to add a make file for unix though. >> > >So I noticed :( > >Making all in cppunittest >make[2]: Entering directory `/usr/local/src/devel/cppunit-cvs/examples/cppunittest' >make[2]: *** No rule to make target `all'. Stop. >make[2]: Leaving directory `/usr/local/src/devel/cppunit-cvs/examples/cppunittest' >make[1]: *** [all-recursive] Error 1 > > > I've added a Makefile.am to examples/cppunittest. Now it tries to compile the code, g++ gives an error though: TestCallerTest.cpp:24: ISO C++ forbids taking the address of a bound member function to form a pointer to member function I'll try to figure out what the problem is. Bastiaan |