[Libreoffice-commits] core.git: sc/qa

Markus Mohrhard markus.mohrhard at googlemail.com
Sat Mar 19 16:01:13 UTC 2016


 sc/qa/unit/mark_test.cxx |   20 +-------------------
 1 file changed, 1 insertion(+), 19 deletions(-)

New commits:
commit c0737674ad7ca6af2ada0b8b42f55e9ed46d87db
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sat Mar 19 17:00:26 2016 +0100

    simplify new test
    
    Change-Id: Icb43a88c03c364d7bdcbc99ff64804df7174fec1

diff --git a/sc/qa/unit/mark_test.cxx b/sc/qa/unit/mark_test.cxx
index e659de1..41e0903 100644
--- a/sc/qa/unit/mark_test.cxx
+++ b/sc/qa/unit/mark_test.cxx
@@ -78,16 +78,9 @@ struct MultiMarkTestData
     std::vector<std::pair<SCCOL,SCCOL>> 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 )


More information about the Libreoffice-commits mailing list