disable test which doesn't compile in STL build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-01-26 12:59:01 +00:00
parent 86e11a6376
commit 0e15ad7d4d

View File

@@ -52,7 +52,9 @@ private:
CPPUNIT_TEST( ToULongLong );
#endif // wxHAS_STRTOLL
CPPUNIT_TEST( ToDouble );
#if !wxUSE_STL
CPPUNIT_TEST( WriteBuf );
#endif //!wxUSE_STL
CPPUNIT_TEST( CharStr );
CPPUNIT_TEST_SUITE_END();
@@ -76,7 +78,9 @@ private:
void ToULongLong();
#endif // wxHAS_STRTOLL
void ToDouble();
#if !wxUSE_STL
void WriteBuf();
#endif //!wxUSE_STL
void CharStr();
DECLARE_NO_COPY_CLASS(StringTestCase)
@@ -635,6 +639,7 @@ void StringTestCase::ToDouble()
}
}
#if !wxUSE_STL
void StringTestCase::WriteBuf()
{
wxString s;
@@ -659,6 +664,7 @@ void StringTestCase::WriteBuf()
CPPUNIT_ASSERT_EQUAL( 0, wxStrcmp(_T("barr"), s) );
}
}
#endif //!wxUSE_STL
static bool IsFoo(/* non-const */ char *s)