The ScOutlineObj test still requires the fugdge
...that got moved from UnoApiTest to CalcUnoApiTest in
a071a29d4f
"UnoApiTest don't require Calc."
Change-Id: I1a38c496ef2baf42b5fd82ff653e822a8b80a124
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#include <test/unoapi_test.hxx>
|
||||
#include <test/calc_unoapi_test.hxx>
|
||||
#include <test/sheet/xsheetoutline.hxx>
|
||||
|
||||
#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
|
||||
@@ -20,7 +20,7 @@ namespace sc_apitest {
|
||||
|
||||
#define NUMBER_OF_TESTS 6
|
||||
|
||||
class ScOutlineObj : public UnoApiTest, apitest::XSheetOutline
|
||||
class ScOutlineObj : public CalcUnoApiTest, apitest::XSheetOutline
|
||||
{
|
||||
public:
|
||||
ScOutlineObj();
|
||||
@@ -49,7 +49,7 @@ sal_Int32 ScOutlineObj::nTest = 0;
|
||||
uno::Reference< lang::XComponent > ScOutlineObj::mxComponent;
|
||||
|
||||
ScOutlineObj::ScOutlineObj()
|
||||
: UnoApiTest("/sc/qa/extras/testdocuments")
|
||||
: CalcUnoApiTest("/sc/qa/extras/testdocuments")
|
||||
{
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ uno::Reference< uno::XInterface > ScOutlineObj::init()
|
||||
void ScOutlineObj::setUp()
|
||||
{
|
||||
nTest++;
|
||||
UnoApiTest::setUp();
|
||||
CalcUnoApiTest::setUp();
|
||||
}
|
||||
|
||||
void ScOutlineObj::tearDown()
|
||||
@@ -81,7 +81,7 @@ void ScOutlineObj::tearDown()
|
||||
if (nTest == NUMBER_OF_TESTS)
|
||||
closeDocument(mxComponent);
|
||||
|
||||
UnoApiTest::tearDown();
|
||||
CalcUnoApiTest::tearDown();
|
||||
}
|
||||
|
||||
CPPUNIT_TEST_SUITE_REGISTRATION(ScOutlineObj);
|
||||
|
Reference in New Issue
Block a user