Enable yet more tests in wxAnyTestCase::GetAs().
This is part of the continuing series of commits to find out what results in heap corruption in wxOSX PPC builds. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -352,14 +352,14 @@ void wxAnyTestCase::GetAs()
|
|||||||
CPPUNIT_ASSERT(res);
|
CPPUNIT_ASSERT(res);
|
||||||
CPPUNIT_ASSERT(b == true);
|
CPPUNIT_ASSERT(b == true);
|
||||||
|
|
||||||
// FIXME: Something in this test results in heap corruption under PPC
|
|
||||||
// OS X, disable it to at least allow the subsequent tests to run as
|
|
||||||
// otherwise the test program just crashes.
|
|
||||||
#ifndef __WXOSX__
|
|
||||||
// Conversions from default "abc" string to other types
|
// Conversions from default "abc" string to other types
|
||||||
// should not work.
|
// should not work.
|
||||||
CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&l));
|
CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&l));
|
||||||
CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&ul));
|
CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&ul));
|
||||||
|
// FIXME: Something in this test results in heap corruption under PPC
|
||||||
|
// OS X, disable it to at least allow the subsequent tests to run as
|
||||||
|
// otherwise the test program just crashes.
|
||||||
|
#ifndef __WXOSX__
|
||||||
CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&f));
|
CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&f));
|
||||||
CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&b));
|
CPPUNIT_ASSERT(!m_anyStringString1.GetAs(&b));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user