simplify new test

Change-Id: Icb43a88c03c364d7bdcbc99ff64804df7174fec1
This commit is contained in:
Markus Mohrhard
2016-03-19 17:00:26 +01:00
parent fbc99bf76d
commit c0737674ad

View File

@@ -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
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 )