Kaydet (Commit) 40fdfea0 authored tarafından Jens Carl's avatar Jens Carl Kaydeden (comit) Markus Mohrhard

tdf#45904 Remove/disable obsolete _XSpreadsheetDocument Java test

The _XSpreadsheetDocument test is already written in C++ since commit
b9337e22.

Change-Id: Icc0fc266f6e375ceb94edd5a95d396540972a908
Reviewed-on: https://gerrit.libreoffice.org/41409Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 494b7089
...@@ -635,7 +635,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ ...@@ -635,7 +635,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\
qadevOOo/tests/java/ifc/sheet/_XSheetOperation \ qadevOOo/tests/java/ifc/sheet/_XSheetOperation \
qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak \ qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak \
qadevOOo/tests/java/ifc/sheet/_XSpreadsheet \ qadevOOo/tests/java/ifc/sheet/_XSpreadsheet \
qadevOOo/tests/java/ifc/sheet/_XSpreadsheetDocument \
qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView \ qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView \
qadevOOo/tests/java/ifc/sheet/_XSubTotalCalculatable \ qadevOOo/tests/java/ifc/sheet/_XSubTotalCalculatable \
qadevOOo/tests/java/ifc/sheet/_XSubTotalDescriptor \ qadevOOo/tests/java/ifc/sheet/_XSubTotalDescriptor \
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
"ScModelObj";"com::sun::star::lang::XComponent";"dispose()" "ScModelObj";"com::sun::star::lang::XComponent";"dispose()"
"ScModelObj";"com::sun::star::lang::XComponent";"addEventListener()" "ScModelObj";"com::sun::star::lang::XComponent";"addEventListener()"
"ScModelObj";"com::sun::star::lang::XComponent";"removeEventListener()" "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";"protect()"
"ScModelObj";"com::sun::star::util::XProtectable";"unprotect()" "ScModelObj";"com::sun::star::util::XProtectable";"unprotect()"
"ScModelObj";"com::sun::star::util::XProtectable";"isProtected()" "ScModelObj";"com::sun::star::util::XProtectable";"isProtected()"
......
/*
* 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment