[Libreoffice-commits] core.git: sc/qa
Jens Carl
j.carl43 at gmx.de
Mon Oct 30 23:39:33 UTC 2017
sc/qa/extras/scarealinkobj.cxx | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
New commits:
commit 13c5dd1d98a480cb01ca8f24242c80e326e4ade8
Author: Jens Carl <j.carl43 at gmx.de>
Date: Mon Oct 30 01:42:40 2017 +0000
Rename class from ScAreaLink to ScAreaLinkObj
Rename class for sc_arealink so it aligns with the rest of
sc unit tests objects.
Change-Id: If8b8497d841e0c3215a55171a1aa036718f8b387
Reviewed-on: https://gerrit.libreoffice.org/44038
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/sc/qa/extras/scarealinkobj.cxx b/sc/qa/extras/scarealinkobj.cxx
index c2bbb3f1fb08..cad49d556e5d 100644
--- a/sc/qa/extras/scarealinkobj.cxx
+++ b/sc/qa/extras/scarealinkobj.cxx
@@ -29,16 +29,16 @@ namespace sc_apitest {
#define NUMBER_OF_TESTS 9
-class ScAreaLink : public CalcUnoApiTest, public apitest::CellAreaLink, public apitest::XAreaLink
+class ScAreaLinkObj : public CalcUnoApiTest, public apitest::CellAreaLink, public apitest::XAreaLink
{
public:
- ScAreaLink();
+ ScAreaLinkObj();
virtual uno::Reference< uno::XInterface > init() override;
virtual void setUp() override;
virtual void tearDown() override;
- CPPUNIT_TEST_SUITE(ScAreaLink);
+ CPPUNIT_TEST_SUITE(ScAreaLinkObj);
// CellAreaLink
CPPUNIT_TEST(testUrl);
@@ -61,15 +61,15 @@ private:
};
-sal_Int32 ScAreaLink::nTest = 0;
-uno::Reference< lang::XComponent > ScAreaLink::mxComponent;
+sal_Int32 ScAreaLinkObj::nTest = 0;
+uno::Reference< lang::XComponent > ScAreaLinkObj::mxComponent;
-ScAreaLink::ScAreaLink()
+ScAreaLinkObj::ScAreaLinkObj()
: CalcUnoApiTest("/sc/qa/extras/testdocuments")
{
}
-uno::Reference< uno::XInterface > ScAreaLink::init()
+uno::Reference< uno::XInterface > ScAreaLinkObj::init()
{
// create a calc document
if (!mxComponent.is())
@@ -88,13 +88,13 @@ uno::Reference< uno::XInterface > ScAreaLink::init()
return xLink;
}
-void ScAreaLink::setUp()
+void ScAreaLinkObj::setUp()
{
nTest++;
CalcUnoApiTest::setUp();
}
-void ScAreaLink::tearDown()
+void ScAreaLinkObj::tearDown()
{
if (nTest == NUMBER_OF_TESTS)
{
@@ -105,7 +105,7 @@ void ScAreaLink::tearDown()
CalcUnoApiTest::tearDown();
}
-CPPUNIT_TEST_SUITE_REGISTRATION(ScAreaLink);
+CPPUNIT_TEST_SUITE_REGISTRATION(ScAreaLinkObj);
} // end namespace
More information about the Libreoffice-commits
mailing list