[Libreoffice-commits] core.git: sc/qa
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Dec 1 02:14:11 UTC 2018
sc/qa/extras/sccellsobj.cxx | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
New commits:
commit 099772a10470e9125367e78ae77aa25bfd46cdc9
Author: Jens Carl <j.carl43 at gmx.de>
AuthorDate: Fri Nov 30 18:41:59 2018 +0000
Commit: Jens Carl <j.carl43 at gmx.de>
CommitDate: Sat Dec 1 03:13:38 2018 +0100
Correct class name
Change-Id: I76b440e72a80f20d05af477a38e9695cb17cb979
Reviewed-on: https://gerrit.libreoffice.org/64354
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43 at gmx.de>
diff --git a/sc/qa/extras/sccellsobj.cxx b/sc/qa/extras/sccellsobj.cxx
index 93c9c9f8d259..ea63c4b444d9 100644
--- a/sc/qa/extras/sccellsobj.cxx
+++ b/sc/qa/extras/sccellsobj.cxx
@@ -28,16 +28,16 @@ using namespace css::uno;
namespace sc_apitest
{
-class ScCells : public CalcUnoApiTest, public apitest::XEnumerationAccess
+class ScCellsObj : public CalcUnoApiTest, public apitest::XEnumerationAccess
{
public:
- ScCells();
+ ScCellsObj();
virtual uno::Reference<uno::XInterface> init() override;
virtual void setUp() override;
virtual void tearDown() override;
- CPPUNIT_TEST_SUITE(ScCells);
+ CPPUNIT_TEST_SUITE(ScCellsObj);
// XEnumerationAccess
CPPUNIT_TEST(testCreateEnumeration);
@@ -48,12 +48,12 @@ private:
uno::Reference<lang::XComponent> m_xComponent;
};
-ScCells::ScCells()
+ScCellsObj::ScCellsObj()
: CalcUnoApiTest("/sc/qa/extras/testdocuments")
{
}
-uno::Reference<uno::XInterface> ScCells::init()
+uno::Reference<uno::XInterface> ScCellsObj::init()
{
uno::Reference<sheet::XSpreadsheetDocument> xDoc(m_xComponent, uno::UNO_QUERY_THROW);
CPPUNIT_ASSERT_MESSAGE("no calc document", xDoc.is());
@@ -79,20 +79,20 @@ uno::Reference<uno::XInterface> ScCells::init()
return xSCR->getCells();
}
-void ScCells::setUp()
+void ScCellsObj::setUp()
{
CalcUnoApiTest::setUp();
m_xComponent = loadFromDesktop("private:factory/scalc");
CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
}
-void ScCells::tearDown()
+void ScCellsObj::tearDown()
{
closeDocument(m_xComponent);
CalcUnoApiTest::tearDown();
}
-CPPUNIT_TEST_SUITE_REGISTRATION(ScCells);
+CPPUNIT_TEST_SUITE_REGISTRATION(ScCellsObj);
} // namespace sc_apitest
More information about the Libreoffice-commits
mailing list