summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2017-08-22 06:27:18 +0000
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-23 23:38:58 +0200
commit40fdfea0ae994569fb0919c974fc2356dd4bb5c4 (patch)
treef474b7e036b3e2dde71f3e4c0d753afa4ee2e302 /qadevOOo
parent494b7089b741c2944f72e2e4e9ea68aa500eb2d1 (diff)
tdf#45904 Remove/disable obsolete _XSpreadsheetDocument Java test
The _XSpreadsheetDocument test is already written in C++ since commit b9337e22ce1dbf2eba0e8c8db294ae99f4111f91. Change-Id: Icc0fc266f6e375ceb94edd5a95d396540972a908 Reviewed-on: https://gerrit.libreoffice.org/41409 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-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.ScModelObj.csv1
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSpreadsheetDocument.java50
3 files changed, 0 insertions, 52 deletions
diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk
index 0360b4f288eb..92b9912342f5 100644
--- a/qadevOOo/Jar_OOoRunner.mk
+++ b/qadevOOo/Jar_OOoRunner.mk
@@ -635,7 +635,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\
qadevOOo/tests/java/ifc/sheet/_XSheetOperation \
qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak \
qadevOOo/tests/java/ifc/sheet/_XSpreadsheet \
- qadevOOo/tests/java/ifc/sheet/_XSpreadsheetDocument \
qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView \
qadevOOo/tests/java/ifc/sheet/_XSubTotalCalculatable \
qadevOOo/tests/java/ifc/sheet/_XSubTotalDescriptor \
diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScModelObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScModelObj.csv
index 97c52331d984..b77e34c1984a 100644
--- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScModelObj.csv
+++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScModelObj.csv
@@ -14,7 +14,6 @@
"ScModelObj";"com::sun::star::lang::XComponent";"dispose()"
"ScModelObj";"com::sun::star::lang::XComponent";"addEventListener()"
"ScModelObj";"com::sun::star::lang::XComponent";"removeEventListener()"
-"ScModelObj";"com::sun::star::sheet::XSpreadsheetDocument";"getSheets()"
"ScModelObj";"com::sun::star::util::XProtectable";"protect()"
"ScModelObj";"com::sun::star::util::XProtectable";"unprotect()"
"ScModelObj";"com::sun::star::util::XProtectable";"isProtected()"
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetDocument.java b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetDocument.java
deleted file mode 100644
index bd8a598efea7..000000000000
--- a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetDocument.java
+++ /dev/null
@@ -1,50 +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.XSpreadsheetDocument;
-import com.sun.star.sheet.XSpreadsheets;
-
-/**
-* Testing <code>com.sun.star.sheet.XSpreadsheetDocument</code>
-* interface methods :
-* <ul>
-* <li><code> getSheets()</code></li>
-* </ul> <p>
-* @see com.sun.star.sheet.XSpreadsheetDocument
-*/
-public class _XSpreadsheetDocument extends MultiMethodTest {
-
- public XSpreadsheetDocument oObj = null;
-
- /**
- * Test calls the method and checks returned value. <p>
- * Has <b> OK </b> status if returned value isn't null. <p>
- */
- public void _getSheets() {
- XSpreadsheets sheets = oObj.getSheets();
- tRes.tested("getSheets()", sheets != null);
- }
-
-
-} // finish class _XSpreadsheetDocument
-
-