summaryrefslogtreecommitdiff
path: root/include/cppunit
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2002-04-04 14:39:37 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2002-04-04 14:39:37 +0000
commit24000339facc182150fc564a4d85f99d89dd3e13 (patch)
tree913b1e85fec962bcc7c05c2f056d21cfe00a7226 /include/cppunit
parentfecba1bea1788196b7d64b7153a469cd87097252 (diff)
downloadcppunit-24000339facc182150fc564a4d85f99d89dd3e13.tar.gz
NEW: added CPPUNIT_ASSERT_EQUAL_MESSAGE compatiblity break.
NEW: added CPPUNIT_ASSERT_EQUAL_MESSAGE compatiblity break. * include/cppunit/TestAssert.h: changed arguments order for CPPUNIT_ASSERT_EQUAL_MESSAGE. 'message' is now the first argument instead of the last (like CPPUNIT_ASSERT_MESSAGE). * examples/cppunittest/MockTestCase.cpp: * examples/cppunittest/MockTestListener.cpp: updated to reflect change on CPPUNIT_ASSERT_EQUAL_MESSAGE.
Diffstat (limited to 'include/cppunit')
-rw-r--r--include/cppunit/TestAssert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cppunit/TestAssert.h b/include/cppunit/TestAssert.h
index 9cbdf44..2f47f59 100644
--- a/include/cppunit/TestAssert.h
+++ b/include/cppunit/TestAssert.h
@@ -195,7 +195,7 @@ namespace CppUnit {
* The last two requirements (serialization and comparison) can be
* removed by specializing the CppUnit::assertion_traits.
*/
-#define CPPUNIT_ASSERT_EQUAL_MESSAGE(expected,actual,message) \
+#define CPPUNIT_ASSERT_EQUAL_MESSAGE(message,expected,actual) \
( ::CppUnit::TestAssert::assertEquals( (expected), \
(actual), \
CPPUNIT_SOURCELINE(), \