summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2017-11-23 07:24:25 +0000
committerJens Carl <j.carl43@gmx.de>2017-11-23 09:51:49 +0100
commita8681f24d786a5498844e29a3029cf9e60e74ca3 (patch)
tree5bc2d0c5250bbfacda1b0fcc8260ad195521029b /qadevOOo
parentd3c607b4bbcc1727ba0d295ac7193bea2874ed5b (diff)
tdf#45904 Move _XScenarioEnhanced Java test to C++
Change-Id: Ibc99dc0d50e612bc6cdebaf5f9c5f828e5af859f Reviewed-on: https://gerrit.libreoffice.org/45123 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.ScTableSheetObj.csv1
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced.java80
3 files changed, 0 insertions, 82 deletions
diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk
index f8d6b4a5ecd8..4ee5633c5650 100644
--- a/qadevOOo/Jar_OOoRunner.mk
+++ b/qadevOOo/Jar_OOoRunner.mk
@@ -609,7 +609,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\
qadevOOo/tests/java/ifc/sheet/_XRangeSelection \
qadevOOo/tests/java/ifc/sheet/_XRecentFunctions \
qadevOOo/tests/java/ifc/sheet/_XScenario \
- qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced \
qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor \
qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor \
qadevOOo/tests/java/ifc/style/_CharacterProperties \
diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv
index 6f434c9b484c..4438b3b4d7c9 100644
--- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv
+++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv
@@ -226,7 +226,6 @@
"ScTableSheetObj";"com::sun::star::beans::XPropertySet";"removeVetoableChangeListener()"
"ScTableSheetObj";"com::sun::star::sheet::XCellRangeData";"getDataArray()"
"ScTableSheetObj";"com::sun::star::sheet::XCellRangeData";"setDataArray()"
-"ScTableSheetObj";"com::sun::star::sheet::XScenarioEnhanced#optional";"getRanges()"
"ScTableSheetObj";"com::sun::star::chart::XChartDataArray";"getData()"
"ScTableSheetObj";"com::sun::star::chart::XChartDataArray";"setData()"
"ScTableSheetObj";"com::sun::star::chart::XChartDataArray";"getRowDescriptions()"
diff --git a/qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced.java b/qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced.java
deleted file mode 100644
index e573ea45f63d..000000000000
--- a/qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced.java
+++ /dev/null
@@ -1,80 +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.XScenarioEnhanced;
-import com.sun.star.table.CellRangeAddress;
-import com.sun.star.uno.UnoRuntime;
-
-import lib.MultiMethodTest;
-
-public class _XScenarioEnhanced extends MultiMethodTest {
- public XScenarioEnhanced oObj = null;
-
- @Override
- public void before() {
- oObj = UnoRuntime.queryInterface(
- XScenarioEnhanced.class,
- tEnv.getObjRelation("ScenarioSheet"));
- }
-
- public void _getRanges() {
- boolean res = true;
- CellRangeAddress[] getting = oObj.getRanges();
- System.out.println("Count " + getting.length);
-
- CellRangeAddress first = getting[0];
-
- if (first.Sheet != 1) {
- log.println(
- "wrong RangeAddress is returned, expected Sheet=0 and got " +
- first.Sheet);
- res = false;
- }
-
- if (first.StartColumn != 0) {
- log.println(
- "wrong RangeAddress is returned, expected StartColumn=0 and got " +
- first.StartColumn);
- res = false;
- }
-
- if (first.EndColumn != 10) {
- log.println(
- "wrong RangeAddress is returned, expected EndColumn=10 and got " +
- first.EndColumn);
- res = false;
- }
-
- if (first.StartRow != 0) {
- log.println(
- "wrong RangeAddress is returned, expected StartRow=0 and got " +
- first.StartRow);
- res = false;
- }
-
- if (first.EndRow != 10) {
- log.println(
- "wrong RangeAddress is returned, expected EndRow=10 and got " +
- first.EndRow);
- res = false;
- }
-
- tRes.tested("getRanges()", res);
- }
-}