From 2ef0f6ce3194ee31146c8e455d9d6ddef957ce2a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 16 Jan 2008 02:03:10 +0000 Subject: [PATCH] remove the test of weak references classes size, it's implementation-dependent git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/weakref/weakref.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/weakref/weakref.cpp b/tests/weakref/weakref.cpp index f2a9c79d04..2c0eea61be 100644 --- a/tests/weakref/weakref.cpp +++ b/tests/weakref/weakref.cpp @@ -226,15 +226,6 @@ void WeakRefTestCase::DeleteTest() wxEvtHandlerRef wre(peh); wxWeakRef wro(peh); - // test size of references (see that it has selected right base class) -#ifdef HAVE_PARTIAL_SPECIALIZATION - CPPUNIT_ASSERT_EQUAL( sizeof(void*)*3, sizeof(wre) ); - CPPUNIT_ASSERT_EQUAL( sizeof(void*)*4, sizeof(wro) ); -#else - CPPUNIT_ASSERT_EQUAL( sizeof(void*)*3, sizeof(wre) ); - CPPUNIT_ASSERT_EQUAL( sizeof(void*)*3, sizeof(wro) ); -#endif - CPPUNIT_ASSERT( wre.get() == peh ); CPPUNIT_ASSERT( wro.get() == peh );