Update of /cvsroot/cppunit/cppunit
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9722
Modified Files:
ChangeLog
Log Message:
Replace deprecated CPPUNIT_TEST_EXCEPTION with code using CPPUNIT_ASSERT_THROW.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/cppunit/cppunit/ChangeLog,v
retrieving revision 1.268
retrieving revision 1.269
diff -C2 -d -r1.268 -r1.269
*** ChangeLog 21 Feb 2008 03:10:04 -0000 1.268
--- ChangeLog 21 Feb 2008 03:48:05 -0000 1.269
***************
*** 1,4 ****
--- 1,9 ----
2008-02-20 Steve M. Robbins <sm...@su...>
+ * examples/money/MoneyTest.h (TestFixture): Change deprecated
+ CPPUNIT_TEST_EXCEPTION to simple CPPUNIT_TEST.
+ * examples/money/MoneyTest.cpp (testAddThrow): Wrap throwing
+ expression "money += money123FF" inside CPPUNIT_ASSERT_THROW().
+
* Changes to build without warnings using gcc -Wall -W -ansi.
Applied patch [1898225] to remove name of unused argument and use
|