From 5181927e6bb699cb0c689fd988d2e4fffaf47a57 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 15 May 2013 13:05:53 +0000 Subject: [PATCH] Re-enable conversions of wxAny to boolean tests. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/any/anytest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/any/anytest.cpp b/tests/any/anytest.cpp index f91279f..5c5c9e1 100644 --- a/tests/any/anytest.cpp +++ b/tests/any/anytest.cpp @@ -383,6 +383,7 @@ void wxAnyTestCase::GetAs() res = anyString.GetAs(&f); CPPUNIT_ASSERT(res); CPPUNIT_ASSERT_DOUBLES_EQUAL(f, 15.0, FEQ_DELTA); +#endif // !wxDONT_TEST anyString = "TRUE"; res = anyString.GetAs(&b); CPPUNIT_ASSERT(res); @@ -392,6 +393,7 @@ void wxAnyTestCase::GetAs() CPPUNIT_ASSERT(res); CPPUNIT_ASSERT(b == false); +#ifndef wxDONT_TEST // Conversions from bool type res = m_anyBool1.GetAs(&l); CPPUNIT_ASSERT(res); -- 2.7.4