Update comments in tests/asserthelper.h
No real changes, just avoid mentioning CPPUNIT_ASSERT_EQUAL() in the comments for the operator<<() overloads as it is used with CATCH too. Also don't duplicate the same comment 4 times unnecessarily.
This commit is contained in:
parent
9460038b3f
commit
9d2ee59138
@ -29,16 +29,11 @@ namespace wxTestPrivate
|
||||
std::ostream& operator<<(std::ostream& os, const ColourChannel& cc);
|
||||
} // wxTestPrivate namespace
|
||||
|
||||
// this operator is needed to use CPPUNIT_ASSERT_EQUAL with wxColour objects
|
||||
// Operators used to show the values of the corresponding types when comparing
|
||||
// them in the unit tests fails.
|
||||
std::ostream& operator<<(std::ostream& os, const wxColour& c);
|
||||
|
||||
// this operator is needed to use CPPUNIT_ASSERT_EQUAL with wxSize objects
|
||||
std::ostream& operator<<(std::ostream& os, const wxSize& s);
|
||||
|
||||
// this operator is needed to use CPPUNIT_ASSERT_EQUAL with wxFont objects
|
||||
std::ostream& operator<<(std::ostream& os, const wxFont& f);
|
||||
|
||||
// this operator is needed to use CPPUNIT_ASSERT_EQUAL with wxPoint objects
|
||||
std::ostream& operator<<(std::ostream& os, const wxPoint& p);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user