summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2018-03-04 08:13:28 +0000
committerJens Carl <j.carl43@gmx.de>2018-03-04 18:59:22 +0100
commit7b7e0ff7b78f2e745712c551e5efe7457987f136 (patch)
treed6dc0c9d80c4ebe99a02f2b38d5d3ecf4acc0ce0 /qadevOOo
parent919546585a09a755f0454c80ec5d9fdadd12d87a (diff)
tdf#45904: Move _Shape Java tests to C++
Change-Id: If0bfa9fb465f37e0ccce5b2fa4e909baaac1df50 Reviewed-on: https://gerrit.libreoffice.org/50722 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/Jar_OOoRunner.mk1
-rw-r--r--qadevOOo/objdsc/sc/com.sun.star.comp.office.ScShapeObj.csv3
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_Shape.java53
3 files changed, 0 insertions, 57 deletions
diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk
index fa6d33e0fade..d57a9e7543fb 100644
--- a/qadevOOo/Jar_OOoRunner.mk
+++ b/qadevOOo/Jar_OOoRunner.mk
@@ -564,7 +564,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\
qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryComposer \
qadevOOo/tests/java/ifc/sdb/_XSQLErrorBroadcaster \
qadevOOo/tests/java/ifc/sheet/_FunctionDescription \
- qadevOOo/tests/java/ifc/sheet/_Shape \
qadevOOo/tests/java/ifc/sheet/_SheetLink \
qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor \
qadevOOo/tests/java/ifc/sheet/_Spreadsheet \
diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScShapeObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScShapeObj.csv
index 607ebb7eaa8c..e7385e4ec6f7 100644
--- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScShapeObj.csv
+++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScShapeObj.csv
@@ -14,9 +14,6 @@
"ScShapeObj";"com::sun::star::drawing::Shape";"InteropGrabBag#optional"
"ScShapeObj";"com::sun::star::drawing::XShapeDescriptor";"getShapeType()"
"ScShapeObj";"com::sun::star::drawing::XGluePointsSupplier#optional";"getGluePoints()"
-"ScShapeObj";"com::sun::star::sheet::Shape";"Anchor"
-"ScShapeObj";"com::sun::star::sheet::Shape";"HoriOrientPosition"
-"ScShapeObj";"com::sun::star::sheet::Shape";"VertOrientPosition"
"ScShapeObj";"com::sun::star::beans::XPropertySet";"getPropertySetInfo()"
"ScShapeObj";"com::sun::star::beans::XPropertySet";"setPropertyValue()"
"ScShapeObj";"com::sun::star::beans::XPropertySet";"getPropertyValue()"
diff --git a/qadevOOo/tests/java/ifc/sheet/_Shape.java b/qadevOOo/tests/java/ifc/sheet/_Shape.java
deleted file mode 100644
index c5def63c4379..000000000000
--- a/qadevOOo/tests/java/ifc/sheet/_Shape.java
+++ /dev/null
@@ -1,53 +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 ifc.sheet;
-
-import com.sun.star.sheet.XSpreadsheet;
-import com.sun.star.sheet.XSpreadsheetDocument;
-import com.sun.star.table.XCell;
-import com.sun.star.uno.UnoRuntime;
-
-import lib.MultiPropertyTest;
-
-
-public class _Shape extends MultiPropertyTest {
- public void _Anchor() {
- XSpreadsheetDocument xSheetDoc = UnoRuntime.queryInterface(
- XSpreadsheetDocument.class,
- tEnv.getObjRelation(
- "DOCUMENT"));
- String[] sheetNames = xSheetDoc.getSheets().getElementNames();
- XSpreadsheet xSheet = null;
- XCell xCell = null;
-
- try {
- xSheet = UnoRuntime.queryInterface(
- XSpreadsheet.class,
- xSheetDoc.getSheets().getByName(sheetNames[0]));
- xCell = xSheet.getCellByPosition(0, 0);
- } catch (com.sun.star.container.NoSuchElementException e) {
- e.printStackTrace();
- } catch (com.sun.star.lang.IndexOutOfBoundsException e) {
- e.printStackTrace();
- } catch (com.sun.star.lang.WrappedTargetException e) {
- e.printStackTrace();
- }
-
- testProperty("Anchor", xSheet, xCell);
- }
-} \ No newline at end of file