diff options
author | Jens Carl <j.carl43@gmx.de> | 2018-03-22 05:46:16 +0000 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2018-03-22 07:43:47 +0100 |
commit | fd911a32505331174787403e6260202e29ea82b8 (patch) | |
tree | 1818f0e8227fbfaac0cdd02100cb52530d1b74c5 /sc/qa | |
parent | fa28a491f56a63b2ca28f611fcce3fa437cdad38 (diff) |
tdf#45904 Rename test object for GlobalSheetSettings
Rename test object ScSpreadsheetSettingsObj to ScSpreadsheetSettings.
Change-Id: Ia70cc82e0ee20571ad029590db735f932e5c7958
Reviewed-on: https://gerrit.libreoffice.org/51723
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/extras/scspreadsheetsettings.cxx (renamed from sc/qa/extras/scspreadsheetsettingsobj.cxx) | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/qa/extras/scspreadsheetsettingsobj.cxx b/sc/qa/extras/scspreadsheetsettings.cxx index 34edd4cc916f..48dfb48beb16 100644 --- a/sc/qa/extras/scspreadsheetsettingsobj.cxx +++ b/sc/qa/extras/scspreadsheetsettings.cxx @@ -23,16 +23,16 @@ using namespace com::sun::star; namespace sc_apitest { -class ScSpreadsheetSettingsObj : public CalcUnoApiTest, public apitest::GlobalSheetSettings +class ScSpreadsheetSettings : public CalcUnoApiTest, public apitest::GlobalSheetSettings { public: - ScSpreadsheetSettingsObj(); + ScSpreadsheetSettings(); virtual uno::Reference<uno::XInterface> init() override; virtual void setUp() override; virtual void tearDown() override; - CPPUNIT_TEST_SUITE(ScSpreadsheetSettingsObj); + CPPUNIT_TEST_SUITE(ScSpreadsheetSettings); // GlobalSheetSettings CPPUNIT_TEST(testGlobalSheetSettingsProperties); @@ -43,12 +43,12 @@ private: uno::Reference<lang::XComponent> mxComponent; }; -ScSpreadsheetSettingsObj::ScSpreadsheetSettingsObj() +ScSpreadsheetSettings::ScSpreadsheetSettings() : CalcUnoApiTest("/sc/qa/extras/testdocuments") { } -uno::Reference<uno::XInterface> ScSpreadsheetSettingsObj::init() +uno::Reference<uno::XInterface> ScSpreadsheetSettings::init() { uno::Reference<sheet::XSpreadsheetDocument> xDoc(mxComponent, UNO_QUERY_THROW); CPPUNIT_ASSERT_MESSAGE("no calc document", xDoc.is()); @@ -57,20 +57,20 @@ uno::Reference<uno::XInterface> ScSpreadsheetSettingsObj::init() return xMSF->createInstance("com.sun.star.sheet.GlobalSheetSettings"); } -void ScSpreadsheetSettingsObj::setUp() +void ScSpreadsheetSettings::setUp() { CalcUnoApiTest::setUp(); // create a calc document mxComponent = loadFromDesktop("private:factory/scalc"); } -void ScSpreadsheetSettingsObj::tearDown() +void ScSpreadsheetSettings::tearDown() { closeDocument(mxComponent); CalcUnoApiTest::tearDown(); } -CPPUNIT_TEST_SUITE_REGISTRATION(ScSpreadsheetSettingsObj); +CPPUNIT_TEST_SUITE_REGISTRATION(ScSpreadsheetSettings); } // end namespace |