testing : Minor fix for ASSERT_EQUALS macro

This commit is contained in:
Daniel Marjamäki 2008-12-08 17:27:46 +00:00
parent 8c8435feb8
commit 29afcaebcd
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ protected:
public:
virtual void reportErr( const std::string &errmsg);
virtual void reportOut( const std::string &outmsg);
virtual void reportOut( const std::string &outmsg);
TestFixture(const std::string &_name);
virtual ~TestFixture() { }
@ -54,6 +54,6 @@ public:
#define TEST_CASE( NAME ) if ( runTest(#NAME) ) NAME ();
#define ASSERT_EQUALS( EXPECTED , ACTUAL ) assertEquals(__FILE__, __LINE__, EXPECTED, ACTUAL);
#define ASSERT_EQUALS( EXPECTED , ACTUAL ) assertEquals(__FILE__, __LINE__, EXPECTED, ACTUAL)
#define REGISTER_TEST( CLASSNAME ) namespace { CLASSNAME instance; }