m_win variable was never used and setUp() and tearDown() were simply not
needed here.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72698
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
public:
MeasuringContextTestCase() { }
public:
MeasuringContextTestCase() { }
- virtual void setUp();
- virtual void tearDown();
-
private:
CPPUNIT_TEST_SUITE( MeasuringContextTestCase );
CPPUNIT_TEST( GetTextExtent );
private:
CPPUNIT_TEST_SUITE( MeasuringContextTestCase );
CPPUNIT_TEST( GetTextExtent );
DECLARE_NO_COPY_CLASS(MeasuringContextTestCase)
};
DECLARE_NO_COPY_CLASS(MeasuringContextTestCase)
};
// also include in its own registry so that these tests can be run alone
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MeasuringContextTestCase, "MeasuringContextTestCase" );
// also include in its own registry so that these tests can be run alone
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MeasuringContextTestCase, "MeasuringContextTestCase" );
-// ----------------------------------------------------------------------------
-// test initialization
-// ----------------------------------------------------------------------------
-
-void MeasuringContextTestCase::setUp()
-{
- m_win = wxTheApp->GetTopWindow();
-}
-
-void MeasuringContextTestCase::tearDown()
-{
- m_win = NULL;
-}
-
// ----------------------------------------------------------------------------
// tests themselves
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// tests themselves
// ----------------------------------------------------------------------------