simplify new test
Change-Id: Icb43a88c03c364d7bdcbc99ff64804df7174fec1
This commit is contained in:
@@ -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 )
|
||||||
|
Reference in New Issue
Block a user