Kaydet (Commit) 099772a1 authored tarafından Jens Carl's avatar Jens Carl

Correct class name

Change-Id: I76b440e72a80f20d05af477a38e9695cb17cb979
Reviewed-on: https://gerrit.libreoffice.org/64354
Tested-by: Jenkins
Reviewed-by: 's avatarJens Carl <j.carl43@gmx.de>
üst a0abe5e7
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment