]> git.saurik.com Git - wxWidgets.git/commitdiff
Disable more wxAny tests again.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 13 May 2013 17:09:20 +0000 (17:09 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 13 May 2013 17:09:20 +0000 (17:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/any/anytest.cpp

index 0d86acaf73adde5960b1bda4570a53235d816c87..ba745db2abc34da03c7a7fa3eee8ef083595db32 100644 (file)
@@ -403,7 +403,6 @@ void wxAnyTestCase::GetAs()
     CPPUNIT_ASSERT(res);
     CPPUNIT_ASSERT(s == "true");
     CPPUNIT_ASSERT(!m_anyBool1.GetAs(&f));
     CPPUNIT_ASSERT(res);
     CPPUNIT_ASSERT(s == "true");
     CPPUNIT_ASSERT(!m_anyBool1.GetAs(&f));
-#endif // !wxDONT_TEST
 
     // Conversions from floating point type
     res = m_anyDoubleDouble1.GetAs(&l);
 
     // Conversions from floating point type
     res = m_anyDoubleDouble1.GetAs(&l);
@@ -418,6 +417,7 @@ void wxAnyTestCase::GetAs()
     res = s.ToDouble(&d2);
     CPPUNIT_ASSERT(res);
     CPPUNIT_ASSERT_DOUBLES_EQUAL(d2, TEST_FLOAT_CONST, FEQ_DELTA);
     res = s.ToDouble(&d2);
     CPPUNIT_ASSERT(res);
     CPPUNIT_ASSERT_DOUBLES_EQUAL(d2, TEST_FLOAT_CONST, FEQ_DELTA);
+#endif // !wxDONT_TEST
 }
 
 
 }