diff options
author | Jens Carl <j.carl43@gmx.de> | 2017-08-06 07:10:36 +0000 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-08-08 07:23:36 +0200 |
commit | 0bd57d62d0f15eced0e99097d9f46a86f177e9a1 (patch) | |
tree | e10ef467edf8cd52eff9310c0713286c0a2e7168 /qadevOOo | |
parent | 855af7f3260705faf7c33be36efc1610354336f0 (diff) |
tdf#45904 Move Java _XViewSplitable tests to C++
Change-Id: Ib9cf1c53947d10260673e1e1088bbfbaa30efbc9
Reviewed-on: https://gerrit.libreoffice.org/40801
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/Jar_OOoRunner.mk | 1 | ||||
-rw-r--r-- | qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv | 6 | ||||
-rw-r--r-- | qadevOOo/tests/java/ifc/sheet/_XViewSplitable.java | 127 |
3 files changed, 0 insertions, 134 deletions
diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 553e5cb521ff..dfb164ffa102 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -653,7 +653,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XUniqueCellFormatRangesSupplier \ qadevOOo/tests/java/ifc/sheet/_XUsedAreaCursor \ qadevOOo/tests/java/ifc/sheet/_XViewFreezable \ - qadevOOo/tests/java/ifc/sheet/_XViewSplitable \ qadevOOo/tests/java/ifc/style/_CharacterProperties \ qadevOOo/tests/java/ifc/style/_CharacterPropertiesAsian \ qadevOOo/tests/java/ifc/style/_CharacterPropertiesComplex \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv index 7119ec7ffe98..3f082cec3a73 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv @@ -39,12 +39,6 @@ "ScTabViewObj";"com::sun::star::sheet::XViewFreezable";"freezeAtPosition()" "ScTabViewObj";"com::sun::star::sheet::XActivationBroadcaster#optional";"addActivationEventListener()" "ScTabViewObj";"com::sun::star::sheet::XActivationBroadcaster#optional";"removeActivationEventListener()" -"ScTabViewObj";"com::sun::star::sheet::XViewSplitable";"getIsWindowSplit()" -"ScTabViewObj";"com::sun::star::sheet::XViewSplitable";"getSplitHorizontal()" -"ScTabViewObj";"com::sun::star::sheet::XViewSplitable";"getSplitVertical()" -"ScTabViewObj";"com::sun::star::sheet::XViewSplitable";"getSplitColumn()" -"ScTabViewObj";"com::sun::star::sheet::XViewSplitable";"getSplitRow()" -"ScTabViewObj";"com::sun::star::sheet::XViewSplitable";"splitAtPosition()" "ScTabViewObj";"com::sun::star::sheet::XRangeSelection";"startRangeSelection()" "ScTabViewObj";"com::sun::star::sheet::XRangeSelection";"abortRangeSelection()" "ScTabViewObj";"com::sun::star::sheet::XRangeSelection";"addRangeSelectionListener()" diff --git a/qadevOOo/tests/java/ifc/sheet/_XViewSplitable.java b/qadevOOo/tests/java/ifc/sheet/_XViewSplitable.java deleted file mode 100644 index c70719babe53..000000000000 --- a/qadevOOo/tests/java/ifc/sheet/_XViewSplitable.java +++ /dev/null @@ -1,127 +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 lib.MultiMethodTest; - -import com.sun.star.sheet.XViewSplitable; - -/** -* Testing <code>com.sun.star.sheet.XViewSplitable</code> -* interface methods : -* <ul> -* <li><code> getIsWindowSplit()</code></li> -* <li><code> getSplitHorizontal()</code></li> -* <li><code> getSplitVertical()</code></li> -* <li><code> getSplitColumn()</code></li> -* <li><code> getSplitRow()</code></li> -* <li><code> splitAtPosition()</code></li> -* </ul> <p> -* @see com.sun.star.sheet.XViewSplitable -*/ -public class _XViewSplitable extends MultiMethodTest { - - public XViewSplitable oObj = null; - protected static final int posX = 101, posY = 51; - - /** - * Test just calls the method. <p> - * Has <b> OK </b> status if the method successfully returns. <p> - */ - public void _splitAtPosition(){ - oObj.splitAtPosition(posX, posY); - tRes.tested("splitAtPosition()", true); - } - - /** - * Test calls the method and checks returned value. <p> - * Has <b> OK </b> status if returned value is equal to true. <p> - * The following method tests are to be completed successfully before : - * <ul> - * <li> <code> splitAtPosition() </code> : that the view was splitted into - * individual panes </li> - * </ul> - */ - public void _getIsWindowSplit(){ - requiredMethod("splitAtPosition()"); - tRes.tested("getIsWindowSplit()", oObj.getIsWindowSplit()); - } - - /** - * Test calls the method and compares returned value with value that was - * set by method <code>splitAtPosition()</code>. <p> - * Has <b> OK </b> status if returned value is equal to value that was - * set by method <code>splitAtPosition()</code>. <p> - * The following method tests are to be completed successfully before : - * <ul> - * <li> <code> splitAtPosition() </code> : to split the view at the - * specified position </li> - * </ul> - */ - public void _getSplitHorizontal() { - requiredMethod("splitAtPosition()"); - tRes.tested("getSplitHorizontal()", oObj.getSplitHorizontal() == posX); - } - - /** - * Test calls the method and compares returned value with value that was - * set by method <code>splitAtPosition()</code>. <p> - * Has <b> OK </b> status if returned value is equal to value that was - * set by method <code>splitAtPosition()</code>. <p> - * The following method tests are to be completed successfully before : - * <ul> - * <li> <code> splitAtPosition() </code> : to split the view at the - * specified position </li> - * </ul> - */ - public void _getSplitVertical() { - requiredMethod("splitAtPosition()"); - tRes.tested("getSplitVertical()", oObj.getSplitVertical() == posY); - } - - /** - * Test calls the method and checks returned value. <p> - * Has <b> OK </b> status if returned value isn't equal zero. <p> - * The following method tests are to be completed successfully before : - * <ul> - * <li> <code> splitAtPosition() </code> : to split the view at the - * specified position </li> - * </ul> - */ - public void _getSplitColumn() { - requiredMethod("splitAtPosition()"); - tRes.tested("getSplitColumn()", oObj.getSplitColumn() != 0); - } - - /** - * Test calls the method and checks returned value. <p> - * Has <b> OK </b> status if returned value isn't equal zero. <p> - * The following method tests are to be completed successfully before : - * <ul> - * <li> <code> splitAtPosition() </code> : to split the view at the - * specified position </li> - * </ul> - */ - public void _getSplitRow() { - requiredMethod("splitAtPosition()"); - tRes.tested("getSplitRow()", oObj.getSplitRow() != 0); - } -} // finish class _XViewSplitable - - |