diff options
author | Jens Carl <j.carl43@gmx.de> | 2018-03-18 09:10:47 +0000 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2018-03-18 23:32:04 +0100 |
commit | d97120c6f35e4c14a71df63b91dcbf67d9f310cc (patch) | |
tree | ee5b90aa302c124db12be0e731583c8d36b6f8f0 /qadevOOo | |
parent | 4f72ff66c5536ae281ac2049ca8592bc9bfa312e (diff) |
tdf#45904 Move _Spreadsheet Java tests to C++
Change-Id: Ic540d06899def77313d6dc7e0a5241e1f9eeea54
Reviewed-on: https://gerrit.libreoffice.org/51491
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/Jar_OOoRunner.mk | 1 | ||||
-rw-r--r-- | qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv | 3 | ||||
-rw-r--r-- | qadevOOo/tests/java/ifc/sheet/_Spreadsheet.java | 55 |
3 files changed, 0 insertions, 59 deletions
diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 4c4b28b8fd7a..26231e68ee5a 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -565,7 +565,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sdb/_XSQLErrorBroadcaster \ qadevOOo/tests/java/ifc/sheet/_FunctionDescription \ qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor \ - qadevOOo/tests/java/ifc/sheet/_Spreadsheet \ qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocument \ qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings \ qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField \ 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 a28faa13a253..61d9411bb9f9 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv @@ -121,9 +121,6 @@ "ScTableSheetObj";"com::sun::star::util::XIndent";"decrementIndent()" "ScTableSheetObj";"com::sun::star::util::XIndent";"incrementIndent()" "ScTableSheetObj";"com::sun::star::table::XAutoFormattable";"autoFormat()" -"ScTableSheetObj";"com::sun::star::sheet::Spreadsheet";"IsVisible" -"ScTableSheetObj";"com::sun::star::sheet::Spreadsheet";"PageStyle" -"ScTableSheetObj";"com::sun::star::sheet::Spreadsheet";"AutomaticPrintArea#optional" "ScTableSheetObj";"com::sun::star::table::XTableChartsSupplier";"getCharts()" "ScTableSheetObj";"com::sun::star::sheet::XCellRangesQuery";"queryVisibleCells()" "ScTableSheetObj";"com::sun::star::sheet::XCellRangesQuery";"queryEmptyCells()" diff --git a/qadevOOo/tests/java/ifc/sheet/_Spreadsheet.java b/qadevOOo/tests/java/ifc/sheet/_Spreadsheet.java deleted file mode 100644 index 369c592a1bcd..000000000000 --- a/qadevOOo/tests/java/ifc/sheet/_Spreadsheet.java +++ /dev/null @@ -1,55 +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.MultiPropertyTest; - -/** -* Testing <code>com.sun.star.sheet.Spreadsheet</code> -* service properties : -* <ul> -* <li><code> IsVisible</code></li> -* <li><code> PageStyle</code></li> -* </ul> <p> -* Properties testing is automated by <code>lib.MultiPropertyTest</code>. -* @see com.sun.star.sheet.Spreadsheet -*/ -public class _Spreadsheet extends MultiPropertyTest { - - /** - *This class is destined to custom test of property <code>PageStyle</code>. - */ - protected PropertyTester styleTester = new PropertyTester() { - @Override - protected Object getNewValue(String propName, Object oldValue) { - String str = "Default"; - String str2= "Report"; - return str.equals(oldValue) ? str2 : str; - } - }; - - /** - * Test property <code>PageStyle</code> using custom <code>PropertyTest</code>. - */ - public void _PageStyle() { - testProperty("PageStyle", styleTester); - } -} // finish class _Spreadsheet - - |