[Cppunit-devel] examples/cppunittest
Brought to you by:
blep
From: Steve M. R. <ste...@vi...> - 2001-07-07 17:01:33
|
Hi Baptiste, I finally got around to looking at the cppunit testsuite again. On Tue, Jun 12, 2001 at 09:27:15AM +0200, Baptiste Lepilleur wrote: > ----- Original Message ----- > From: "Steve M. Robbins" <ste...@vi...> > To: <cpp...@li...> > Sent: Tuesday, June 12, 2001 12:09 AM > Subject: Re: [Cppunit-devel] Change done... > > > > On Mon, Jun 11, 2001 at 10:25:46PM +0200, Baptiste Lepilleur wrote: > > > Well, I finally comitted the thing. I checkout the project and it > compiled > > > fine, so everything should be there (a lot of files have been added). > > > > After some fine-tuning, I got it compiled under unix, with one > > exception. > > > > > > > You should have exactly 80 unit tests running in cppunittests, > > > > I couldn't get examples/cppunit/OrthodoxTest.cpp to compile, and > > I couldn't figure out how to fix it. Specifically, I don't understand > > what is intended by all the "operator !()" functions. They are > > declared to return an object of class "Value", but in each case > > the return statement is computing an integer. The problem turns out to be simply that two operator== methods were not declared const. Now it compiles and runs on linux. > > After omitting OrthodoxTest, I got 72 tests which all passed. > There is one missing. You should have 73 tests. > > With this morning update (NotEqualException/assertEquals), you should have > (with OrthodoxTest disabled): > > Run: 77 Failures: 1 Errors: 0 > There was 1 failure: > 1) test: ExceptionTest.testAssignment line: 103 > g:\prg\vc\lib\cppunit\examples\c > ppunittest\exceptiontest.cpp > expected: message > but was: Unknown exception When I run it now, I see 83 tests that all succeed. I get no output (other than dots). Is that what you expect? -- by Rocket to the Moon, by Airplane to the Rocket, by Taxi to the Airport, by Frontdoor to the Taxi, by throwing back the blanket and laying down the legs ... - They Might Be Giants |