Kaydet (Commit) c0737674 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

simplify new test

Change-Id: Icb43a88c03c364d7bdcbc99ff64804df7174fec1
üst fbc99bf7
...@@ -78,16 +78,9 @@ struct MultiMarkTestData ...@@ -78,16 +78,9 @@ struct MultiMarkTestData
std::vector<std::pair<SCCOL,SCCOL>> aColsWithUnequalMarksList; std::vector<std::pair<SCCOL,SCCOL>> aColsWithUnequalMarksList;
}; };
class Test : public test::BootstrapFixture class Test : public CppUnit::TestFixture
{ {
public: public:
Test()
{
}
virtual void setUp() override;
virtual void tearDown() override;
void testSimpleMark( const ScRange& rRange, const ScRange& rSelectionCover, void testSimpleMark( const ScRange& rRange, const ScRange& rSelectionCover,
const ScRangeList& rLeftEnvelope, const ScRangeList& rRightEnvelope, const ScRangeList& rLeftEnvelope, const ScRangeList& rRightEnvelope,
const ScRangeList& rTopEnvelope, const ScRangeList& rBottomEnvelope ); const ScRangeList& rTopEnvelope, const ScRangeList& rBottomEnvelope );
...@@ -124,17 +117,6 @@ static void lcl_GetSortedRanges( const ScRangeList& rRangeList, ScRangeList& rRa ...@@ -124,17 +117,6 @@ static void lcl_GetSortedRanges( const ScRangeList& rRangeList, ScRangeList& rRa
rRangeListOut.Append( aRanges[nIdx] ); 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, void Test::testSimpleMark( const ScRange& rRange, const ScRange& rSelectionCover,
const ScRangeList& rLeftEnvelope, const ScRangeList& rRightEnvelope, const ScRangeList& rLeftEnvelope, const ScRangeList& rRightEnvelope,
const ScRangeList& rTopEnvelope, const ScRangeList& rBottomEnvelope ) const ScRangeList& rTopEnvelope, const ScRangeList& rBottomEnvelope )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment