some more operator?! tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -694,6 +694,10 @@ void StringTestCase::DoCStrDataTernaryOperator(bool cond)
|
||||
CPPUNIT_ASSERT( CheckStr(s, (cond ? mbStr : s.c_str())) );
|
||||
CPPUNIT_ASSERT( CheckStr(s, (cond ? "foo" : s.c_str())) );
|
||||
#endif
|
||||
|
||||
wxString empty("");
|
||||
CPPUNIT_ASSERT( CheckStr(empty, (cond ? empty.c_str() : wxEmptyString)) );
|
||||
CPPUNIT_ASSERT( CheckStr(empty, (cond ? wxEmptyString : empty.c_str())) );
|
||||
}
|
||||
|
||||
bool CheckStrChar(const wxString& expected, char *s)
|
||||
|
Reference in New Issue
Block a user