[Cppunit-devel] macros and templates
Brought to you by:
blep
From: Steve M. R. <ste...@vi...> - 2001-06-02 23:49:55
|
I've added the generic TestAssert::assertEquals() method, along with the new macros CPPUNIT_ASSERT, CPPUNIT_ASSERT_EQUAL, and CPPUNIT_ASSERT_DOUBLES_EQUAL. The old naked assert and friends are available by editing <cppunit/config.h>. At the moment, the assertion_traits class requires string streams, which does not exist in GCC before version 2.95.3. If you have any bright ideas about workarounds for missing <sstream>, I'm all ears. All the old CU_* got renamed to CPPUNIT_*. I did this with a global string replace. This changes some of the MSVC files. I hope they still work. Let me know. -Steve -- 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 |