Explicit template instanciation to please gcc2.
Makes CPPUNIT_ASSERT_EQUAL useable.
This commit is contained in:
parent
68c13f94fb
commit
002f37b0cc
@ -173,7 +173,7 @@ namespace CppUnit {
|
||||
* removed by specializing the CppUnit::assertion_traits.
|
||||
*/
|
||||
#define CPPUNIT_ASSERT_EQUAL(expected,actual) \
|
||||
( ::CppUnit::TestAssert::assertEquals( (expected), \
|
||||
( ::CppUnit::TestAssert::assertEquals<typeof(expected)>( (expected), \
|
||||
(actual), \
|
||||
CPPUNIT_SOURCELINE() ) )
|
||||
|
||||
@ -196,7 +196,7 @@ namespace CppUnit {
|
||||
* removed by specializing the CppUnit::assertion_traits.
|
||||
*/
|
||||
#define CPPUNIT_ASSERT_EQUAL_MESSAGE(message,expected,actual) \
|
||||
( ::CppUnit::TestAssert::assertEquals( (expected), \
|
||||
( ::CppUnit::TestAssert::assertEquals<typeof(expected)>( (expected), \
|
||||
(actual), \
|
||||
CPPUNIT_SOURCELINE(), \
|
||||
(message) ) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user