From c0737674ad7ca6af2ada0b8b42f55e9ed46d87db Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sat, 19 Mar 2016 17:00:26 +0100 Subject: [PATCH] simplify new test Change-Id: Icb43a88c03c364d7bdcbc99ff64804df7174fec1 --- sc/qa/unit/mark_test.cxx | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/sc/qa/unit/mark_test.cxx b/sc/qa/unit/mark_test.cxx index e659de11348c..41e0903d33e0 100644 --- a/sc/qa/unit/mark_test.cxx +++ b/sc/qa/unit/mark_test.cxx @@ -78,16 +78,9 @@ struct MultiMarkTestData std::vector> aColsWithUnequalMarksList; }; -class Test : public test::BootstrapFixture +class Test : public CppUnit::TestFixture { public: - Test() - { - } - - virtual void setUp() override; - virtual void tearDown() override; - void testSimpleMark( const ScRange& rRange, const ScRange& rSelectionCover, const ScRangeList& rLeftEnvelope, const ScRangeList& rRightEnvelope, const ScRangeList& rTopEnvelope, const ScRangeList& rBottomEnvelope ); @@ -124,17 +117,6 @@ static void lcl_GetSortedRanges( const ScRangeList& rRangeList, ScRangeList& rRa rRangeListOut.Append( aRanges[nIdx] ); } -void Test::setUp() -{ - BootstrapFixture::setUp(); - ScDLL::Init(); -} - -void Test::tearDown() -{ - BootstrapFixture::tearDown(); -} - void Test::testSimpleMark( const ScRange& rRange, const ScRange& rSelectionCover, const ScRangeList& rLeftEnvelope, const ScRangeList& rRightEnvelope, const ScRangeList& rTopEnvelope, const ScRangeList& rBottomEnvelope )