diff options
author | Jens Carl <j.carl43@gmx.de> | 2019-01-25 17:41:27 +0000 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2019-01-25 21:52:05 +0100 |
commit | 7422d394812958a2014615b996df0378cc7d495f (patch) | |
tree | 5f24fc07bbc85dec75dc74f8c96b305ed12c8bca /qadevOOo | |
parent | 79b04f8b02268399fd5388227e947d547366a4e5 (diff) |
tdf#45904 Move XPropertySet Java tests to C++
Move XPropertySet Java tests to C++ for ScSpreadsheetSettings.
Change-Id: Id969a566fcb4e544c26a4097e0f49a01bc967ad7
Reviewed-on: https://gerrit.libreoffice.org/66926
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/Jar_OOoRunner.mk | 1 | ||||
-rw-r--r-- | qadevOOo/objdsc/sc/com.sun.star.comp.office.ScSpreadsheetSettings.csv | 7 | ||||
-rw-r--r-- | qadevOOo/tests/java/mod/_sc/ScSpreadsheetSettings.java | 69 |
3 files changed, 0 insertions, 77 deletions
diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 71887651aa48..3f9f58ac43d9 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -982,7 +982,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/mod/_sc/ScNamedRangesObj \ qadevOOo/tests/java/mod/_sc/ScShapeObj \ qadevOOo/tests/java/mod/_sc/ScSheetLinkObj \ - qadevOOo/tests/java/mod/_sc/ScSpreadsheetSettings \ qadevOOo/tests/java/mod/_sc/ScSpreadsheetSettingsObj \ qadevOOo/tests/java/mod/_sc/ScStyleFamilyObj \ qadevOOo/tests/java/mod/_sc/ScStyleObj \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScSpreadsheetSettings.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScSpreadsheetSettings.csv deleted file mode 100644 index 63db656f8011..000000000000 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScSpreadsheetSettings.csv +++ /dev/null @@ -1,7 +0,0 @@ -"ScSpreadsheetSettings";"com::sun::star::beans::XPropertySet";"getPropertySetInfo()" -"ScSpreadsheetSettings";"com::sun::star::beans::XPropertySet";"setPropertyValue()" -"ScSpreadsheetSettings";"com::sun::star::beans::XPropertySet";"getPropertyValue()" -"ScSpreadsheetSettings";"com::sun::star::beans::XPropertySet";"addPropertyChangeListener()" -"ScSpreadsheetSettings";"com::sun::star::beans::XPropertySet";"removePropertyChangeListener()" -"ScSpreadsheetSettings";"com::sun::star::beans::XPropertySet";"addVetoableChangeListener()" -"ScSpreadsheetSettings";"com::sun::star::beans::XPropertySet";"removeVetoableChangeListener()" diff --git a/qadevOOo/tests/java/mod/_sc/ScSpreadsheetSettings.java b/qadevOOo/tests/java/mod/_sc/ScSpreadsheetSettings.java deleted file mode 100644 index f98ad9f7f91b..000000000000 --- a/qadevOOo/tests/java/mod/_sc/ScSpreadsheetSettings.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -package mod._sc; - -import java.io.PrintWriter; - -import lib.TestCase; -import lib.TestEnvironment; -import lib.TestParameters; - -import com.sun.star.uno.XInterface; - -/** -* Test for object which is represented by service -* <code>com.sun.star.sheet.GlobalSheetSettings</code>. <p> -* Object implements the following interfaces : -* <ul> -* <li> <code>com::sun::star::sheet::GlobalSheetSettings</code></li> -* <li> <code>com::sun::star::beans::XPropertySet</code></li> -* </ul> -* @see com.sun.star.sheet.GlobalSheetSettings -* @see com.sun.star.beans.XPropertySet -* @see ifc.sheet._GlobalSheetSettings -* @see ifc.beans._XPropertySet -*/ -public class ScSpreadsheetSettings extends TestCase { - - /** - * Creating a TestEnvironment for the interfaces to be tested. - * Creates an instance of the service - * <code>com.sun.star.sheet.GlobalSheetSettings</code>. - */ - @Override - public TestEnvironment createTestEnvironment( - TestParameters tParam, PrintWriter log) throws Exception { - - XInterface oObj = null; - - // creation of testobject here - // first we write what we are intend to do to log file - log.println( "creating a test environment" ); - - // create testobject here - oObj = (XInterface)tParam.getMSF(). - createInstance("com.sun.star.sheet.GlobalSheetSettings"); - - TestEnvironment tEnv = new TestEnvironment(oObj); - - return tEnv; - } // finish method getTestEnvironment - -} // finish class ScSpreadsheetSettings - |