From 0e15ad7d4d89892ef3899f4e9341a19988821cd3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 26 Jan 2009 12:59:01 +0000 Subject: [PATCH] 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 --- tests/strings/strings.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/strings/strings.cpp b/tests/strings/strings.cpp index 76e24c14d3..92c18786f8 100644 --- a/tests/strings/strings.cpp +++ b/tests/strings/strings.cpp @@ -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)