summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2017-10-20 22:39:21 +0000
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-10-29 23:45:13 +0100
commitba93d6aeb73cba64f037a0bd88d96fedb90f3f2f (patch)
tree8bec0d8dde2d50728466d01226e8b85efc92bdf0 /qadevOOo
parent4200896e36f259a60b3d3288e13ff08d2fda861c (diff)
tdf#45904: Move Java _XSheetFilterDescriptor tests to C++
Change-Id: If9bbef199f2c698f9ffeb3d57423b66ebd439a94 Reviewed-on: https://gerrit.libreoffice.org/43635 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/Jar_OOoRunner.mk1
-rw-r--r--qadevOOo/objdsc/sc/com.sun.star.comp.office.ScFilterDescriptorBase.csv2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetFilterDescriptor.java73
3 files changed, 0 insertions, 76 deletions
diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk
index 42108bb54891..796fc0805945 100644
--- a/qadevOOo/Jar_OOoRunner.mk
+++ b/qadevOOo/Jar_OOoRunner.mk
@@ -626,7 +626,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\
qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntry \
qadevOOo/tests/java/ifc/sheet/_XSheetFilterable \
qadevOOo/tests/java/ifc/sheet/_XSheetFilterableEx \
- qadevOOo/tests/java/ifc/sheet/_XSheetFilterDescriptor \
qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView \
qadevOOo/tests/java/ifc/style/_CharacterProperties \
qadevOOo/tests/java/ifc/style/_CharacterPropertiesAsian \
diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScFilterDescriptorBase.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScFilterDescriptorBase.csv
index 80cf902f40b8..bbd744683dc8 100644
--- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScFilterDescriptorBase.csv
+++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScFilterDescriptorBase.csv
@@ -1,5 +1,3 @@
-"ScFilterDescriptorBase";"com::sun::star::sheet::XSheetFilterDescriptor";"getFilterFields()"
-"ScFilterDescriptorBase";"com::sun::star::sheet::XSheetFilterDescriptor";"setFilterFields()"
"ScFilterDescriptorBase";"com::sun::star::sheet::SheetFilterDescriptor";"IsCaseSensitive"
"ScFilterDescriptorBase";"com::sun::star::sheet::SheetFilterDescriptor";"SkipDuplicates"
"ScFilterDescriptorBase";"com::sun::star::sheet::SheetFilterDescriptor";"UseRegularExpressions"
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetFilterDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_XSheetFilterDescriptor.java
deleted file mode 100644
index 9069e9231669..000000000000
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetFilterDescriptor.java
+++ /dev/null
@@ -1,73 +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 util.ValueComparer;
-
-import com.sun.star.sheet.TableFilterField;
-import com.sun.star.sheet.XSheetFilterDescriptor;
-
-/**
-* Testing <code>com.sun.star.sheet.XSheetFilterDescriptor</code>
-* interface methods :
-* <ul>
-* <li><code> getFilterFields()</code></li>
-* <li><code> setFilterFields()</code></li>
-* </ul> <p>
-* @see com.sun.star.sheet.XSheetFilterDescriptor
-*/
-public class _XSheetFilterDescriptor extends MultiMethodTest {
-
- public XSheetFilterDescriptor oObj = null;
- public TableFilterField[] TFF = null;
-
- /**
- * Test calls the method, stores and checks returned value. <p>
- * Has <b> OK </b> status if returned value isn't null. <p>
- */
- public void _getFilterFields(){
- TFF = oObj.getFilterFields();
- tRes.tested("getFilterFields()", TFF != null );
- }
-
- /**
- * Test sets new value of the definitions of the filter fields,
- * gets the current definitions of the filter fields and compares
- * returned value with value that was stored by method
- * <code>getFilterFields()</code>. <p>
- * Has <b> OK </b> status if values aren't equal. <p>
- * The following method tests are to be completed successfully before :
- * <ul>
- * <li> <code> getFilterFields() </code> : to have the current definitions
- * of the filter fields </li>
- * </ul>
- */
- public void _setFilterFields() {
- requiredMethod("getFilterFields()");
- TableFilterField[] newTFF = new TableFilterField[1];
- newTFF[0] = new TableFilterField();
- oObj.setFilterFields(newTFF);
- newTFF = oObj.getFilterFields();
- tRes.tested("setFilterFields()", ! ValueComparer.equalValue(TFF, newTFF));
- }
-
-} // finish class _XSheetFilterDescriptor
-
-