Reenable m_anyBool1 tests in wxAny test case too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -393,7 +393,6 @@ void wxAnyTestCase::GetAs()
|
|||||||
CPPUNIT_ASSERT(res);
|
CPPUNIT_ASSERT(res);
|
||||||
CPPUNIT_ASSERT(b == false);
|
CPPUNIT_ASSERT(b == false);
|
||||||
|
|
||||||
#ifndef wxDONT_TEST
|
|
||||||
// Conversions from bool type
|
// Conversions from bool type
|
||||||
res = m_anyBool1.GetAs(&l);
|
res = m_anyBool1.GetAs(&l);
|
||||||
CPPUNIT_ASSERT(res);
|
CPPUNIT_ASSERT(res);
|
||||||
@@ -406,6 +405,7 @@ void wxAnyTestCase::GetAs()
|
|||||||
CPPUNIT_ASSERT(s == "true");
|
CPPUNIT_ASSERT(s == "true");
|
||||||
CPPUNIT_ASSERT(!m_anyBool1.GetAs(&f));
|
CPPUNIT_ASSERT(!m_anyBool1.GetAs(&f));
|
||||||
|
|
||||||
|
#ifndef wxDONT_TEST
|
||||||
// Conversions from floating point type
|
// Conversions from floating point type
|
||||||
res = m_anyDoubleDouble1.GetAs(&l);
|
res = m_anyDoubleDouble1.GetAs(&l);
|
||||||
CPPUNIT_ASSERT(res);
|
CPPUNIT_ASSERT(res);
|
||||||
|
Reference in New Issue
Block a user