sc/qa/extras/scheaderfieldsobj.cxx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
New commits: commit 8f13b0d3f1d72aab85665bccf409a3d6fdeb4272 Author: Jens Carl <j.car...@gmx.de> AuthorDate: Mon Apr 15 03:56:26 2019 +0000 Commit: Jens Carl <j.car...@gmx.de> CommitDate: Mon Apr 15 17:20:35 2019 +0200 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.car...@gmx.de> 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits