diff options
author | Jens Carl <j.carl43@gmx.de> | 2017-10-30 01:42:40 +0000 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-10-31 00:39:09 +0100 |
commit | 13c5dd1d98a480cb01ca8f24242c80e326e4ade8 (patch) | |
tree | 3fb8c2fce02b91b3b25c0c27c053e5e2c1b29a30 /sc | |
parent | 5631652200a1261e4fee8e51cca238a35b465d14 (diff) |
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@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/extras/scarealinkobj.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
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 |