summaryrefslogtreecommitdiff
path: root/sc/qa/extras/scheaderfieldsobj.cxx
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2019-04-15 03:56:26 +0000
committerJens Carl <j.carl43@gmx.de>2019-04-15 17:20:35 +0200
commit8f13b0d3f1d72aab85665bccf409a3d6fdeb4272 (patch)
treec49c60e8342c0f1efaf745ed38ab0b42d51a7d64 /sc/qa/extras/scheaderfieldsobj.cxx
parent2eb92eaea9ad74b1488246af3c334c3829af36a1 (diff)
Rename ScCellFieldsObj to ScHeaderFieldsObj
Correct class name to mirror the name of the object we are testing against. Change-Id: I72f29c765990b1693533de8150bfbededf045925 Reviewed-on: https://gerrit.libreoffice.org/70753 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc/qa/extras/scheaderfieldsobj.cxx')
-rw-r--r--sc/qa/extras/scheaderfieldsobj.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sc/qa/extras/scheaderfieldsobj.cxx b/sc/qa/extras/scheaderfieldsobj.cxx
index e38e88fc0080..c105d3a56437 100644
--- a/sc/qa/extras/scheaderfieldsobj.cxx
+++ b/sc/qa/extras/scheaderfieldsobj.cxx
@@ -33,18 +33,18 @@ using namespace css;
namespace sc_apitest
{
-class ScCellFieldsObj : public CalcUnoApiTest,
- public apitest::XEnumerationAccess,
- public apitest::XRefreshable
+class ScHeaderFieldsObj : public CalcUnoApiTest,
+ public apitest::XEnumerationAccess,
+ public apitest::XRefreshable
{
public:
- ScCellFieldsObj();
+ ScHeaderFieldsObj();
virtual uno::Reference<uno::XInterface> init() override;
virtual void setUp() override;
virtual void tearDown() override;
- CPPUNIT_TEST_SUITE(ScCellFieldsObj);
+ CPPUNIT_TEST_SUITE(ScHeaderFieldsObj);
// XEnumerationAccess
CPPUNIT_TEST(testCreateEnumeration);
@@ -58,12 +58,12 @@ private:
uno::Reference<lang::XComponent> m_xComponent;
};
-ScCellFieldsObj::ScCellFieldsObj()
+ScHeaderFieldsObj::ScHeaderFieldsObj()
: CalcUnoApiTest("/sc/qa/extras/testdocuments")
{
}
-uno::Reference<uno::XInterface> ScCellFieldsObj::init()
+uno::Reference<uno::XInterface> ScHeaderFieldsObj::init()
{
uno::Reference<sheet::XSpreadsheetDocument> xDoc(m_xComponent, uno::UNO_QUERY_THROW);
@@ -87,20 +87,20 @@ uno::Reference<uno::XInterface> ScCellFieldsObj::init()
return xTFS->getTextFields();
}
-void ScCellFieldsObj::setUp()
+void ScHeaderFieldsObj::setUp()
{
CalcUnoApiTest::setUp();
// create calc document
m_xComponent = loadFromDesktop("private:factory/scalc");
}
-void ScCellFieldsObj::tearDown()
+void ScHeaderFieldsObj::tearDown()
{
closeDocument(m_xComponent);
CalcUnoApiTest::tearDown();
}
-CPPUNIT_TEST_SUITE_REGISTRATION(ScCellFieldsObj);
+CPPUNIT_TEST_SUITE_REGISTRATION(ScHeaderFieldsObj);
} // namespace sc_apitest