[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/drawing/xshapes.hxx | 43 +++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDrawPageObj.csv |2 qadevOOo/tests/java/mod/_sc/ScDrawPageObj.java| 130 -- sc/qa/extras/scdrawpageobj.cxx|9 sc/qa/unoapi/sc_4.sce |1 test/Library_subsequenttest.mk|1 test/source/drawing/xshapes.cxx | 38 ++ 8 files changed, 90 insertions(+), 135 deletions(-) New commits: commit b99ea0ff33b78ba76d1ae436895efac490252e0f Author: Jens Carl AuthorDate: Thu Mar 28 21:24:35 2019 + Commit: Jens Carl CommitDate: Fri Mar 29 00:45:46 2019 +0100 tdf#45904 Move XShapes Java tests to C++ Move XShapes Java tests to C++ for ScDrawPageObj. Change-Id: I1b65e8ad685c3d387a5023e8e8e9b9e06627af11 Reviewed-on: https://gerrit.libreoffice.org/69904 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/drawing/xshapes.hxx b/include/test/drawing/xshapes.hxx new file mode 100644 index ..f04131dc41f7 --- /dev/null +++ b/include/test/drawing/xshapes.hxx @@ -0,0 +1,43 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_DRAWING_XSHAPES_HXX +#define INCLUDED_TEST_DRAWING_XSHAPES_HXX + +#include +#include + +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XShapes +{ +public: +virtual css::uno::Reference init() = 0; +void setShape(const css::uno::Reference& r_xShape) +{ +m_xShape = r_xShape; +} + +void testAddRemove(); + +protected: +~XShapes() {} + +private: +css::uno::Reference m_xShape; +}; +} // namespace apitest + +#endif // INCLUDED_TEST_DRAWING_XSHAPES_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 4bc4edde3ba3..3cb59e2c61de 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -961,7 +961,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/mod/_sc/ScDatabaseRangeObj \ qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj \ qadevOOo/tests/java/mod/_sc/ScDocumentConfiguration \ -qadevOOo/tests/java/mod/_sc/ScDrawPageObj \ qadevOOo/tests/java/mod/_sc/ScHeaderFieldObj \ qadevOOo/tests/java/mod/_sc/ScHeaderFieldsObj \ qadevOOo/tests/java/mod/_sc/ScHeaderFooterTextCursor \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDrawPageObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDrawPageObj.csv deleted file mode 100644 index b39d7b6062be.. --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDrawPageObj.csv +++ /dev/null @@ -1,2 +0,0 @@ -"ScDrawPageObj";"com::sun::star::drawing::XShapes";"add()" -"ScDrawPageObj";"com::sun::star::drawing::XShapes";"remove()" diff --git a/qadevOOo/tests/java/mod/_sc/ScDrawPageObj.java b/qadevOOo/tests/java/mod/_sc/ScDrawPageObj.java deleted file mode 100644 index 0619ca7533c4.. --- a/qadevOOo/tests/java/mod/_sc/ScDrawPageObj.java +++ /dev/null @@ -1,130 +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 mod._sc; - -import java.io.PrintWriter; - -import lib.TestCase; -import lib.TestEnvironment; -import lib.TestParameters; -import util.DrawTools; -import util.InstCreator; -import util.SOfficeFactory; -import util.ShapeDsc; - -import com.sun.star.drawing.XDrawPage; -import com.sun.star.drawing.XDrawPages; -import com.sun.star.drawing.XDrawPagesSupplier; -import com.sun.star.drawing.XShape; -import com.sun.star.lang.XComponent; -import com.sun.star.sheet.XSpreadsheetDocument; -import com.sun.star.uno.AnyConverter; -import com.sun.star.uno.Type; -impo
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/table/xtablechart.hxx | 37 ++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScChartObj.csv |6 qadevOOo/tests/java/mod/_sc/ScChartObj.java| 234 - sc/qa/extras/scchartobj.cxx|9 sc/qa/unoapi/sc_3.sce |1 test/Library_subsequenttest.mk |1 test/source/table/xtablechart.cxx | 60 +++ 8 files changed, 106 insertions(+), 243 deletions(-) New commits: commit b5d2ebb76e763457a8c8f07b26d542295e82e192 Author: Jens Carl AuthorDate: Thu Jan 24 08:49:21 2019 + Commit: Jens Carl CommitDate: Thu Jan 24 22:02:07 2019 +0100 tdf#45904 Move XTableChart Java tests to C++ Move XTableChart Java tests to C++ for ScChartObj. Change-Id: I007d484357b5743a4283e9aa41bc6d203d312379 Reviewed-on: https://gerrit.libreoffice.org/66842 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/table/xtablechart.hxx b/include/test/table/xtablechart.hxx new file mode 100644 index ..6c57bf3ac332 --- /dev/null +++ b/include/test/table/xtablechart.hxx @@ -0,0 +1,37 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_TABLE_XTABLECHART_HXX +#define INCLUDED_TEST_TABLE_XTABLECHART_HXX + +#include + +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XTableChart +{ +public: +virtual css::uno::Reference init() = 0; + +void testGetSetHasColumnHeaders(); +void testGetSetHasRowHeaders(); +void testGetSetRanges(); + +protected: +~XTableChart() {} +}; +} // namespace apitest + +#endif // INCLUDED_TEST_TABLE_XTABLECHART_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 2828744ee90e..8a8374069326 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -962,7 +962,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/mod/_sc/ScCellRangesObj \ qadevOOo/tests/java/mod/_sc/ScCellSearchObj \ qadevOOo/tests/java/mod/_sc/ScCellTextCursor \ -qadevOOo/tests/java/mod/_sc/ScChartObj \ qadevOOo/tests/java/mod/_sc/ScChartsObj \ qadevOOo/tests/java/mod/_sc/ScDatabaseRangeObj \ qadevOOo/tests/java/mod/_sc/ScDataPilotFieldGroupItemObj \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScChartObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScChartObj.csv deleted file mode 100644 index 921ae1ef8e1b.. --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScChartObj.csv +++ /dev/null @@ -1,6 +0,0 @@ -"ScChartObj";"com::sun::star::table::XTableChart";"getHasColumnHeaders()" -"ScChartObj";"com::sun::star::table::XTableChart";"setHasColumnHeaders()" -"ScChartObj";"com::sun::star::table::XTableChart";"getHasRowHeaders()" -"ScChartObj";"com::sun::star::table::XTableChart";"setHasRowHeaders()" -"ScChartObj";"com::sun::star::table::XTableChart";"getRanges()" -"ScChartObj";"com::sun::star::table::XTableChart";"setRanges()" diff --git a/qadevOOo/tests/java/mod/_sc/ScChartObj.java b/qadevOOo/tests/java/mod/_sc/ScChartObj.java deleted file mode 100644 index d768ceb61128.. --- a/qadevOOo/tests/java/mod/_sc/ScChartObj.java +++ /dev/null @@ -1,234 +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 mod._sc; - -import java.io.PrintWriter; - -import lib.TestCase; -import lib.TestEnvironment; -import lib.TestParameters; -import util.SOfficeFactory; - -import com.sun.star.awt.Rectangle; -import com.sun.star.container.XIndexAccess; -import com.sun.star.container.XNameAccess; -import com.sun.star.lang.XComponent; -import com.sun.star.sheet.XCellRangeAddress
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/table/xtablechartssupplier.hxx | 34 ++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |1 qadevOOo/tests/java/ifc/table/_XTableChartsSupplier.java| 51 -- sc/qa/extras/sctablesheetobj.cxx|5 test/Library_subsequenttest.mk |1 test/source/table/xtablechartssupplier.cxx | 31 ++ 7 files changed, 71 insertions(+), 53 deletions(-) New commits: commit 189d8ade3ca69c4eb313bdfc25182dc81b5d06e8 Author: Rahul Gurung AuthorDate: Mon Oct 8 20:39:08 2018 +0530 Commit: Jens Carl CommitDate: Tue Oct 16 20:00:13 2018 +0200 tdf#45904 Move _XTableChartsSupplier Java Tests to C++ Change-Id: I4cd0b25cefce60e8253df65d5136d15d690dbc38 Reviewed-on: https://gerrit.libreoffice.org/61540 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/table/xtablechartssupplier.hxx b/include/test/table/xtablechartssupplier.hxx new file mode 100644 index ..9e5d45dd0d2d --- /dev/null +++ b/include/test/table/xtablechartssupplier.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* +* 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/. +*/ + +#ifndef INCLUDED_TEST_TABLE_XTABLECHARTSSUPPLIER_HXX +#define INCLUDED_TEST_TABLE_XTABLECHARTSSUPPLIER_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XTableChartsSupplier +{ +public: +virtual css::uno::Reference init() = 0; + +void testGetCharts(); + +protected: +~XTableChartsSupplier() {} +}; +} + +#endif // INCLUDED_TEST_TABLE_XTABLECHARTSSUPPLIER_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index f7f56ae29046..afa06001eeab 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -590,7 +590,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/table/_XCellRange \ qadevOOo/tests/java/ifc/table/_XTableChart \ qadevOOo/tests/java/ifc/table/_XTableCharts \ -qadevOOo/tests/java/ifc/table/_XTableChartsSupplier \ qadevOOo/tests/java/ifc/table/_XTableColumns \ qadevOOo/tests/java/ifc/table/_XTableRows \ qadevOOo/tests/java/ifc/task/_XInteractionHandler \ 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 5ee16311af93..2ea4a60681cd 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv @@ -109,7 +109,6 @@ "ScTableSheetObj";"com::sun::star::util::XProtectable";"unprotect()" "ScTableSheetObj";"com::sun::star::util::XProtectable";"isProtected()" "ScTableSheetObj";"com::sun::star::table::XAutoFormattable";"autoFormat()" -"ScTableSheetObj";"com::sun::star::table::XTableChartsSupplier";"getCharts()" "ScTableSheetObj";"com::sun::star::sheet::XCellRangesQuery";"queryVisibleCells()" "ScTableSheetObj";"com::sun::star::sheet::XCellRangesQuery";"queryEmptyCells()" "ScTableSheetObj";"com::sun::star::sheet::XCellRangesQuery";"queryContentCells()" diff --git a/qadevOOo/tests/java/ifc/table/_XTableChartsSupplier.java b/qadevOOo/tests/java/ifc/table/_XTableChartsSupplier.java deleted file mode 100644 index 0c170d4f40d9.. --- a/qadevOOo/tests/java/ifc/table/_XTableChartsSupplier.java +++ /dev/null @@ -1,51 +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.table; - -import lib.MultiMethodTest; - -import com.sun.star.table.XTableChartsSupplier; - -/** -* Testing com.sun.star.table.XTableChartsSupplier -* interface methods : -* -* getCharts() -* -* @see com.sun.star.table.XTableChartsSupplier -*/ -pu
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/util/xindent.hxx | 35 +++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv |2 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv |2 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv |2 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangesObj.csv |2 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |2 qadevOOo/tests/java/ifc/util/_XIndent.java | 90 -- sc/qa/extras/sccellcursorobj.cxx|6 sc/qa/extras/sccellobj.cxx |6 sc/qa/extras/sccellrangeobj.cxx |6 sc/qa/extras/sccellrangesobj.cxx|6 sc/qa/extras/sctablesheetobj.cxx|6 test/Library_subsequenttest.mk |1 test/source/util/xindent.cxx| 55 ++ 15 files changed, 121 insertions(+), 101 deletions(-) New commits: commit b56ad4cbe0aa67b92211cf31d70eca0b35c62666 Author: Rahul Gurung AuthorDate: Sun Sep 9 19:15:15 2018 +0530 Commit: Markus Mohrhard CommitDate: Sat Sep 22 15:37:52 2018 +0200 tdf#45904 Move _XIndent Java Tests to C++ Change-Id: I65b594db595f0e08a50a9ea18baf44c496cf18e3 Reviewed-on: https://gerrit.libreoffice.org/60218 Tested-by: Jenkins Reviewed-by: Markus Mohrhard diff --git a/include/test/util/xindent.hxx b/include/test/util/xindent.hxx new file mode 100644 index ..bb3c0e5d3ede --- /dev/null +++ b/include/test/util/xindent.hxx @@ -0,0 +1,35 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* +* 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/. +*/ + +#ifndef INCLUDED_TEST_UTIL_XINDENT_HXX +#define INCLUDED_TEST_UTIL_XINDENT_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XIndent +{ +public: +virtual css::uno::Reference init() = 0; + +void testIncrementIndent(); +void testDecrementIndent(); + +protected: +~XIndent() {} +}; +} + +#endif // INCLUDED_TEST_UTIL_XINDENT_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index cbde0376703a..f7f56ae29046 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -721,7 +721,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/util/_XCloneable \ qadevOOo/tests/java/ifc/util/_XFlushable \ qadevOOo/tests/java/ifc/util/_XImportable \ -qadevOOo/tests/java/ifc/util/_XIndent \ qadevOOo/tests/java/ifc/util/_XModeSelector \ qadevOOo/tests/java/ifc/util/_XModifiable \ qadevOOo/tests/java/ifc/util/_XModifyBroadcaster \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv index 6e73814c7386..5b19c7d3bc96 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv @@ -105,8 +105,6 @@ "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesComplex";"CharFontPitchComplex" "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesComplex";"CharPostureComplex" "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesComplex";"CharLocaleComplex" -"ScCellCursorObj";"com::sun::star::util::XIndent";"decrementIndent()" -"ScCellCursorObj";"com::sun::star::util::XIndent";"incrementIndent()" "ScCellCursorObj";"com::sun::star::table::XAutoFormattable";"autoFormat()" "ScCellCursorObj";"com::sun::star::sheet::XCellRangesQuery";"queryVisibleCells()" "ScCellCursorObj";"com::sun::star::sheet::XCellRangesQuery";"queryEmptyCells()" diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv index 036c38dea7ef..e54b4fc80ff0 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv @@ -109,8 +109,6 @@ "ScCellObj";"com::sun::star::text::XTextRangeMover#optional";"moveTextRange()" "ScCellObj";"com::sun::star::text::XTextRangeCompare#optional";"compareRegionStarts()" "ScCellObj";"com::sun::star::text::XTextRangeCompare#optional";"compareRegionEnds()" -"ScCellObj";"com::sun::star::util::XIndent";"decrementIndent()" -"ScCellObj";"com::sun::star::util::XIndent";"incrementIndent()" "ScCellObj";"com::sun::star::text::XSimpleText";"createTextCursor()"
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/util/xmergeable.hxx| 34 + qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv |2 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv |2 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |2 qadevOOo/tests/java/ifc/util/_XMergeable.java | 65 -- sc/qa/extras/sccellcursorobj.cxx|5 sc/qa/extras/sccellrangeobj.cxx |5 sc/qa/extras/sctablesheetobj.cxx|5 test/Library_subsequenttest.mk |1 test/source/util/xmergeable.cxx | 34 + 11 files changed, 84 insertions(+), 72 deletions(-) New commits: commit efe119aaa50e9f532b3fac1ef153469c80f24b80 Author: Rahul Gurung AuthorDate: Sun Sep 9 15:35:54 2018 +0530 Commit: Markus Mohrhard CommitDate: Mon Sep 10 02:03:10 2018 +0200 tdf#45904 Move _XMergeable Java Tests to C++ Change-Id: I37dc759a64301810a7d32a3f160b9bcbf546dd01 Reviewed-on: https://gerrit.libreoffice.org/60211 Tested-by: Jenkins Reviewed-by: Markus Mohrhard Tested-by: Markus Mohrhard diff --git a/include/test/util/xmergeable.hxx b/include/test/util/xmergeable.hxx new file mode 100644 index ..046c5df40b0c --- /dev/null +++ b/include/test/util/xmergeable.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* +* 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/. +*/ + +#ifndef INCLUDED_TEST_TABLE_XMERGEABLE_HXX +#define INCLUDED_TEST_TABLE_XMERGEABLE_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XMergeable +{ +public: +virtual css::uno::Reference init() = 0; + +void testGetIsMergedMerge(); + +protected: +~XMergeable() {} +}; +} + +#endif // INCLUDED_TEST_TABLE_XMERGEABLE_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index e34817674a7e..cbde0376703a 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -722,7 +722,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/util/_XFlushable \ qadevOOo/tests/java/ifc/util/_XImportable \ qadevOOo/tests/java/ifc/util/_XIndent \ -qadevOOo/tests/java/ifc/util/_XMergeable \ qadevOOo/tests/java/ifc/util/_XModeSelector \ qadevOOo/tests/java/ifc/util/_XModifiable \ qadevOOo/tests/java/ifc/util/_XModifyBroadcaster \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv index c68950d5a7f1..6e73814c7386 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv @@ -21,8 +21,6 @@ "ScCellCursorObj";"com::sun::star::table::CellProperties";"DiagonalTLBR#optional" "ScCellCursorObj";"com::sun::star::table::CellProperties";"DiagonalBLTR#optional" "ScCellCursorObj";"com::sun::star::table::CellProperties";"ShrinkToFit#optional" -"ScCellCursorObj";"com::sun::star::util::XMergeable";"merge()" -"ScCellCursorObj";"com::sun::star::util::XMergeable";"getIsMerged()" "ScCellCursorObj";"com::sun::star::util::XSearchable";"createSearchDescriptor()" "ScCellCursorObj";"com::sun::star::util::XSearchable";"findAll()" "ScCellCursorObj";"com::sun::star::util::XSearchable";"findFirst()" diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv index 1c44171c7ee6..46426fd1af09 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv @@ -21,8 +21,6 @@ "ScCellRangeObj";"com::sun::star::table::CellProperties";"DiagonalTLBR#optional" "ScCellRangeObj";"com::sun::star::table::CellProperties";"DiagonalBLTR#optional" "ScCellRangeObj";"com::sun::star::table::CellProperties";"ShrinkToFit#optional" -"ScCellRangeObj";"com::sun::star::util::XMergeable";"merge()" -"ScCellRangeObj";"com::sun::star::util::XMergeable";"getIsMerged()" "ScCellRangeObj";"com::sun::star::util::XSearchable";"createSearchDescriptor()" "ScCellRangeObj";"com::sun::star::util::XSearchable";"findAll()" "ScCellRangeObj";"com::sun::star::util::XSearchable";"findFirst()" 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 a195cb4bee9b..992
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/table/xcolumnrowrange.hxx | 35 ++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv |2 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv |2 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv |2 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |2 qadevOOo/tests/java/ifc/table/_XColumnRowRange.java | 57 -- sc/qa/extras/sccellcursorobj.cxx|6 + sc/qa/extras/sccellobj.cxx |6 + sc/qa/extras/sccellrangeobj.cxx |6 + sc/qa/extras/sctablesheetobj.cxx|6 + test/Library_subsequenttest.mk |1 test/source/table/xcolumnrowrange.cxx | 37 ++ 13 files changed, 97 insertions(+), 66 deletions(-) New commits: commit 53291ffee8e2a2186afbd2412881a18dded5a697 Author: Rahul Gurung AuthorDate: Fri Aug 31 15:52:59 2018 +0530 Commit: Jens Carl CommitDate: Thu Sep 6 07:43:04 2018 +0200 tdf#45904 Move _XColumnRowRange Java tests to C++ Change-Id: I35b5fc2f18867c386c8c92d1d7a3a0823bd07b78 Reviewed-on: https://gerrit.libreoffice.org/59863 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/table/xcolumnrowrange.hxx b/include/test/table/xcolumnrowrange.hxx new file mode 100644 index ..279a98847805 --- /dev/null +++ b/include/test/table/xcolumnrowrange.hxx @@ -0,0 +1,35 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* +* 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/. +*/ + +#ifndef INCLUDED_TEST_TABLE_XCOLUMNROWRANGE_HXX +#define INCLUDED_TEST_TABLE_XCOLUMNROWRANGE_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XColumnRowRange +{ +public: +virtual css::uno::Reference init() = 0; + +void testGetColumns(); +void testGetRows(); + +protected: +~XColumnRowRange() {} +}; +} + +#endif // INCLUDED_TEST_TABLE_XCOLUMNROWRANGE_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index c096f498c63a..e34817674a7e 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -588,7 +588,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/table/_TableRow \ qadevOOo/tests/java/ifc/table/_XAutoFormattable \ qadevOOo/tests/java/ifc/table/_XCellRange \ -qadevOOo/tests/java/ifc/table/_XColumnRowRange \ qadevOOo/tests/java/ifc/table/_XTableChart \ qadevOOo/tests/java/ifc/table/_XTableCharts \ qadevOOo/tests/java/ifc/table/_XTableChartsSupplier \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv index 2dfea634963b..c68950d5a7f1 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv @@ -27,8 +27,6 @@ "ScCellCursorObj";"com::sun::star::util::XSearchable";"findAll()" "ScCellCursorObj";"com::sun::star::util::XSearchable";"findFirst()" "ScCellCursorObj";"com::sun::star::util::XSearchable";"findNext()" -"ScCellCursorObj";"com::sun::star::table::XColumnRowRange";"getColumns()" -"ScCellCursorObj";"com::sun::star::table::XColumnRowRange";"getRows()" "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesAsian";"CharHeightAsian" "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesAsian";"CharWeightAsian" "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesAsian";"CharFontNameAsian" diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv index b936c50045d4..036c38dea7ef 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv @@ -25,8 +25,6 @@ "ScCellObj";"com::sun::star::util::XSearchable";"findAll()" "ScCellObj";"com::sun::star::util::XSearchable";"findFirst()" "ScCellObj";"com::sun::star::util::XSearchable";"findNext()" -"ScCellObj";"com::sun::star::table::XColumnRowRange";"getColumns()" -"ScCellObj";"com::sun::star::table::XColumnRowRange";"getRows()" "ScCellObj";"com::sun::star::style::CharacterPropertiesAsian";"CharHeightAsian" "ScCellObj";"com::sun::star::style::CharacterPropertiesAsian";"CharWeightAsian" "ScCellObj";"com::sun::star::style::CharacterPropertiesAsian";"CharFontNameAsian" diff -
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/table/xcell.hxx | 37 +++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv |6 qadevOOo/tests/java/ifc/table/_XCell.java | 157 -- sc/qa/extras/sccellobj.cxx|8 test/Library_subsequenttest.mk|1 test/source/table/xcell.cxx | 80 +++ 7 files changed, 126 insertions(+), 164 deletions(-) New commits: commit 6914ad12af3c9f51fa33d733b3355694e0254cdc Author: Rahul Gurung AuthorDate: Sun Sep 2 11:36:24 2018 +0530 Commit: Jens Carl CommitDate: Wed Sep 5 00:47:36 2018 +0200 tdf#45904 Move _XCell Java tests to C++ Change-Id: I79d8f42932f81bf8a2eb38fbd3eabbdf56c09111 Reviewed-on: https://gerrit.libreoffice.org/59901 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/table/xcell.hxx b/include/test/table/xcell.hxx new file mode 100644 index ..a0249aac9163 --- /dev/null +++ b/include/test/table/xcell.hxx @@ -0,0 +1,37 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* +* 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/. +*/ + +#ifndef INCLUDED_TEST_TABLE_XCELL_HXX +#define INCLUDED_TEST_TABLE_XCELL_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XCell +{ +public: +virtual css::uno::Reference init() = 0; + +void testGetError(); +void testGetType(); +void testSetGetFormula(); +void testSetGetValue(); + +protected: +~XCell() {} +}; +} + +#endif // INCLUDED_TEST_TABLE_XCELL_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 4aba76420ecb..c096f498c63a 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -587,7 +587,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/table/_TableColumn \ qadevOOo/tests/java/ifc/table/_TableRow \ qadevOOo/tests/java/ifc/table/_XAutoFormattable \ -qadevOOo/tests/java/ifc/table/_XCell \ qadevOOo/tests/java/ifc/table/_XCellRange \ qadevOOo/tests/java/ifc/table/_XColumnRowRange \ qadevOOo/tests/java/ifc/table/_XTableChart \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv index aab8c8f92f01..b936c50045d4 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv @@ -126,12 +126,6 @@ "ScCellObj";"com::sun::star::sheet::XCellRangesQuery";"queryIntersection()" "ScCellObj";"com::sun::star::container::XElementAccess";"getElementType()" "ScCellObj";"com::sun::star::container::XElementAccess";"hasElements()" -"ScCellObj";"com::sun::star::table::XCell";"getFormula()" -"ScCellObj";"com::sun::star::table::XCell";"setFormula()" -"ScCellObj";"com::sun::star::table::XCell";"getValue()" -"ScCellObj";"com::sun::star::table::XCell";"setValue()" -"ScCellObj";"com::sun::star::table::XCell";"getType()" -"ScCellObj";"com::sun::star::table::XCell";"getError()" "ScCellObj";"com::sun::star::text::XTextRange";"getText()" "ScCellObj";"com::sun::star::text::XTextRange";"getStart()" "ScCellObj";"com::sun::star::text::XTextRange";"getEnd()" diff --git a/qadevOOo/tests/java/ifc/table/_XCell.java b/qadevOOo/tests/java/ifc/table/_XCell.java deleted file mode 100644 index e81776c974db.. --- a/qadevOOo/tests/java/ifc/table/_XCell.java +++ /dev/null @@ -1,157 +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.table; - -import lib.MultiMethodTest; -import util.utils; - -import com.sun.star.table.CellContentType; -import com.sun.star.table.XCell; - - -/** -* Testing com.sun.star.table.XCell -* interface methods : -* -* getFormu
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/table/xcellcursor.hxx | 39 + qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv |5 qadevOOo/tests/java/ifc/table/_XCellCursor.java | 210 -- sc/qa/extras/sccellcursorobj.cxx|9 test/Library_subsequenttest.mk |1 test/source/table/xcellcursor.cxx | 128 ++ 7 files changed, 177 insertions(+), 216 deletions(-) New commits: commit 9e1df712d6e247f4dc9391c0a006b3da2df40403 Author: Rahul Gurung AuthorDate: Sun Aug 26 20:26:17 2018 +0530 Commit: Jens Carl CommitDate: Thu Aug 30 07:38:08 2018 +0200 tdf#45904 Move _XCellCursor Java tests to C++ Change-Id: Iebada370e4fa58c5e21dd724789b5f05357a0faa Reviewed-on: https://gerrit.libreoffice.org/59610 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/table/xcellcursor.hxx b/include/test/table/xcellcursor.hxx new file mode 100644 index ..0fb5c06225c5 --- /dev/null +++ b/include/test/table/xcellcursor.hxx @@ -0,0 +1,39 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* +* 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/. +*/ + +#ifndef INCLUDED_TEST_TABLE_XCELLCURSOR_HXX +#define INCLUDED_TEST_TABLE_XCELLCURSOR_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XCellCursor +{ +public: +virtual css::uno::Reference init() = 0; +virtual css::uno::Reference getXSpreadsheet() = 0; + +void testGoToNext(); +void testGoToOffset(); +void testGoToPrevious(); +void testGoToStart(); +void testGoToEnd(); + +protected: +~XCellCursor() {} +}; +} + +#endif // INCLUDED_TEST_TABLE_XCELLCURSOR_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 57b0dbf6e34b..4aba76420ecb 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -588,7 +588,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/table/_TableRow \ qadevOOo/tests/java/ifc/table/_XAutoFormattable \ qadevOOo/tests/java/ifc/table/_XCell \ -qadevOOo/tests/java/ifc/table/_XCellCursor \ qadevOOo/tests/java/ifc/table/_XCellRange \ qadevOOo/tests/java/ifc/table/_XColumnRowRange \ qadevOOo/tests/java/ifc/table/_XTableChart \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv index 1a7e1096bf15..2dfea634963b 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv @@ -41,11 +41,6 @@ "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesAsian";"ParaIsCharacterDistance" "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesAsian";"ParaIsForbiddenRules" "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesAsian";"ParaIsHangingPunctuation" -"ScCellCursorObj";"com::sun::star::table::XCellCursor";"gotoStart()" -"ScCellCursorObj";"com::sun::star::table::XCellCursor";"gotoEnd()" -"ScCellCursorObj";"com::sun::star::table::XCellCursor";"gotoNext()" -"ScCellCursorObj";"com::sun::star::table::XCellCursor";"gotoPrevious()" -"ScCellCursorObj";"com::sun::star::table::XCellCursor";"gotoOffset()" "ScCellCursorObj";"com::sun::star::util::XReplaceable";"createReplaceDescriptor()" "ScCellCursorObj";"com::sun::star::util::XReplaceable";"replaceAll()" "ScCellCursorObj";"com::sun::star::chart::XChartData";"addChartDataChangeEventListener()" diff --git a/qadevOOo/tests/java/ifc/table/_XCellCursor.java b/qadevOOo/tests/java/ifc/table/_XCellCursor.java deleted file mode 100644 index a78991abbe8a.. --- a/qadevOOo/tests/java/ifc/table/_XCellCursor.java +++ /dev/null @@ -1,210 +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
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xsheetcellcursor.hxx | 39 + qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv |6 qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor.java| 340 -- sc/qa/extras/sccellcursorobj.cxx| 15 test/Library_subsequenttest.mk |5 test/source/sheet/xsheetcellcursor.cxx | 138 7 files changed, 195 insertions(+), 349 deletions(-) New commits: commit 8164399df0df976784ddc1a76b46939c53ae51ee Author: Jens Carl Date: Wed Nov 22 03:46:59 2017 + tdf#45904 Move _XSheetCellCursor Java tests to C++ Change-Id: I9d12f9a13d3e0c59b7a28ff91563878efde22b68 Reviewed-on: https://gerrit.libreoffice.org/45067 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xsheetcellcursor.hxx b/include/test/sheet/xsheetcellcursor.hxx new file mode 100644 index ..3686ac521f5e --- /dev/null +++ b/include/test/sheet/xsheetcellcursor.hxx @@ -0,0 +1,39 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XSHEETCELLCURSOR_HXX +#define INCLUDED_TEST_SHEET_XSHEETCELLCURSOR_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XSheetCellCursor +{ +public: +virtual css::uno::Reference init() = 0; + +void testCollapseToCurrentArray(); +void testCollapseToCurrentRegion(); +void testCollapseToMergedArea(); +void testCollapseToSize(); +void testExpandToEntireColumns(); +void testExpandToEntireRows(); + +protected: +~XSheetCellCursor() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_XSHEETCELLCURSOR_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 5d1291937bdb..57b0dbf6e34b 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -568,7 +568,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery \ qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster \ qadevOOo/tests/java/ifc/sheet/_XRangeSelection \ -qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor \ 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.ScCellCursorObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv index 2e0517525f23..1a7e1096bf15 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv @@ -194,12 +194,6 @@ "ScCellCursorObj";"com::sun::star::chart::XChartDataArray";"setRowDescriptions()" "ScCellCursorObj";"com::sun::star::chart::XChartDataArray";"getColumnDescriptions()" "ScCellCursorObj";"com::sun::star::chart::XChartDataArray";"setColumnDescriptions()" -"ScCellCursorObj";"com::sun::star::sheet::XSheetCellCursor";"collapseToCurrentRegion()" -"ScCellCursorObj";"com::sun::star::sheet::XSheetCellCursor";"collapseToCurrentArray()" -"ScCellCursorObj";"com::sun::star::sheet::XSheetCellCursor";"collapseToMergedArea()" -"ScCellCursorObj";"com::sun::star::sheet::XSheetCellCursor";"expandToEntireColumns()" -"ScCellCursorObj";"com::sun::star::sheet::XSheetCellCursor";"expandToEntireRows()" -"ScCellCursorObj";"com::sun::star::sheet::XSheetCellCursor";"collapseToSize()" "ScCellCursorObj";"com::sun::star::util::XModifyBroadcaster#optional";"addModifyListener()" "ScCellCursorObj";"com::sun::star::util::XModifyBroadcaster#optional";"removeModifyListener()" "ScCellCursorObj";"com::sun::star::util::XImportable";"createImportDescriptor()" diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor.java b/qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor.java deleted file mode 100644 index a1015a64475a.. --- a/qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor.java +++ /dev/null @@ -1,340 +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
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xformulaquery.hxx| 57 +++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv |2 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv |2 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv |2 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangesObj.csv |2 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |2 qadevOOo/tests/java/ifc/sheet/_XFormulaQuery.java | 189 -- sc/qa/extras/sccellcursorobj.cxx| 11 sc/qa/extras/sccellobj.cxx | 23 + sc/qa/extras/sccellrangeobj.cxx |9 sc/qa/extras/sccellrangesobj.cxx| 23 + sc/qa/extras/sctablesheetobj.cxx|9 test/Library_subsequenttest.mk |1 test/source/sheet/xformulaquery.cxx | 66 +++ 15 files changed, 196 insertions(+), 203 deletions(-) New commits: commit cceef188206358fdefaa9582230253b844b54216 Author: Jens Carl Date: Thu Jun 14 07:48:34 2018 + tdf#45904 Move _XFormulaQuery Java tests to C++ Enable tests for ScTableSheetObj and fixes #i86793. Change-Id: Ic9914fd74a70034e4adc7e55203c92935a472f9d Reviewed-on: https://gerrit.libreoffice.org/55782 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xformulaquery.hxx b/include/test/sheet/xformulaquery.hxx new file mode 100644 index ..5dcfea27b49f --- /dev/null +++ b/include/test/sheet/xformulaquery.hxx @@ -0,0 +1,57 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XFORMULAQUERY_HXX +#define INCLUDED_TEST_SHEET_XFORMULAQUERY_HXX + +#include +#include +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XFormulaQuery +{ +public: +XFormulaQuery(css::table::CellRangeAddress aCellRangeAddressDependents, + css::table::CellRangeAddress aCellRangeAddressPrecedents, + unsigned int nIdxDependents = 1, unsigned int nIdxPrecedents = 1) +: m_aCellRangeAddressDependents(aCellRangeAddressDependents) +, m_aCellRangeAddressPrecedents(aCellRangeAddressPrecedents) +, m_nIdxDependents(nIdxDependents) +, m_nIdxPrecedents(nIdxPrecedents) +{ +} + +virtual css::uno::Reference init() = 0; +virtual css::uno::Reference getXSpreadsheet() = 0; +void setXCell(css::uno::Reference xCell) { m_xCell = xCell; } +css::uno::Reference getXCell() { return m_xCell; } + +void testQueryDependents(); +void testQueryPrecedents(); + +protected: +~XFormulaQuery() {} + +private: +css::uno::Reference m_xCell; +css::table::CellRangeAddress m_aCellRangeAddressDependents; +css::table::CellRangeAddress m_aCellRangeAddressPrecedents; +unsigned int m_nIdxDependents; +unsigned int m_nIdxPrecedents; +}; +} // namespace apitest + +#endif // INCLUDED_TEST_SHEET_XFORMULAQUERY_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 7718aa632156..a7bc5b37b02d 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -568,7 +568,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery \ qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing \ qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster \ -qadevOOo/tests/java/ifc/sheet/_XFormulaQuery \ qadevOOo/tests/java/ifc/sheet/_XRangeSelection \ qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor \ qadevOOo/tests/java/ifc/style/_CharacterProperties \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv index 74d9a7752bb9..2e0517525f23 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv @@ -114,8 +114,6 @@ "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesComplex";"CharFontPitchComplex" "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesComplex";"CharPostureComplex" "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesComplex";"CharLocaleComplex" -"ScCellCursorObj";"com::sun::star::sheet::XFormulaQuery";"queryDependents()" -"ScCellCursorObj";"com::sun::sta
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xscenario.hxx| 34 +++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |5 qadevOOo/tests/java/ifc/sheet/_XScenario.java | 91 -- sc/qa/extras/sctablesheetobj.cxx| 11 - test/Library_subsequenttest.mk |1 test/source/sheet/xscenario.cxx | 43 7 files changed, 87 insertions(+), 99 deletions(-) New commits: commit 6bf05f004b19b1cc2045556b8dd48ddb2ec3c359 Author: Jens Carl Date: Fri Nov 24 23:20:55 2017 + tdf#45904 Move _XScenario Java tests to C++ Change-Id: Ic12eebe62de5132dce26ec46c62501f90200b909 Reviewed-on: https://gerrit.libreoffice.org/52180 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xscenario.hxx b/include/test/sheet/xscenario.hxx new file mode 100644 index ..8892d26c1c1d --- /dev/null +++ b/include/test/sheet/xscenario.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XSCENARIO_HXX +#define INCLUDED_TEST_SHEET_XSCENARIO_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XScenario +{ +public: +virtual css::uno::Reference getScenarioSpreadsheet() = 0; + +void testScenario(); + +protected: +~XScenario() {} +}; +} // namespace apitest + +#endif // INCLUDED_TEST_SHEET_XSCENARIO_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 575e130efcd8..409785f35ef8 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -571,7 +571,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster \ qadevOOo/tests/java/ifc/sheet/_XFormulaQuery \ qadevOOo/tests/java/ifc/sheet/_XRangeSelection \ -qadevOOo/tests/java/ifc/sheet/_XScenario \ qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor \ qadevOOo/tests/java/ifc/style/_CharacterProperties \ qadevOOo/tests/java/ifc/style/_CharacterPropertiesAsian \ 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 03e907459e78..78efd29dae01 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv @@ -125,11 +125,6 @@ "ScTableSheetObj";"com::sun::star::sheet::XCellRangesQuery";"queryColumnDifferences()" "ScTableSheetObj";"com::sun::star::sheet::XCellRangesQuery";"queryRowDifferences()" "ScTableSheetObj";"com::sun::star::sheet::XCellRangesQuery";"queryIntersection()" -"ScTableSheetObj";"com::sun::star::sheet::XScenario";"getIsScenario()" -"ScTableSheetObj";"com::sun::star::sheet::XScenario";"getScenarioComment()" -"ScTableSheetObj";"com::sun::star::sheet::XScenario";"setScenarioComment()" -"ScTableSheetObj";"com::sun::star::sheet::XScenario";"addRanges()" -"ScTableSheetObj";"com::sun::star::sheet::XScenario";"apply()" "ScTableSheetObj";"com::sun::star::table::XCellRange";"getCellByPosition()" "ScTableSheetObj";"com::sun::star::table::XCellRange";"getCellRangeByPosition()" "ScTableSheetObj";"com::sun::star::table::XCellRange";"getCellRangeByName()" diff --git a/qadevOOo/tests/java/ifc/sheet/_XScenario.java b/qadevOOo/tests/java/ifc/sheet/_XScenario.java deleted file mode 100644 index 4d58f1e04eac.. --- a/qadevOOo/tests/java/ifc/sheet/_XScenario.java +++ /dev/null @@ -1,91 +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 com.sun.star.sheet.XScenario; -import com.sun.star.table.Cell
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xcellrangemovement.hxx | 37 + qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |4 qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement.java | 225 -- sc/qa/extras/sctablesheetobj.cxx|8 test/Library_subsequenttest.mk |3 test/source/sheet/xcellrangemovement.cxx| 123 + 7 files changed, 170 insertions(+), 231 deletions(-) New commits: commit 7dcda19e4a5580dd526eeab07feba12f4212e4f1 Author: Jens Carl Date: Fri Apr 6 04:31:52 2018 + tdf#45904 Move _XCellRangeMovement Java tests to C++ Change-Id: I8d3697b9c409e4fd9f9d28b8598b8807b91c5363 Reviewed-on: https://gerrit.libreoffice.org/52485 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xcellrangemovement.hxx b/include/test/sheet/xcellrangemovement.hxx new file mode 100644 index ..a95fdf6421e4 --- /dev/null +++ b/include/test/sheet/xcellrangemovement.hxx @@ -0,0 +1,37 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XCELLRANGEMOVEMENT_HXX +#define INCLUDED_TEST_SHEET_XCELLRANGEMOVEMENT_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XCellRangeMovement +{ +public: +virtual css::uno::Reference init() = 0; + +void testInsertCells(); +void testCopyRange(); +void testMoveRange(); +void testRemoveRange(); + +protected: +~XCellRangeMovement() {} +}; +} // namespace apitest + +#endif // INCLUDED_TEST_SHEET_XCELLRANGEMOVEMENT_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 9e076552c42e..4f0b38f9400e 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -567,7 +567,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocument \ qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField \ qadevOOo/tests/java/ifc/sheet/_XCellRangeData \ -qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement \ qadevOOo/tests/java/ifc/sheet/_XCellRangeReferrer \ qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery \ qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing \ 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 62789eeed452..03e907459e78 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv @@ -138,10 +138,6 @@ "ScTableSheetObj";"com::sun::star::beans::XTolerantMultiPropertySet#optional";"getDirectPropertyValuesTolerant()" "ScTableSheetObj";"com::sun::star::container::XNamed";"getName()" "ScTableSheetObj";"com::sun::star::container::XNamed";"setName()" -"ScTableSheetObj";"com::sun::star::sheet::XCellRangeMovement";"insertCells()" -"ScTableSheetObj";"com::sun::star::sheet::XCellRangeMovement";"removeRange()" -"ScTableSheetObj";"com::sun::star::sheet::XCellRangeMovement";"moveRange()" -"ScTableSheetObj";"com::sun::star::sheet::XCellRangeMovement";"copyRange()" "ScTableSheetObj";"com::sun::star::style::CharacterProperties";"CharFontName" "ScTableSheetObj";"com::sun::star::style::CharacterProperties";"CharFontStyleName" "ScTableSheetObj";"com::sun::star::style::CharacterProperties";"CharFontFamily" diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement.java b/qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement.java deleted file mode 100644 index 1d0d33c327e4.. --- a/qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement.java +++ /dev/null @@ -1,225 +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
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xcellrangeformula.hxx| 34 + qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv |2 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv |2 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |2 qadevOOo/tests/java/ifc/sheet/_XCellRangeFormula.java | 62 -- sc/qa/extras/sccellcursorobj.cxx| 11 + sc/qa/extras/sccellrangeobj.cxx | 37 +++-- sc/qa/extras/sctablesheetobj.cxx|7 + test/Library_subsequenttest.mk |1 test/source/sheet/xcellrangeformula.cxx | 41 ++ 11 files changed, 112 insertions(+), 88 deletions(-) New commits: commit a7fc11be3083b61a70e7a55e0436032771e37f20 Author: Jens Carl Date: Tue Apr 3 03:46:14 2018 + tdf#45904 Move _XCellRangeFormula Java tests to C++ Change-Id: Iff5ca30e47a3a3eee704ad9aefdf61b3fcd72f5d Reviewed-on: https://gerrit.libreoffice.org/52286 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xcellrangeformula.hxx b/include/test/sheet/xcellrangeformula.hxx new file mode 100644 index ..9fcc432c8358 --- /dev/null +++ b/include/test/sheet/xcellrangeformula.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XCELLRANGEFORMULA_HXX +#define INCLUDED_TEST_SHEET_XCELLRANGEFORMULA_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XCellRangeFormula +{ +public: +virtual css::uno::Reference init() = 0; + +void testGetSetFormulaArray(); + +protected: +~XCellRangeFormula() {} +}; +} // namespace apitest + +#endif // INCLUDED_TEST_SHEET_XCELLRANGEFORMULA_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index ec99ac93dde8..9e076552c42e 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -567,7 +567,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocument \ qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField \ qadevOOo/tests/java/ifc/sheet/_XCellRangeData \ -qadevOOo/tests/java/ifc/sheet/_XCellRangeFormula \ qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement \ qadevOOo/tests/java/ifc/sheet/_XCellRangeReferrer \ qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv index f5563cfe7758..cf6417dcdf44 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv @@ -116,8 +116,6 @@ "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesComplex";"CharLocaleComplex" "ScCellCursorObj";"com::sun::star::sheet::XFormulaQuery";"queryDependents()" "ScCellCursorObj";"com::sun::star::sheet::XFormulaQuery";"queryPrecedents()" -"ScCellCursorObj";"com::sun::star::sheet::XCellRangeFormula#optional";"getFormulaArray()" -"ScCellCursorObj";"com::sun::star::sheet::XCellRangeFormula#optional";"setFormulaArray()" "ScCellCursorObj";"com::sun::star::util::XIndent";"decrementIndent()" "ScCellCursorObj";"com::sun::star::util::XIndent";"incrementIndent()" "ScCellCursorObj";"com::sun::star::table::XAutoFormattable";"autoFormat()" diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv index fb6d2e76829d..3ca844258495 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv @@ -111,8 +111,6 @@ "ScCellRangeObj";"com::sun::star::style::CharacterPropertiesComplex";"CharLocaleComplex" "ScCellRangeObj";"com::sun::star::sheet::XFormulaQuery";"queryDependents()" "ScCellRangeObj";"com::sun::star::sheet::XFormulaQuery";"queryPrecedents()" -"ScCellRangeObj";"com::sun::star::sheet::XCellRangeFormula#optional";"getFormulaArray()" -"ScCellRangeObj";"com::sun::star::sheet::XCellRangeFormula#optional";"setFormulaArray()" "ScCellRangeObj";"com::sun::star::util::XIndent";"decrementIndent()" "ScCellRangeObj";"com::sun::star::util::XIndent";"incrementIndent()" "ScCellRangeObj";"com::sun::star::table::XAutoFormattable";"autoFormat()" diff --git a/qadevOOo/objdsc/sc/com.sun
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xarrayformularange.hxx | 35 ++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv |2 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv |2 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |2 qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange.java | 173 -- sc/qa/extras/sccellcursorobj.cxx| 17 sc/qa/extras/sccellrangeobj.cxx |5 sc/qa/extras/sctablesheetobj.cxx|7 test/Library_subsequenttest.mk |1 test/source/sheet/xarrayformularange.cxx| 54 +++ 11 files changed, 113 insertions(+), 186 deletions(-) New commits: commit 387896a05189c60570e031191c3f5959e7737bcb Author: Jens Carl Date: Mon Apr 2 06:14:32 2018 + tdf#45904 Move _XArrayFormulaRange Java tests to C++ Change-Id: I87b6e52507428537fcc574842c2da9c36fbd672b Reviewed-on: https://gerrit.libreoffice.org/52247 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xarrayformularange.hxx b/include/test/sheet/xarrayformularange.hxx new file mode 100644 index ..8f54f7097ba6 --- /dev/null +++ b/include/test/sheet/xarrayformularange.hxx @@ -0,0 +1,35 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XARRAUFORMULARANGE_HXX +#define INCLUDED_TEST_SHEET_XARRAUFORMULARANGE_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XArrayFormulaRange +{ +public: +virtual css::uno::Reference init() = 0; +virtual css::uno::Reference getXSpreadsheet() = 0; + +void testGetSetArrayFormula(); + +protected: +~XArrayFormulaRange() {} +}; +} // namespace apitest + +#endif // INCLUDED_TEST_SHEET_XARRAUFORMULARANGE_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index ca3665894180..ec99ac93dde8 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -566,7 +566,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor \ qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocument \ qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField \ -qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange \ qadevOOo/tests/java/ifc/sheet/_XCellRangeData \ qadevOOo/tests/java/ifc/sheet/_XCellRangeFormula \ qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv index 3f85f6821258..f5563cfe7758 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv @@ -116,8 +116,6 @@ "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesComplex";"CharLocaleComplex" "ScCellCursorObj";"com::sun::star::sheet::XFormulaQuery";"queryDependents()" "ScCellCursorObj";"com::sun::star::sheet::XFormulaQuery";"queryPrecedents()" -"ScCellCursorObj";"com::sun::star::sheet::XArrayFormulaRange";"getArrayFormula()" -"ScCellCursorObj";"com::sun::star::sheet::XArrayFormulaRange";"setArrayFormula()" "ScCellCursorObj";"com::sun::star::sheet::XCellRangeFormula#optional";"getFormulaArray()" "ScCellCursorObj";"com::sun::star::sheet::XCellRangeFormula#optional";"setFormulaArray()" "ScCellCursorObj";"com::sun::star::util::XIndent";"decrementIndent()" diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv index 08ca6f6f39c3..fb6d2e76829d 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv @@ -111,8 +111,6 @@ "ScCellRangeObj";"com::sun::star::style::CharacterPropertiesComplex";"CharLocaleComplex" "ScCellRangeObj";"com::sun::star::sheet::XFormulaQuery";"queryDependents()" "ScCellRangeObj";"com::sun::star::sheet::XFormulaQuery";"queryPrecedents()" -"ScCellRangeObj";"com::sun::star::sheet::XArrayFormulaRange";"getArrayFormula()" -"ScCellRangeObj";"com::sun::star::sheet::XArrayFormulaRange";"setArrayFormula()" "ScCellRangeObj";"com::sun::star::sheet::XCellRangeFormula#optional";"getFormulaArray()" "ScCellRangeObj";"com::sun::star::sheet::XCellRangeFormula#optional";"setFormulaArray()" "ScCellRan
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xactivationbroadcaster.hxx| 36 qadevOOo/Jar_OOoRunner.mk|1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv |2 qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster.java | 97 --- sc/qa/extras/sctabviewobj.cxx| 34 +++ test/Library_subsequenttest.mk |1 test/source/sheet/xactivationbroadcaster.cxx | 69 +++ 7 files changed, 134 insertions(+), 106 deletions(-) New commits: commit 34568738bbaf1e82dbb53fdf516f4d57416bb5b0 Author: Jens Carl Date: Sun Apr 1 07:20:34 2018 + tdf#45904 Move _XActivationBroadcaster Java tests to C++ Change-Id: If8f44b24e58663bacb1cf6b2a1ec533e87fb8a38 Reviewed-on: https://gerrit.libreoffice.org/52216 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xactivationbroadcaster.hxx b/include/test/sheet/xactivationbroadcaster.hxx new file mode 100644 index ..5dc21edc0195 --- /dev/null +++ b/include/test/sheet/xactivationbroadcaster.hxx @@ -0,0 +1,36 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XACTIVATIONBROADCASTER_HXX +#define INCLUDED_TEST_SHEET_XACTIVATIONBROADCASTER_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XActivationBroadcaster +{ +public: +virtual css::uno::Reference init() = 0; +virtual css::uno::Reference getXSpreadsheet(const sal_Int16 nNumber = 0) += 0; + +void testAddRemoveActivationEventListener(); + +protected: +~XActivationBroadcaster() {} +}; +} // namespace apitest + +#endif // INCLUDED_TEST_SHEET_XACTIVATIONBROADCASTER_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index bf742f150711..ca3665894180 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -566,7 +566,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor \ qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocument \ qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField \ -qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster \ qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange \ qadevOOo/tests/java/ifc/sheet/_XCellRangeData \ qadevOOo/tests/java/ifc/sheet/_XCellRangeFormula \ 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 e13c05bfda4e..35e1186c0e10 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv @@ -15,8 +15,6 @@ "ScTabViewObj";"com::sun::star::sheet::XCellRangeReferrer";"getReferredCells()" "ScTabViewObj";"com::sun::star::container::XElementAccess";"getElementType()" "ScTabViewObj";"com::sun::star::container::XElementAccess";"hasElements()" -"ScTabViewObj";"com::sun::star::sheet::XActivationBroadcaster#optional";"addActivationEventListener()" -"ScTabViewObj";"com::sun::star::sheet::XActivationBroadcaster#optional";"removeActivationEventListener()" "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/_XActivationBroadcaster.java b/qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster.java deleted file mode 100644 index 5d2d15dc6628.. --- a/qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster.java +++ /dev/null @@ -1,97 +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;
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/drawing/captionshape.hxx| 33 + qadevOOo/Jar_OOoRunner.mk|1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationShapeObj.csv | 12 qadevOOo/tests/java/ifc/drawing/_CaptionShape.java | 26 - sc/qa/extras/scannotationshapeobj.cxx|6 test/Library_subsequenttest.mk |1 test/source/drawing/captionshape.cxx | 178 ++ 7 files changed, 217 insertions(+), 40 deletions(-) New commits: commit e4bf7cbc082a428dbef65f0d92cb0cdbda7af16e Author: Abhyudaya Sharma Date: Mon Mar 19 21:50:12 2018 +0530 tdf#45904 Move _CaptionShape Java tests to C++ Change-Id: I66fd554a542912784cf730e28cc223591ad5c723 Reviewed-on: https://gerrit.libreoffice.org/51575 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/drawing/captionshape.hxx b/include/test/drawing/captionshape.hxx new file mode 100644 index ..321de6e792a0 --- /dev/null +++ b/include/test/drawing/captionshape.hxx @@ -0,0 +1,33 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_DRAWING_CAPTION_SHAPE_HXX +#define INCLUDED_TEST_DRAWING_CAPTION_SHAPE_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST CaptionShape +{ +public: +virtual css::uno::Reference init() = 0; + +void testCaptionShapeProperties(); + +protected: +~CaptionShape() {} +}; +} +#endif // INCLUDED_TEST_DRAWING_CAPTION_SHAPE_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 1f9af86d89b6..bf742f150711 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -317,7 +317,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/document/_XTypeDetection \ qadevOOo/tests/java/ifc/document/_XViewDataSupplier \ qadevOOo/tests/java/ifc/drawing/_AreaShapeDescriptor \ -qadevOOo/tests/java/ifc/drawing/_CaptionShape \ qadevOOo/tests/java/ifc/drawing/_ConnectorProperties \ qadevOOo/tests/java/ifc/drawing/_ConnectorShape \ qadevOOo/tests/java/ifc/drawing/_ConnectorShapeDescriptor \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationShapeObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationShapeObj.csv index 66f2a890537e..8709cf403bc5 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationShapeObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationShapeObj.csv @@ -163,18 +163,6 @@ "ScAnnotationShapeObj";"com::sun::star::text::XTextRange";"getEnd()" "ScAnnotationShapeObj";"com::sun::star::text::XTextRange";"getString()" "ScAnnotationShapeObj";"com::sun::star::text::XTextRange";"setString()" -"ScAnnotationShapeObj";"com::sun::star::drawing::CaptionShape";"CornerRadius" -"ScAnnotationShapeObj";"com::sun::star::drawing::CaptionShape";"CaptionPoint" -"ScAnnotationShapeObj";"com::sun::star::drawing::CaptionShape";"CaptionType" -"ScAnnotationShapeObj";"com::sun::star::drawing::CaptionShape";"CaptionIsFixedAngle" -"ScAnnotationShapeObj";"com::sun::star::drawing::CaptionShape";"CaptionAngle" -"ScAnnotationShapeObj";"com::sun::star::drawing::CaptionShape";"CaptionGap" -"ScAnnotationShapeObj";"com::sun::star::drawing::CaptionShape";"CaptionEscapeDirection" -"ScAnnotationShapeObj";"com::sun::star::drawing::CaptionShape";"CaptionIsEscapeRelative" -"ScAnnotationShapeObj";"com::sun::star::drawing::CaptionShape";"CaptionEscapeRelative" -"ScAnnotationShapeObj";"com::sun::star::drawing::CaptionShape";"CaptionEscapeAbsolute" -"ScAnnotationShapeObj";"com::sun::star::drawing::CaptionShape";"CaptionLineLength" -"ScAnnotationShapeObj";"com::sun::star::drawing::CaptionShape";"CaptionIsFitLineLength" "ScAnnotationShapeObj";"com::sun::star::style::CharacterProperties";"CharFontName" "ScAnnotationShapeObj";"com::sun::star::style::CharacterProperties";"CharFontStyleName" "ScAnnotationShapeObj";"com::sun::star::style::CharacterProperties";"CharFontFamily" diff --git a/qadevOOo/tests/java/ifc/drawing/_CaptionShape.java b/qadevOOo/tests/java/ifc/drawing/_CaptionShape.java deleted file mode 100644 index 01803f7c5903.. --- a/qadevOOo/tests/java/ifc/drawing/_CaptionShape.java +++ /dev/null @@ -1,26 +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 th
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xcalculatable.hxx | 39 + qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScModelObj.csv |4 qadevOOo/tests/java/ifc/sheet/_XCalculatable.java | 98 - sc/qa/extras/scmodelobj.cxx| 38 - test/Library_subsequenttest.mk |1 test/source/sheet/xcalculatable.cxx| 74 + 7 files changed, 150 insertions(+), 105 deletions(-) New commits: commit 3fc835b79957b4ace99c1dc9526eda7549020951 Author: Jens Carl Date: Tue Mar 27 06:22:00 2018 + tdf#45904 Move _XCalculatable Java test to C++ Change-Id: Ib1fac049d2a135074de45c17fbaa78b0af2bec91 Reviewed-on: https://gerrit.libreoffice.org/51929 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xcalculatable.hxx b/include/test/sheet/xcalculatable.hxx new file mode 100644 index ..7978fe42acdc --- /dev/null +++ b/include/test/sheet/xcalculatable.hxx @@ -0,0 +1,39 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XCALCULATABLE_HXX +#define INCLUDED_TEST_SHEET_XCALCULATABLE_HXX + +#include +#include +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XCalculatable +{ +public: +virtual css::uno::Reference init() = 0; +virtual css::uno::Sequence> getXCells() = 0; + +void testCalculate(); +void testCalculateAll(); +void testEnableAutomaticCaclulation(); + +protected: +~XCalculatable() {} +}; +} // namespace apitest + +#endif // INCLUDED_TEST_SHEET_XCALCULATABLE_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 6e8f20b69683..1f9af86d89b6 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -569,7 +569,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField \ qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster \ qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange \ -qadevOOo/tests/java/ifc/sheet/_XCalculatable \ qadevOOo/tests/java/ifc/sheet/_XCellRangeData \ qadevOOo/tests/java/ifc/sheet/_XCellRangeFormula \ qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement \ 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 a1f591442897..7509197e7665 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScModelObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScModelObj.csv @@ -33,10 +33,6 @@ "ScModelObj";"com::sun::star::document::XEventsSupplier#optional";"getEvents()" "ScModelObj";"com::sun::star::util::XModifiable";"isModified()" "ScModelObj";"com::sun::star::util::XModifiable";"setModified()" -"ScModelObj";"com::sun::star::sheet::XCalculatable";"calculate()" -"ScModelObj";"com::sun::star::sheet::XCalculatable";"calculateAll()" -"ScModelObj";"com::sun::star::sheet::XCalculatable";"isAutomaticCalculationEnabled()" -"ScModelObj";"com::sun::star::sheet::XCalculatable";"enableAutomaticCalculation()" "ScModelObj";"com::sun::star::beans::XPropertySet#optional";"getPropertySetInfo()" "ScModelObj";"com::sun::star::beans::XPropertySet#optional";"setPropertyValue()" "ScModelObj";"com::sun::star::beans::XPropertySet#optional";"getPropertyValue()" diff --git a/qadevOOo/tests/java/ifc/sheet/_XCalculatable.java b/qadevOOo/tests/java/ifc/sheet/_XCalculatable.java deleted file mode 100644 index 260b452b131c.. --- a/qadevOOo/tests/java/ifc/sheet/_XCalculatable.java +++ /dev/null @@ -1,98 +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 com.sun.star.s
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/spreadsheet.hxx | 35 +++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |3 qadevOOo/tests/java/ifc/sheet/_Spreadsheet.java | 55 -- sc/qa/extras/sctablesheetobj.cxx| 13 + test/Library_subsequenttest.mk |1 test/source/sheet/spreadsheet.cxx | 90 ++ 7 files changed, 139 insertions(+), 59 deletions(-) New commits: commit d97120c6f35e4c14a71df63b91dcbf67d9f310cc Author: Jens Carl Date: Sun Mar 18 09:10:47 2018 + tdf#45904 Move _Spreadsheet Java tests to C++ Change-Id: Ic540d06899def77313d6dc7e0a5241e1f9eeea54 Reviewed-on: https://gerrit.libreoffice.org/51491 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/spreadsheet.hxx b/include/test/sheet/spreadsheet.hxx new file mode 100644 index ..597790a8e9c3 --- /dev/null +++ b/include/test/sheet/spreadsheet.hxx @@ -0,0 +1,35 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_SPREADSHEET_HXX +#define INCLUDED_TEST_SHEET_SPREADSHEET_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST Spreadsheet +{ +public: +virtual css::uno::Reference init() = 0; +virtual css::uno::Reference getXSpreadsheetDocument() = 0; + +void testSpreadsheetProperties(); + +protected: +~Spreadsheet() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_SPREADSHEET_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ 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.. --- 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 com.sun.star.sheet.Spreadsheet -* service properties : -* -* IsVisible -* PageStyle -* -* Properties testing i
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/sheetfilterdescriptor.hxx | 34 ++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScFilterDescriptorBase.csv |9 qadevOOo/tests/java/ifc/sheet/_SheetFilterDescriptor.java | 43 -- sc/qa/extras/scfilterdescriptorbaseobj.cxx |8 test/Library_subsequenttest.mk |1 test/source/sheet/sheetfilterdescriptor.cxx| 151 ++ 7 files changed, 193 insertions(+), 54 deletions(-) New commits: commit 5a0acced8988a54d8aaf0328d2696dae21727c6a Author: Jens Carl Date: Tue Feb 27 07:59:26 2018 + tdf#45904: Move _SheetFilterDescriptor Java tests to C++ Change-Id: I894b2e2534efeb5369c491053caf56f67dc56618 Reviewed-on: https://gerrit.libreoffice.org/50411 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/sheetfilterdescriptor.hxx b/include/test/sheet/sheetfilterdescriptor.hxx new file mode 100644 index ..919b84171697 --- /dev/null +++ b/include/test/sheet/sheetfilterdescriptor.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_SHEETFILTERDESCRIPTOR_HXX +#define INCLUDED_TEST_SHEET_SHEETFILTERDESCRIPTOR_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST SheetFilterDescriptor +{ +public: +virtual css::uno::Reference init() = 0; + +void testSheetFilterDescriptorProperties(); + +protected: +~SheetFilterDescriptor() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_SHEETFILTERDESCRIPTOR_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index b3f79bb2feb5..fa6d33e0fade 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/_Shape \ -qadevOOo/tests/java/ifc/sheet/_SheetFilterDescriptor \ qadevOOo/tests/java/ifc/sheet/_SheetLink \ qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor \ qadevOOo/tests/java/ifc/sheet/_Spreadsheet \ 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 bbd744683dc8..ed43efa9a2b5 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScFilterDescriptorBase.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScFilterDescriptorBase.csv @@ -1,12 +1,3 @@ -"ScFilterDescriptorBase";"com::sun::star::sheet::SheetFilterDescriptor";"IsCaseSensitive" -"ScFilterDescriptorBase";"com::sun::star::sheet::SheetFilterDescriptor";"SkipDuplicates" -"ScFilterDescriptorBase";"com::sun::star::sheet::SheetFilterDescriptor";"UseRegularExpressions" -"ScFilterDescriptorBase";"com::sun::star::sheet::SheetFilterDescriptor";"SaveOutputPosition" -"ScFilterDescriptorBase";"com::sun::star::sheet::SheetFilterDescriptor";"Orientation" -"ScFilterDescriptorBase";"com::sun::star::sheet::SheetFilterDescriptor";"ContainsHeader" -"ScFilterDescriptorBase";"com::sun::star::sheet::SheetFilterDescriptor";"CopyOutputData" -"ScFilterDescriptorBase";"com::sun::star::sheet::SheetFilterDescriptor";"OutputPosition" -"ScFilterDescriptorBase";"com::sun::star::sheet::SheetFilterDescriptor";"MaxFieldCount" "ScFilterDescriptorBase";"com::sun::star::beans::XPropertySet";"getPropertySetInfo()" "ScFilterDescriptorBase";"com::sun::star::beans::XPropertySet";"setPropertyValue()" "ScFilterDescriptorBase";"com::sun::star::beans::XPropertySet";"getPropertyValue()" diff --git a/qadevOOo/tests/java/ifc/sheet/_SheetFilterDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_SheetFilterDescriptor.java deleted file mode 100644 index 785ca77072be.. --- a/qadevOOo/tests/java/ifc/sheet/_SheetFilterDescriptor.java +++ /dev/null @@ -1,43 +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 i
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/sheetcellranges.hxx | 34 ++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangesObj.csv |4 qadevOOo/tests/java/ifc/sheet/_SheetCellRanges.java | 24 - sc/qa/extras/sccellrangesobj.cxx|5 test/Library_subsequenttest.mk |1 test/source/sheet/sheetcellranges.cxx | 143 ++ 7 files changed, 183 insertions(+), 29 deletions(-) New commits: commit 4a8856dad808e0ae8b6f4efc49edcee0b0678a37 Author: Jens Carl Date: Thu Feb 1 23:24:30 2018 + tdf#45904 Move _SheetCellRanges Java tests to C++ Change-Id: If391071a7e44c2fbeaaa0fa46f6043f30e777cec Reviewed-on: https://gerrit.libreoffice.org/49125 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/sheetcellranges.hxx b/include/test/sheet/sheetcellranges.hxx new file mode 100644 index ..f40b186fad65 --- /dev/null +++ b/include/test/sheet/sheetcellranges.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_SHEETCELLRANGES_HXX +#define INCLUDED_TEST_SHEET_SHEETCELLRANGES_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST SheetCellRanges +{ +public: +virtual css::uno::Reference init() = 0; + +void testSheetCellRangesProperties(); + +protected: +~SheetCellRanges() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_SHEETCELLRANGES_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index c86db777237a..b3f79bb2feb5 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/_Shape \ -qadevOOo/tests/java/ifc/sheet/_SheetCellRanges \ qadevOOo/tests/java/ifc/sheet/_SheetFilterDescriptor \ qadevOOo/tests/java/ifc/sheet/_SheetLink \ qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangesObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangesObj.csv index bedb81212c36..94ac66e6be7c 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangesObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangesObj.csv @@ -115,10 +115,6 @@ "ScCellRangesObj";"com::sun::star::style::CharacterPropertiesComplex";"CharLocaleComplex" "ScCellRangesObj";"com::sun::star::sheet::XFormulaQuery";"queryDependents()" "ScCellRangesObj";"com::sun::star::sheet::XFormulaQuery";"queryPrecedents()" -"ScCellRangesObj";"com::sun::star::sheet::SheetCellRanges";"ConditionalFormat" -"ScCellRangesObj";"com::sun::star::sheet::SheetCellRanges";"ConditionalFormatLocal#optional" -"ScCellRangesObj";"com::sun::star::sheet::SheetCellRanges";"Validation" -"ScCellRangesObj";"com::sun::star::sheet::SheetCellRanges";"ValidationLocal#optional" "ScCellRangesObj";"com::sun::star::util::XIndent";"decrementIndent()" "ScCellRangesObj";"com::sun::star::util::XIndent";"incrementIndent()" "ScCellRangesObj";"com::sun::star::sheet::XCellRangesQuery";"queryVisibleCells()" diff --git a/qadevOOo/tests/java/ifc/sheet/_SheetCellRanges.java b/qadevOOo/tests/java/ifc/sheet/_SheetCellRanges.java deleted file mode 100644 index 8e26a37e5b5e.. --- a/qadevOOo/tests/java/ifc/sheet/_SheetCellRanges.java +++ /dev/null @@ -1,24 +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; - -public class _SheetCellRanges extends MultiPropertyTest {
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/sheetcellrange.hxx | 34 ++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv |6 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv |6 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |6 qadevOOo/tests/java/ifc/sheet/_SheetCellRange.java | 35 -- sc/qa/extras/sccellcursorobj.cxx|7 sc/qa/extras/sccellrangeobj.cxx |5 sc/qa/extras/sctablesheetobj.cxx|5 test/Library_subsequenttest.mk |1 test/source/sheet/sheetcellrange.cxx| 167 ++ 11 files changed, 218 insertions(+), 55 deletions(-) New commits: commit 22f6e25987744da57644be95f59b45c1ff51a5d2 Author: Jens Carl Date: Thu Feb 1 22:36:08 2018 + tdf#45904 Move _SheetCellRange Java tests to C++ Change-Id: Ia4ebe9d0418e33d245437a49c7ce9551b4a06e82 Reviewed-on: https://gerrit.libreoffice.org/49124 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/sheetcellrange.hxx b/include/test/sheet/sheetcellrange.hxx new file mode 100644 index ..d4c2b551a27b --- /dev/null +++ b/include/test/sheet/sheetcellrange.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_SHEETCELLRANGE_HXX +#define INCLUDED_TEST_SHEET_SHEETCELLRANGE_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST SheetCellRange +{ +public: +virtual css::uno::Reference init() = 0; + +void testSheetCellRangeProperties(); + +protected: +~SheetCellRange() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_SHEETCELLRANGE_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index ac4ae33a1f08..c86db777237a 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/_Shape \ -qadevOOo/tests/java/ifc/sheet/_SheetCellRange \ qadevOOo/tests/java/ifc/sheet/_SheetCellRanges \ qadevOOo/tests/java/ifc/sheet/_SheetFilterDescriptor \ qadevOOo/tests/java/ifc/sheet/_SheetLink \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv index d95c2f6d4327..3f85f6821258 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv @@ -133,12 +133,6 @@ "ScCellCursorObj";"com::sun::star::table::XCellRange";"getCellByPosition()" "ScCellCursorObj";"com::sun::star::table::XCellRange";"getCellRangeByPosition()" "ScCellCursorObj";"com::sun::star::table::XCellRange";"getCellRangeByName()" -"ScCellCursorObj";"com::sun::star::sheet::SheetCellRange";"Position" -"ScCellCursorObj";"com::sun::star::sheet::SheetCellRange";"Size" -"ScCellCursorObj";"com::sun::star::sheet::SheetCellRange";"ConditionalFormat" -"ScCellCursorObj";"com::sun::star::sheet::SheetCellRange";"ConditionalFormatLocal#optional" -"ScCellCursorObj";"com::sun::star::sheet::SheetCellRange";"Validation" -"ScCellCursorObj";"com::sun::star::sheet::SheetCellRange";"ValidationLocal#optional" "ScCellCursorObj";"com::sun::star::beans::XTolerantMultiPropertySet#optional";"setPropertyValuesTolerant()" "ScCellCursorObj";"com::sun::star::beans::XTolerantMultiPropertySet#optional";"getPropertyValuesTolerant()" "ScCellCursorObj";"com::sun::star::beans::XTolerantMultiPropertySet#optional";"getDirectPropertyValuesTolerant()" diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv index 7be5d04df577..08ca6f6f39c3 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv @@ -128,12 +128,6 @@ "ScCellRangeObj";"com::sun::star::table::XCellRange";"getCellByPosition()" "ScCellRangeObj";"com::sun::star::table::XCellRange";"getCellRangeByPosition()" "ScCellRangeObj";"com::sun::star::table::XCellRange";"getCellRangeByName()" -"ScCellRangeObj";"com::sun::star::sheet::SheetCellRange";"Position" -"ScCellRangeObj";"com::sun::star::sheet::SheetCellRange";"
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/cppunitasserthelper.hxx | 36 ++ include/test/sheet/sheetcell.hxx | 34 ++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv |8 qadevOOo/tests/java/ifc/sheet/_SheetCell.java | 29 - sc/qa/extras/sccellobj.cxx|9 test/Library_subsequenttest.mk|1 test/source/sheet/sheetcell.cxx | 216 ++ 8 files changed, 294 insertions(+), 40 deletions(-) New commits: commit 35f6b6f6b9693e098b8407c3c35e74087d59ed8e Author: Jens Carl Date: Tue Jan 23 18:53:00 2018 + tdf#45904 Move _SheetCell Java tests to C++ Change-Id: I5d698303a901ee103fdd4ffdea34809142afa0e5 Reviewed-on: https://gerrit.libreoffice.org/48463 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/cppunitasserthelper.hxx b/include/test/cppunitasserthelper.hxx index 4f4f920dd9fc..b6703e255ce0 100644 --- a/include/test/cppunitasserthelper.hxx +++ b/include/test/cppunitasserthelper.hxx @@ -12,6 +12,8 @@ #include +#include +#include #include #include @@ -19,6 +21,40 @@ CPPUNIT_NS_BEGIN +/** @brief Trait used by CPPUNIT_ASSERT* macros to compare com::sun::star:awt::Point. + * + * This specialization from @c struct @c assertion_traits<> helps to compare + * @see com::sun::star::awt::Point. + */ +template <> struct assertion_traits +{ +static bool equal(const css::awt::Point& x, const css::awt::Point& y) { return x == y; } + +static std::string toString(const css::awt::Point& x) +{ +OStringStream ost; +ost << "Point: " << x.X << "." << x.Y << " (coordinate: X.Y)"; +return ost.str(); +} +}; + +/** @brief Trait used by CPPUNIT_ASSERT* macros to compare com::sun::star:awt::Size. + * + * This specialization from @c struct @c assertion_traits<> helps to compare + * @see com::sun::star::awt::Size. + */ +template <> struct assertion_traits +{ +static bool equal(const css::awt::Size& x, const css::awt::Size& y) { return x == y; } + +static std::string toString(const css::awt::Size& x) +{ +OStringStream ost; +ost << "Size: " << x.Width << " x " << x.Height << " (Width x Height)"; +return ost.str(); +} +}; + /** @brief Trait used by CPPUNIT_ASSERT* macros to compare com::sun::star::table::CellAddress. * * This specialization from @c struct @c assertion_traits<> helps to compare diff --git a/include/test/sheet/sheetcell.hxx b/include/test/sheet/sheetcell.hxx new file mode 100644 index ..a5d35cee1a05 --- /dev/null +++ b/include/test/sheet/sheetcell.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_SHEETCELL_HXX +#define INCLUDED_TEST_SHEET_SHEETCELL_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST SheetCell +{ +public: +virtual css::uno::Reference init() = 0; + +void testSheetCellProperties(); + +protected: +~SheetCell() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_SHEETCELL_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 72f64db9f389..ac4ae33a1f08 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/_Shape \ -qadevOOo/tests/java/ifc/sheet/_SheetCell \ qadevOOo/tests/java/ifc/sheet/_SheetCellRange \ qadevOOo/tests/java/ifc/sheet/_SheetCellRanges \ qadevOOo/tests/java/ifc/sheet/_SheetFilterDescriptor \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv index a844cd884d23..a217fac5191b 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv @@ -139,14 +139,6 @@ "ScCellObj";"com::sun::star::text::XTextRange";"getEnd()" "ScCellObj";"com::sun::star::text::XTextRange";"getString()" "ScCellObj";"com::sun::star::text::XTextRange";"setString()" -"ScCellObj";"com::sun::star::sheet::SheetCell";"Position" -"ScCellObj";"com::sun::star::sheet::SheetCell";"Size" -"ScCellObj";"com::sun::star::sheet::SheetCell";"FormulaLocal#optional" -"ScCellObj";"com::sun::star::sheet::SheetCell";"FormulaResultType" -"ScCellObj";"c
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/spreadsheetviewsettings.hxx | 34 + qadevOOo/Jar_OOoRunner.mk|1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv | 20 qadevOOo/tests/java/ifc/sheet/_SpreadsheetViewSettings.java | 66 -- sc/qa/extras/sctabviewobj.cxx| 14 test/Library_subsequenttest.mk |1 test/source/sheet/spreadsheetviewsettings.cxx| 243 +++ 7 files changed, 288 insertions(+), 91 deletions(-) New commits: commit 95307f2ca73480176634e5cc46d96a19b735e87b Author: Jens Carl Date: Tue Jan 9 03:57:02 2018 + tdf#45904 Move _SpreadsheetViewSettings Java tests to C++ Change-Id: I68dcabd15b4b318a833a893b4de96c64ffd2a164 Reviewed-on: https://gerrit.libreoffice.org/47625 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/spreadsheetviewsettings.hxx b/include/test/sheet/spreadsheetviewsettings.hxx new file mode 100644 index ..135c95e5d078 --- /dev/null +++ b/include/test/sheet/spreadsheetviewsettings.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_SPREADSHEETVIEWSETTINGS_HXX +#define INCLUDED_TEST_SHEET_SPREADSHEETVIEWSETTINGS_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST SpreadsheetViewSettings +{ +public: +virtual css::uno::Reference init() = 0; + +void testSpreadsheetViewSettingsProperties(); + +protected: +~SpreadsheetViewSettings() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_SPREADSHEETVIEWSETTINGS_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 2e855eca6e1e..227ede99d893 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -575,7 +575,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_Spreadsheet \ qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocument \ qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings \ -qadevOOo/tests/java/ifc/sheet/_SpreadsheetViewSettings \ qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField \ qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster \ qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange \ 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 bd00af8e020d..e13c05bfda4e 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv @@ -15,26 +15,6 @@ "ScTabViewObj";"com::sun::star::sheet::XCellRangeReferrer";"getReferredCells()" "ScTabViewObj";"com::sun::star::container::XElementAccess";"getElementType()" "ScTabViewObj";"com::sun::star::container::XElementAccess";"hasElements()" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"ShowFormulas" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"ShowZeroValues" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"IsValueHighlightingEnabled" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"ShowNotes" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"HasVerticalScrollBar" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"HasHorizontalScrollBar" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"HasSheetTabs" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"IsOutlineSymbolsSet" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"HasColumnRowHeaders" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"ShowGrid" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"GridColor" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"ShowHelpLines" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"ShowAnchor" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"ShowPageBreaks" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"ShowObjects" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"ShowCharts" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"ShowDrawing" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"HideSpellMarks" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"ZoomType" -"ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"ZoomValue" "ScTabViewObj";"com::sun::star::sheet::XActivationBroadcaster#optional";"ad
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/subtotaldescriptor.hxx| 34 ++ qadevOOo/Jar_OOoRunner.mk| 1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScSubTotalDescriptorBase.csv | 8 qadevOOo/tests/java/ifc/sheet/_SubTotalDescriptor.java | 40 --- sc/qa/extras/scsubtotaldescriptorbaseobj.cxx | 10 test/Library_subsequenttest.mk | 1 test/source/sheet/subtotaldescriptor.cxx | 116 ++ 7 files changed, 159 insertions(+), 51 deletions(-) New commits: commit c29828daa32f3dee503e4db2b5b55d3d12f1fd39 Author: Jens Carl Date: Tue Jan 9 01:00:49 2018 + tdf#45904 Move _SubTotalDescriptor Java tests to C++ Change-Id: Id4265dd6a8123624bccdfe343655525948cadee7 Reviewed-on: https://gerrit.libreoffice.org/47623 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/subtotaldescriptor.hxx b/include/test/sheet/subtotaldescriptor.hxx new file mode 100644 index ..9b2c21f21c98 --- /dev/null +++ b/include/test/sheet/subtotaldescriptor.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_SUBTOTALDESCRIPTOR_HXX +#define INCLUDED_TEST_SHEET_SUBTOTALDESCRIPTOR_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST SubTotalDescriptor +{ +public: +virtual css::uno::Reference init() = 0; + +void testSubTotalDescriptorProperties(); + +protected: +~SubTotalDescriptor() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_SUBTOTALDESCRIPTOR_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index ec406f859a2f..2e855eca6e1e 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -576,7 +576,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocument \ qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings \ qadevOOo/tests/java/ifc/sheet/_SpreadsheetViewSettings \ -qadevOOo/tests/java/ifc/sheet/_SubTotalDescriptor \ qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField \ qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster \ qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScSubTotalDescriptorBase.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScSubTotalDescriptorBase.csv index 32ad24f94880..9aa6d5addfeb 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScSubTotalDescriptorBase.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScSubTotalDescriptorBase.csv @@ -2,14 +2,6 @@ "ScSubTotalDescriptorBase";"com::sun::star::container::XIndexAccess";"getByIndex()" "ScSubTotalDescriptorBase";"com::sun::star::container::XElementAccess";"getElementType()" "ScSubTotalDescriptorBase";"com::sun::star::container::XElementAccess";"hasElements()" -"ScSubTotalDescriptorBase";"com::sun::star::sheet::SubTotalDescriptor";"InsertPageBreaks" -"ScSubTotalDescriptorBase";"com::sun::star::sheet::SubTotalDescriptor";"IsCaseSensitive" -"ScSubTotalDescriptorBase";"com::sun::star::sheet::SubTotalDescriptor";"EnableUserSortList" -"ScSubTotalDescriptorBase";"com::sun::star::sheet::SubTotalDescriptor";"UserSortListIndex" -"ScSubTotalDescriptorBase";"com::sun::star::sheet::SubTotalDescriptor";"BindFormatsToContent" -"ScSubTotalDescriptorBase";"com::sun::star::sheet::SubTotalDescriptor";"EnableSort" -"ScSubTotalDescriptorBase";"com::sun::star::sheet::SubTotalDescriptor";"SortAscending" -"ScSubTotalDescriptorBase";"com::sun::star::sheet::SubTotalDescriptor";"MaxFieldCount" "ScSubTotalDescriptorBase";"com::sun::star::beans::XPropertySet";"getPropertySetInfo()" "ScSubTotalDescriptorBase";"com::sun::star::beans::XPropertySet";"setPropertyValue()" "ScSubTotalDescriptorBase";"com::sun::star::beans::XPropertySet";"getPropertyValue()" diff --git a/qadevOOo/tests/java/ifc/sheet/_SubTotalDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_SubTotalDescriptor.java deleted file mode 100644 index 0f63ac5f41f1.. --- a/qadevOOo/tests/java/ifc/sheet/_SubTotalDescriptor.java +++ /dev/null @@ -1,40 +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 fo
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/tablevalidation.hxx | 34 ++ qadevOOo/Jar_OOoRunner.mk|1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableValidationObj.csv | 10 qadevOOo/tests/java/ifc/sheet/_TableValidation.java | 43 -- sc/qa/extras/sctablevalidationobj.cxx| 10 test/Library_subsequenttest.mk |1 test/source/sheet/tablevalidation.cxx| 154 ++ 7 files changed, 197 insertions(+), 56 deletions(-) New commits: commit 056575f7ceff003348783f7611f84a68463fa8c8 Author: Jens Carl Date: Wed Jan 3 05:42:01 2018 + tdf#45904 Move _TableValidation Java tests to C++ Fixes #i90346. Change-Id: Iec7e5ebfe28d3d26f5c50950ee2d3f5fc890da65 Reviewed-on: https://gerrit.libreoffice.org/47292 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/tablevalidation.hxx b/include/test/sheet/tablevalidation.hxx new file mode 100644 index ..809745254141 --- /dev/null +++ b/include/test/sheet/tablevalidation.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_TABLEVALIDATION_HXX +#define INCLUDED_TEST_SHEET_TABLEVALIDATION_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST TableValidation +{ +public: +virtual css::uno::Reference init() = 0; + +void testTableValidationProperties(); + +protected: +~TableValidation() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_TABLEVALIDATION_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index de087a156028..b8ed2487e317 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -581,7 +581,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_SubTotalDescriptor \ qadevOOo/tests/java/ifc/sheet/_TableAutoFormat \ qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField \ -qadevOOo/tests/java/ifc/sheet/_TableValidation \ qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster \ qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange \ qadevOOo/tests/java/ifc/sheet/_XCalculatable \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableValidationObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableValidationObj.csv index 6ece7b010e7c..743fb8ef8851 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableValidationObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableValidationObj.csv @@ -1,13 +1,3 @@ -"ScTableValidationObj";"com::sun::star::sheet::TableValidation";"Type" -"ScTableValidationObj";"com::sun::star::sheet::TableValidation";"ShowInputMessage" -"ScTableValidationObj";"com::sun::star::sheet::TableValidation";"InputTitle" -"ScTableValidationObj";"com::sun::star::sheet::TableValidation";"InputMessage" -"ScTableValidationObj";"com::sun::star::sheet::TableValidation";"ShowErrorMessage" -"ScTableValidationObj";"com::sun::star::sheet::TableValidation";"ErrorTitle" -"ScTableValidationObj";"com::sun::star::sheet::TableValidation";"ErrorMessage" -"ScTableValidationObj";"com::sun::star::sheet::TableValidation";"IgnoreBlankCells" -"ScTableValidationObj";"com::sun::star::sheet::TableValidation";"ErrorAlertStyle" -"ScTableValidationObj";"com::sun::star::sheet::TableValidation";"ShowList#optional" "ScTableValidationObj";"com::sun::star::beans::XPropertySet";"getPropertySetInfo()" "ScTableValidationObj";"com::sun::star::beans::XPropertySet";"setPropertyValue()" "ScTableValidationObj";"com::sun::star::beans::XPropertySet";"getPropertyValue()" diff --git a/qadevOOo/tests/java/ifc/sheet/_TableValidation.java b/qadevOOo/tests/java/ifc/sheet/_TableValidation.java deleted file mode 100644 index aab7a1640daa.. --- a/qadevOOo/tests/java/ifc/sheet/_TableValidation.java +++ /dev/null @@ -1,43 +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
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/scenario.hxx | 34 ++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |8 qadevOOo/tests/java/ifc/sheet/_Scenario.java| 33 -- sc/qa/extras/sctablesheetobj.cxx|9 test/Library_subsequenttest.mk |1 test/source/sheet/scenario.cxx | 115 ++ 7 files changed, 157 insertions(+), 44 deletions(-) New commits: commit 23a1c5429c67986a945baab6dae553e58d2d72d9 Author: Jens Carl Date: Wed Jan 3 00:47:36 2018 + tdf#45904 Move _Scenario Java tests to C++ Change-Id: I313f3a56fd99e7fb29e6f729cfe13e99adf1fed6 Reviewed-on: https://gerrit.libreoffice.org/47289 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/scenario.hxx b/include/test/sheet/scenario.hxx new file mode 100644 index ..3a3ec8d87121 --- /dev/null +++ b/include/test/sheet/scenario.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_SCENARIO_HXX +#define INCLUDED_TEST_SHEET_SCENARIO_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST Scenario +{ +public: +virtual css::uno::Reference getScenarioSpreadsheet() = 0; + +void testScenarioProperties(); + +protected: +~Scenario() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_SCENARIO_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 1fa333cd889b..de087a156028 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -567,7 +567,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_DocumentSettings \ qadevOOo/tests/java/ifc/sheet/_FunctionDescription \ qadevOOo/tests/java/ifc/sheet/_GlobalSheetSettings \ -qadevOOo/tests/java/ifc/sheet/_Scenario \ qadevOOo/tests/java/ifc/sheet/_Shape \ qadevOOo/tests/java/ifc/sheet/_SheetCell \ qadevOOo/tests/java/ifc/sheet/_SheetCellRange \ 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 fcebef99d308..a733f9e19d38 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv @@ -109,14 +109,6 @@ "ScTableSheetObj";"com::sun::star::style::CharacterPropertiesComplex";"CharFontPitchComplex" "ScTableSheetObj";"com::sun::star::style::CharacterPropertiesComplex";"CharPostureComplex" "ScTableSheetObj";"com::sun::star::style::CharacterPropertiesComplex";"CharLocaleComplex" -"ScTableSheetObj";"com::sun::star::sheet::Scenario";"IsActive#optional" -"ScTableSheetObj";"com::sun::star::sheet::Scenario";"BorderColor#optional" -"ScTableSheetObj";"com::sun::star::sheet::Scenario";"Protected#optional" -"ScTableSheetObj";"com::sun::star::sheet::Scenario";"ShowBorder#optional" -"ScTableSheetObj";"com::sun::star::sheet::Scenario";"PrintBorder#optional" -"ScTableSheetObj";"com::sun::star::sheet::Scenario";"CopyBack#optional" -"ScTableSheetObj";"com::sun::star::sheet::Scenario";"CopyStyles#optional" -"ScTableSheetObj";"com::sun::star::sheet::Scenario";"CopyFormulas#optional" "ScTableSheetObj";"com::sun::star::util::XProtectable";"protect()" "ScTableSheetObj";"com::sun::star::util::XProtectable";"unprotect()" "ScTableSheetObj";"com::sun::star::util::XProtectable";"isProtected()" diff --git a/qadevOOo/tests/java/ifc/sheet/_Scenario.java b/qadevOOo/tests/java/ifc/sheet/_Scenario.java deleted file mode 100644 index 48efe7a84bb6.. --- a/qadevOOo/tests/java/ifc/sheet/_Scenario.java +++ /dev/null @@ -1,33 +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
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xcellrangeaddressable.hxx| 34 +++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |1 qadevOOo/tests/java/ifc/sheet/_XCellRangeAddressable.java | 48 -- sc/qa/extras/sccellcursorobj.cxx|7 + sc/qa/extras/sccellrangeobj.cxx |7 + sc/qa/extras/sctablesheetobj.cxx|7 + test/Library_subsequenttest.mk |1 test/source/sheet/xcellrangeaddressable.cxx | 33 ++ 11 files changed, 86 insertions(+), 55 deletions(-) New commits: commit b92af3c7b4f8ad91891c2159b35070fe4a1bf2db Author: Jens Carl Date: Fri Dec 15 21:38:49 2017 + tdf#45904 Move _XCellRangeAddressable Java test to C++ Change-Id: Ic3c1e6d793d4405c2dc4b8e7d1d7b87ed94fc6c3 Reviewed-on: https://gerrit.libreoffice.org/46579 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xcellrangeaddressable.hxx b/include/test/sheet/xcellrangeaddressable.hxx new file mode 100644 index ..0819b34c155d --- /dev/null +++ b/include/test/sheet/xcellrangeaddressable.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XCELLRANGEADDRESSABLE_HXX +#define INCLUDED_TEST_SHEET_XCELLRANGEADDRESSABLE_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XCellRangeAddressable +{ +public: +virtual css::uno::Reference init() = 0; + +void testGetRangeAddress(); + +protected: +~XCellRangeAddressable() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_XCELLRANGEADDRESSABLE_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 5a4f7a7ae293..1fa333cd889b 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -586,7 +586,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster \ qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange \ qadevOOo/tests/java/ifc/sheet/_XCalculatable \ -qadevOOo/tests/java/ifc/sheet/_XCellRangeAddressable \ qadevOOo/tests/java/ifc/sheet/_XCellRangeData \ qadevOOo/tests/java/ifc/sheet/_XCellRangeFormula \ qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv index 81bda88aa988..d95c2f6d4327 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv @@ -41,7 +41,6 @@ "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesAsian";"ParaIsCharacterDistance" "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesAsian";"ParaIsForbiddenRules" "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesAsian";"ParaIsHangingPunctuation" -"ScCellCursorObj";"com::sun::star::sheet::XCellRangeAddressable";"getRangeAddress()" "ScCellCursorObj";"com::sun::star::table::XCellCursor";"gotoStart()" "ScCellCursorObj";"com::sun::star::table::XCellCursor";"gotoEnd()" "ScCellCursorObj";"com::sun::star::table::XCellCursor";"gotoNext()" diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv index e018f5e09ef8..7be5d04df577 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv @@ -41,7 +41,6 @@ "ScCellRangeObj";"com::sun::star::style::CharacterPropertiesAsian";"ParaIsCharacterDistance" "ScCellRangeObj";"com::sun::star::style::CharacterPropertiesAsian";"ParaIsForbiddenRules" "ScCellRangeObj";"com::sun::star::style::CharacterPropertiesAsian";"ParaIsHangingPunctuation" -"ScCellRangeObj";"com::sun::star::sheet::XCellRangeAddressable";"getRangeAddress()" "ScCellRangeObj";"com::sun::star::util::XReplaceable";"createReplaceDescriptor()" "ScCellRangeObj";"com::sun::star::util::XReplaceable";"replaceAll()" "ScCellRangeObj";"com::sun::star::chart::XChartData";"addChartDataChangeEventListener()" diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTab
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xcellformatrangessupplier.hxx| 34 qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |1 qadevOOo/tests/java/ifc/sheet/_XCellFormatRangesSupplier.java | 83 -- sc/qa/extras/sccellcursorobj.cxx|9 - sc/qa/extras/sccellrangeobj.cxx |7 sc/qa/extras/sctablesheetobj.cxx|9 - test/Library_subsequenttest.mk |1 test/source/sheet/xcellformatrangessupplier.cxx | 39 11 files changed, 94 insertions(+), 92 deletions(-) New commits: commit 96f8861a29ebf650dedcbee71b8360133c0ceabb Author: Jens Carl Date: Fri Dec 15 20:52:32 2017 + tdf#45904 Move _XCellFormatRangesSupplier Java test to C++ Change-Id: I95c20893878385ef173875956d3d7166b0e9e563 Reviewed-on: https://gerrit.libreoffice.org/46578 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xcellformatrangessupplier.hxx b/include/test/sheet/xcellformatrangessupplier.hxx new file mode 100644 index ..1f2f6d3794b6 --- /dev/null +++ b/include/test/sheet/xcellformatrangessupplier.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XCELLFORMATRANGESSUPPLIER_HXX +#define INCLUDED_TEST_SHEET_XCELLFORMATRANGESSUPPLIER_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XCellFormatRangesSupplier +{ +public: +virtual css::uno::Reference init() = 0; + +void testGetCellFormatRanges(); + +protected: +~XCellFormatRangesSupplier() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_XCELLFORMATRANGESSUPPLIER_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 6f07cb3ab936..5a4f7a7ae293 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -586,7 +586,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster \ qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange \ qadevOOo/tests/java/ifc/sheet/_XCalculatable \ -qadevOOo/tests/java/ifc/sheet/_XCellFormatRangesSupplier \ qadevOOo/tests/java/ifc/sheet/_XCellRangeAddressable \ qadevOOo/tests/java/ifc/sheet/_XCellRangeData \ qadevOOo/tests/java/ifc/sheet/_XCellRangeFormula \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv index e6b2ef052fd0..81bda88aa988 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv @@ -209,7 +209,6 @@ "ScCellCursorObj";"com::sun::star::chart::XChartDataArray";"setRowDescriptions()" "ScCellCursorObj";"com::sun::star::chart::XChartDataArray";"getColumnDescriptions()" "ScCellCursorObj";"com::sun::star::chart::XChartDataArray";"setColumnDescriptions()" -"ScCellCursorObj";"com::sun::star::sheet::XCellFormatRangesSupplier";"getCellFormatRanges()" "ScCellCursorObj";"com::sun::star::sheet::XSheetCellCursor";"collapseToCurrentRegion()" "ScCellCursorObj";"com::sun::star::sheet::XSheetCellCursor";"collapseToCurrentArray()" "ScCellCursorObj";"com::sun::star::sheet::XSheetCellCursor";"collapseToMergedArea()" diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv index deddc503556a..e018f5e09ef8 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv @@ -204,7 +204,6 @@ "ScCellRangeObj";"com::sun::star::chart::XChartDataArray";"setRowDescriptions()" "ScCellRangeObj";"com::sun::star::chart::XChartDataArray";"getColumnDescriptions()" "ScCellRangeObj";"com::sun::star::chart::XChartDataArray";"setColumnDescriptions()" -"ScCellRangeObj";"com::sun::star::sheet::XCellFormatRangesSupplier";"getCellFormatRanges()" "ScCellRangeObj";"com::sun::star::util::XModifyBroadcaster#optional";"addModifyListener()" "ScCellRangeObj";"com::sun::star::util::XModifyBroadcaster#optional";"removeModifyListener()" "ScCellRangeObj";"com::sun::star::util::XImportable";"createImportDescriptor()" diff --git a/qadevOOo/objdsc/sc/com.sun.
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xconsolidatable.hxx | 35 + qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScModelObj.csv |2 qadevOOo/tests/java/ifc/sheet/_XConsolidatable.java| 47 - sc/qa/extras/scmodelobj.cxx| 18 test/Library_subsequenttest.mk |1 test/source/sheet/xconsolidatable.cxx | 46 7 files changed, 98 insertions(+), 52 deletions(-) New commits: commit acc24edf21b99822b6e6d8119eba3ab843458401 Author: Jens Carl Date: Thu Dec 14 19:31:00 2017 + tdf#45904 Move _XConsolidatable Java tests to C++ Change-Id: Id851121d424e88d28f0c941d50ab115eba5cea18 Reviewed-on: https://gerrit.libreoffice.org/46485 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xconsolidatable.hxx b/include/test/sheet/xconsolidatable.hxx new file mode 100644 index ..9edb591089ba --- /dev/null +++ b/include/test/sheet/xconsolidatable.hxx @@ -0,0 +1,35 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XCONSOLIDATABLE_HXX +#define INCLUDED_TEST_SHEET_XCONSOLIDATABLE_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XConsolidatable +{ +public: +virtual css::uno::Reference init() = 0; + +void testCreateConsolidationDescriptor(); +void testConsolidate(); + +protected: +~XConsolidatable() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_XCONSOLIDATABLE_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 4e378ebc4b0e..6f07cb3ab936 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -593,7 +593,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement \ qadevOOo/tests/java/ifc/sheet/_XCellRangeReferrer \ qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery \ -qadevOOo/tests/java/ifc/sheet/_XConsolidatable \ qadevOOo/tests/java/ifc/sheet/_XDDELink \ qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing \ qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster \ 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 b77e34c1984a..69b54496331b 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScModelObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScModelObj.csv @@ -30,8 +30,6 @@ "ScModelObj";"com::sun::star::frame::XStorable";"store()" "ScModelObj";"com::sun::star::frame::XStorable";"storeAsURL()" "ScModelObj";"com::sun::star::frame::XStorable";"storeToURL()" -"ScModelObj";"com::sun::star::sheet::XConsolidatable";"createConsolidationDescriptor()" -"ScModelObj";"com::sun::star::sheet::XConsolidatable";"consolidate()" "ScModelObj";"com::sun::star::document::XEventsSupplier#optional";"getEvents()" "ScModelObj";"com::sun::star::util::XModifiable";"isModified()" "ScModelObj";"com::sun::star::util::XModifiable";"setModified()" diff --git a/qadevOOo/tests/java/ifc/sheet/_XConsolidatable.java b/qadevOOo/tests/java/ifc/sheet/_XConsolidatable.java deleted file mode 100644 index cde8a8f12921.. --- a/qadevOOo/tests/java/ifc/sheet/_XConsolidatable.java +++ /dev/null @@ -1,47 +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 com.sun.star.sheet.XConsolidatable; -import com.sun.star.sheet.XConsolidationDescriptor; -import lib.MultiMethodTest; - -/** - * Test the XConsolidatable interface - */ -public class _XConsolidatable extends MultiMethodTest { -public XConsolidatable oObj = null; -XConsolidationDescriptor xDescriptor = null;
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xdatapilotfield.hxx | 34 + qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldObj.csv |1 qadevOOo/tests/java/ifc/sheet/_XDataPilotField.java | 61 -- sc/qa/extras/scdatapilotfieldobj.cxx| 20 ++- test/Library_subsequenttest.mk |1 test/source/sheet/xdatapilotfield.cxx | 40 ++ 7 files changed, 91 insertions(+), 67 deletions(-) New commits: commit 7345bef0f354673e2fd3127b8fc707eae4c936ed Author: Jens Carl Date: Fri Dec 8 03:36:00 2017 + tdf#45904 Move _XDataPilotField Java test to C++ Change-Id: I5ba1733a8e675048366651aa5f3affc9c249622c Reviewed-on: https://gerrit.libreoffice.org/46066 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xdatapilotfield.hxx b/include/test/sheet/xdatapilotfield.hxx new file mode 100644 index ..6622b71bcfbd --- /dev/null +++ b/include/test/sheet/xdatapilotfield.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XDATAPILOTFIELD_HXX +#define INCLUDED_TEST_SHEET_XDATAPILOTFIELD_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XDataPilotField +{ +public: +virtual css::uno::Reference init() = 0; + +void testGetItems(); + +protected: +~XDataPilotField() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_XDATAPILOTFIELD_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 539a24e803e4..bf717ebb1f37 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -596,7 +596,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XConsolidatable \ qadevOOo/tests/java/ifc/sheet/_XConsolidationDescriptor \ qadevOOo/tests/java/ifc/sheet/_XDatabaseRanges \ -qadevOOo/tests/java/ifc/sheet/_XDataPilotField \ qadevOOo/tests/java/ifc/sheet/_XDDELink \ qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing \ qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldObj.csv index c5efdd130e60..de2cb74f71ba 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldObj.csv @@ -7,4 +7,3 @@ "ScDataPilotFieldObj";"com::sun::star::beans::XPropertySet";"removePropertyChangeListener()" "ScDataPilotFieldObj";"com::sun::star::beans::XPropertySet";"addVetoableChangeListener()" "ScDataPilotFieldObj";"com::sun::star::beans::XPropertySet";"removeVetoableChangeListener()" -"ScDataPilotFieldObj";"com::sun::star::sheet::XDataPilotField#optional";"getItems()" diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotField.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotField.java deleted file mode 100644 index 54ed131a5c52.. --- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotField.java +++ /dev/null @@ -1,61 +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 com.sun.star.container.XIndexAccess; -import com.sun.star.sheet.XDataPilotField; - -import lib.MultiMethodTest; - - -public class _XDataPilotField extends MultiMethodTest { -public XDataPilotField oObj = null; - -public void _getItems() { -XIndexAccess xIA = oObj.getItems(); -tRes.tested("getItems()", checkIndexAccess(xIA)); -} - -/** - * calls the method getCount at the IndexAccess, returns true is it is >0 - * and getByIndex(
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xdatapilottablessupplier.hxx | 34 ++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |1 qadevOOo/tests/java/ifc/sheet/_XDataPilotTablesSupplier.java| 50 -- sc/qa/extras/sctablesheetobj.cxx|7 + test/Library_subsequenttest.mk |1 test/source/sheet/xdatapilottablessupplier.cxx | 32 ++ 7 files changed, 73 insertions(+), 53 deletions(-) New commits: commit c7e5c7da98d40852d18bd7683e40c9679836ba49 Author: Jens Carl Date: Wed Dec 6 22:48:01 2017 + tdf#45904 Move _XDataPilotTablesSupplier Java test to C++ Change-Id: Iaea5b7abc0a289035c7a230c0034d2422cc4ae5f Reviewed-on: https://gerrit.libreoffice.org/46001 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xdatapilottablessupplier.hxx b/include/test/sheet/xdatapilottablessupplier.hxx new file mode 100644 index ..ca1e623b3b96 --- /dev/null +++ b/include/test/sheet/xdatapilottablessupplier.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XDATAPILOTTABLESSUPPLIER_HXX +#define INCLUDED_TEST_SHEET_XDATAPILOTTABLESSUPPLIER_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XDataPilotTablesSupplier +{ +public: +virtual css::uno::Reference init() = 0; + +void testGetDataPilotTables(); + +protected: +~XDataPilotTablesSupplier() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_XDATAPILOTTABLESSUPPLIER_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 24dd5cd7f8a9..5751f1cb8ef9 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -598,7 +598,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XDatabaseRanges \ qadevOOo/tests/java/ifc/sheet/_XDataPilotField \ qadevOOo/tests/java/ifc/sheet/_XDataPilotTables \ -qadevOOo/tests/java/ifc/sheet/_XDataPilotTablesSupplier \ qadevOOo/tests/java/ifc/sheet/_XDDELink \ qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing \ qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster \ 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 5356fe01fc80..48032b0f4309 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv @@ -231,7 +231,6 @@ "ScTableSheetObj";"com::sun::star::chart::XChartDataArray";"setRowDescriptions()" "ScTableSheetObj";"com::sun::star::chart::XChartDataArray";"getColumnDescriptions()" "ScTableSheetObj";"com::sun::star::chart::XChartDataArray";"setColumnDescriptions()" -"ScTableSheetObj";"com::sun::star::sheet::XDataPilotTablesSupplier";"getDataPilotTables()" "ScTableSheetObj";"com::sun::star::sheet::XCellFormatRangesSupplier";"getCellFormatRanges()" "ScTableSheetObj";"com::sun::star::util::XModifyBroadcaster#optional";"addModifyListener()" "ScTableSheetObj";"com::sun::star::util::XModifyBroadcaster#optional";"removeModifyListener()" diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTablesSupplier.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTablesSupplier.java deleted file mode 100644 index 312c3db253ac.. --- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTablesSupplier.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.XDataPilotTables; -import com.sun.star.sheet.XDataPilotTablesSupplier; - -/*
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xmultipleoperation.hxx | 39 ++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |1 qadevOOo/tests/java/ifc/sheet/_XMultipleOperation.java | 175 -- sc/qa/extras/sccellcursorobj.cxx|7 sc/qa/extras/sccellrangeobj.cxx | 42 +- sc/qa/extras/sctablesheetobj.cxx| 48 ++ test/Library_subsequenttest.mk |1 test/source/sheet/xmultipleoperation.cxx| 96 + 11 files changed, 207 insertions(+), 205 deletions(-) New commits: commit 350eec67a5989365560e38e9270990dcd0a019e8 Author: Jens Carl Date: Fri Dec 1 01:00:41 2017 + tdf#45904 Move _XMultipleOperation Java tests to C++ Change-Id: I102b726e673f69bfe64eff7e28e380dd6f15f1f8 Reviewed-on: https://gerrit.libreoffice.org/45629 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xmultipleoperation.hxx b/include/test/sheet/xmultipleoperation.hxx new file mode 100644 index ..50d4d144edc1 --- /dev/null +++ b/include/test/sheet/xmultipleoperation.hxx @@ -0,0 +1,39 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XMULTIPLEOPERATION_HXX +#define INCLUDED_TEST_SHEET_XMULTIPLEOPERATION_HXX + +#include +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XMultipleOperation +{ +public: +virtual css::uno::Reference init() = 0; +virtual css::uno::Reference getXSpreadsheet() = 0; + +void testSetTableOperation(); + +protected: +~XMultipleOperation() {} + +private: +void fillCells(css::uno::Reference&); +}; +} + +#endif // INCLUDED_TEST_SHEET_XMULTIPLEOPERATION_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index ca7efb955432..d7476b028d5a 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -604,7 +604,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster \ qadevOOo/tests/java/ifc/sheet/_XFormulaQuery \ qadevOOo/tests/java/ifc/sheet/_XFunctionDescriptions \ -qadevOOo/tests/java/ifc/sheet/_XMultipleOperation \ qadevOOo/tests/java/ifc/sheet/_XRangeSelection \ qadevOOo/tests/java/ifc/sheet/_XRecentFunctions \ qadevOOo/tests/java/ifc/sheet/_XScenario \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv index 0e5e6448c72b..e6b2ef052fd0 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv @@ -123,7 +123,6 @@ "ScCellCursorObj";"com::sun::star::sheet::XCellRangeFormula#optional";"setFormulaArray()" "ScCellCursorObj";"com::sun::star::util::XIndent";"decrementIndent()" "ScCellCursorObj";"com::sun::star::util::XIndent";"incrementIndent()" -"ScCellCursorObj";"com::sun::star::sheet::XMultipleOperation";"setTableOperation()" "ScCellCursorObj";"com::sun::star::table::XAutoFormattable";"autoFormat()" "ScCellCursorObj";"com::sun::star::sheet::XCellRangesQuery";"queryVisibleCells()" "ScCellCursorObj";"com::sun::star::sheet::XCellRangesQuery";"queryEmptyCells()" diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv index 95186af1d9a2..deddc503556a 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv @@ -118,7 +118,6 @@ "ScCellRangeObj";"com::sun::star::sheet::XCellRangeFormula#optional";"setFormulaArray()" "ScCellRangeObj";"com::sun::star::util::XIndent";"decrementIndent()" "ScCellRangeObj";"com::sun::star::util::XIndent";"incrementIndent()" -"ScCellRangeObj";"com::sun::star::sheet::XMultipleOperation";"setTableOperation()" "ScCellRangeObj";"com::sun::star::table::XAutoFormattable";"autoFormat()" "ScCellRangeObj";"com::sun::star::sheet::XCellRangesQuery";"queryVisibleCells()" "ScCellRangeObj";"com::sun::star::sheet::XCellRangesQuery";"queryEmptyCells()" diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv b/qadevOOo/objdsc/sc/com.sun.star
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xsheetannotationanchor.hxx | 34 +++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv |1 qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor.java | 121 - sc/qa/extras/sccellobj.cxx | 31 ++- test/Library_subsequenttest.mk |1 test/source/sheet/xcelladdressable.cxx |2 test/source/sheet/xsheetannotationanchor.cxx | 44 8 files changed, 102 insertions(+), 133 deletions(-) New commits: commit befef6ff30f4eb6d3c61c1542839661d7f823dc4 Author: Jens Carl Date: Sat Nov 11 01:34:27 2017 + tdf#45904 Move _XSheetAnnotationAnchor Java test to C++ Fixes #i109517 for sc.ScCellObj by adding a note/comment during the set up of the test in sccellobj.cxx and allows to re-enabled the test. Change-Id: Ic7aa6bcb2606f555a76612a6f50c200d738674db Reviewed-on: https://gerrit.libreoffice.org/44617 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xsheetannotationanchor.hxx b/include/test/sheet/xsheetannotationanchor.hxx new file mode 100644 index ..a0c6fc58d494 --- /dev/null +++ b/include/test/sheet/xsheetannotationanchor.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XSHEETANNOTATIONANCHOR_HXX +#define INCLUDED_TEST_SHEET_XSHEETANNOTATIONANCHOR_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XSheetAnnotationAnchor +{ +public: +virtual css::uno::Reference init() = 0; + +void testGetAnnotation(); + +protected: +~XSheetAnnotationAnchor() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_XSHEETANNOTATIONANCHOR_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 4ee5633c5650..0064c67a5dcf 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -609,7 +609,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XRangeSelection \ qadevOOo/tests/java/ifc/sheet/_XRecentFunctions \ qadevOOo/tests/java/ifc/sheet/_XScenario \ -qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor \ qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor \ qadevOOo/tests/java/ifc/style/_CharacterProperties \ qadevOOo/tests/java/ifc/style/_CharacterPropertiesAsian \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv index ef1c845ab31b..a844cd884d23 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellObj.csv @@ -152,7 +152,6 @@ "ScCellObj";"com::sun::star::beans::XTolerantMultiPropertySet#optional";"getDirectPropertyValuesTolerant()" "ScCellObj";"com::sun::star::text::XTextFieldsSupplier";"getTextFields()" "ScCellObj";"com::sun::star::text::XTextFieldsSupplier";"getTextFieldMasters()" -"ScCellObj";"com::sun::star::sheet::XSheetAnnotationAnchor";"getAnnotation()" "ScCellObj";"com::sun::star::style::CharacterProperties";"CharFontName" "ScCellObj";"com::sun::star::style::CharacterProperties";"CharFontStyleName" "ScCellObj";"com::sun::star::style::CharacterProperties";"CharFontFamily" diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor.java b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor.java deleted file mode 100644 index 8c33d9f4542e.. --- a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor.java +++ /dev/null @@ -1,121 +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.XSheet
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xscenarioenhanced.hxx| 34 qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |1 qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced.java | 80 -- sc/qa/extras/sctablesheetobj.cxx| 40 - test/Library_subsequenttest.mk |1 test/source/sheet/xscenarioenhanced.cxx | 39 7 files changed, 113 insertions(+), 83 deletions(-) New commits: commit a8681f24d786a5498844e29a3029cf9e60e74ca3 Author: Jens Carl Date: Thu Nov 23 07:24:25 2017 + tdf#45904 Move _XScenarioEnhanced Java test to C++ Change-Id: Ibc99dc0d50e612bc6cdebaf5f9c5f828e5af859f Reviewed-on: https://gerrit.libreoffice.org/45123 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xscenarioenhanced.hxx b/include/test/sheet/xscenarioenhanced.hxx new file mode 100644 index ..ff5261f31d50 --- /dev/null +++ b/include/test/sheet/xscenarioenhanced.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XSCENARIOENHANCED_HXX +#define INCLUDED_TEST_SHEET_XSCENARIOENHANCED_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XScenarioEnhanced +{ +public: +virtual css::uno::Reference getScenarioSpreadsheet() = 0; + +void testGetRanges(); + +protected: +~XScenarioEnhanced() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_XSCENARIOENHANCED_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index f8d6b4a5ecd8..4ee5633c5650 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -609,7 +609,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XRangeSelection \ qadevOOo/tests/java/ifc/sheet/_XRecentFunctions \ qadevOOo/tests/java/ifc/sheet/_XScenario \ -qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced \ qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor \ qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor \ qadevOOo/tests/java/ifc/style/_CharacterProperties \ 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 6f434c9b484c..4438b3b4d7c9 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv @@ -226,7 +226,6 @@ "ScTableSheetObj";"com::sun::star::beans::XPropertySet";"removeVetoableChangeListener()" "ScTableSheetObj";"com::sun::star::sheet::XCellRangeData";"getDataArray()" "ScTableSheetObj";"com::sun::star::sheet::XCellRangeData";"setDataArray()" -"ScTableSheetObj";"com::sun::star::sheet::XScenarioEnhanced#optional";"getRanges()" "ScTableSheetObj";"com::sun::star::chart::XChartDataArray";"getData()" "ScTableSheetObj";"com::sun::star::chart::XChartDataArray";"setData()" "ScTableSheetObj";"com::sun::star::chart::XChartDataArray";"getRowDescriptions()" diff --git a/qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced.java b/qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced.java deleted file mode 100644 index e573ea45f63d.. --- a/qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced.java +++ /dev/null @@ -1,80 +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 com.sun.star.sheet.XScenarioEnhanced; -import com.sun.star.table.CellRangeAddress; -import com.sun.star.uno.UnoRuntime; - -import lib.MultiMethodTest; - -public class _XScenarioEnhanced extends MultiMethodTest { -public XScenarioEnhanced oObj = null; - -@Override -public void be
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xsheetauditing.hxx | 38 + qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |7 qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.java | 195 -- sc/qa/extras/sctablesheetobj.cxx| 20 - test/Library_subsequenttest.mk |1 test/source/sheet/xsheetauditing.cxx| 136 ++ 7 files changed, 192 insertions(+), 206 deletions(-) New commits: commit 39c5ade7bbb444eb204015955276748a5b381ad9 Author: Jens Carl Date: Thu Nov 23 01:50:39 2017 + tdf#45904 Move _XSheetAuditing Java tests to C++ Change-Id: I057447494ff488546d43d2d3068a65d5c0d402e0 Reviewed-on: https://gerrit.libreoffice.org/45120 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xsheetauditing.hxx b/include/test/sheet/xsheetauditing.hxx new file mode 100644 index ..44c1ddd5c5d5 --- /dev/null +++ b/include/test/sheet/xsheetauditing.hxx @@ -0,0 +1,38 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XSHEETAUDITING_HXX +#define INCLUDED_TEST_SHEET_XSHEETAUDITING_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XSheetAuditing +{ +public: +virtual css::uno::Reference init() = 0; + +void testShowHideDependents(); +void testShowHidePrecedents(); +void testShowErrors(); +void testShowInvalid(); +void testClearArrows(); + +protected: +~XSheetAuditing() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_XSHEETAUDITING_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 9faab8d10327..f8d6b4a5ecd8 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -611,7 +611,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XScenario \ qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced \ qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor \ -qadevOOo/tests/java/ifc/sheet/_XSheetAuditing \ qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor \ qadevOOo/tests/java/ifc/style/_CharacterProperties \ qadevOOo/tests/java/ifc/style/_CharacterPropertiesAsian \ 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 9c5a9b9fe29f..6f434c9b484c 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv @@ -142,13 +142,6 @@ "ScTableSheetObj";"com::sun::star::sheet::XCellRangesQuery";"queryColumnDifferences()" "ScTableSheetObj";"com::sun::star::sheet::XCellRangesQuery";"queryRowDifferences()" "ScTableSheetObj";"com::sun::star::sheet::XCellRangesQuery";"queryIntersection()" -"ScTableSheetObj";"com::sun::star::sheet::XSheetAuditing";"hideDependents()" -"ScTableSheetObj";"com::sun::star::sheet::XSheetAuditing";"hidePrecedents()" -"ScTableSheetObj";"com::sun::star::sheet::XSheetAuditing";"showDependents()" -"ScTableSheetObj";"com::sun::star::sheet::XSheetAuditing";"showPrecedents()" -"ScTableSheetObj";"com::sun::star::sheet::XSheetAuditing";"showErrors()" -"ScTableSheetObj";"com::sun::star::sheet::XSheetAuditing";"showInvalid()" -"ScTableSheetObj";"com::sun::star::sheet::XSheetAuditing";"clearArrows()" "ScTableSheetObj";"com::sun::star::sheet::XScenario";"getIsScenario()" "ScTableSheetObj";"com::sun::star::sheet::XScenario";"getScenarioComment()" "ScTableSheetObj";"com::sun::star::sheet::XScenario";"setScenarioComment()" diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.java b/qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.java deleted file mode 100644 index 49665104abd2.. --- a/qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.java +++ /dev/null @@ -1,195 +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 un
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xspreadsheetview.hxx | 33 qadevOOo/Jar_OOoRunner.mk|1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv |2 qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView.java | 83 --- sc/qa/extras/sctabviewobj.cxx| 14 + test/Library_subsequenttest.mk |1 test/source/sheet/xspreadsheetview.cxx | 41 + 7 files changed, 87 insertions(+), 88 deletions(-) New commits: commit 6d24213d55df33c7bb5f10d511dcfc82b745db38 Author: Jens Carl Date: Thu Oct 12 06:43:20 2017 + tdf#45904 Move _XSpreadsheetView Java tests to C++ Change-Id: I1e5346e2f014b412a2f8be08553c8eeff37920f9 Reviewed-on: https://gerrit.libreoffice.org/44840 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xspreadsheetview.hxx b/include/test/sheet/xspreadsheetview.hxx new file mode 100644 index ..144b54ac128b --- /dev/null +++ b/include/test/sheet/xspreadsheetview.hxx @@ -0,0 +1,33 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XSPREADSHEETVIEW_HXX +#define INCLUDED_TEST_SHEET_XSPREADSHEETVIEW_HXX + +#include +#include +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XSpreadsheetView +{ +public: +virtual css::uno::Reference init() = 0; + +void testGetSetActiveSheet(); + +protected: +~XSpreadsheetView() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_XSPREADSHEETVIEW_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 229bef198f03..9faab8d10327 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -613,7 +613,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor \ qadevOOo/tests/java/ifc/sheet/_XSheetAuditing \ qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor \ -qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView \ 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 6a366ee450cc..bd00af8e020d 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv @@ -61,8 +61,6 @@ "ScTabViewObj";"com::sun::star::view::XFormLayerAccess#optional";"isFormDesignMode()" "ScTabViewObj";"com::sun::star::view::XFormLayerAccess#optional";"setFormDesignMode()" "ScTabViewObj";"com::sun::star::container::XEnumerationAccess";"createEnumeration()" -"ScTabViewObj";"com::sun::star::sheet::XSpreadsheetView";"getActiveSheet()" -"ScTabViewObj";"com::sun::star::sheet::XSpreadsheetView";"setActiveSheet()" "ScTabViewObj";"com::sun::star::frame::XController";"attachFrame()" "ScTabViewObj";"com::sun::star::frame::XController";"attachModel()" "ScTabViewObj";"com::sun::star::frame::XController";"suspend()" diff --git a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView.java b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView.java deleted file mode 100644 index 947d55a0de63.. --- a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView.java +++ /dev/null @@ -1,83 +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 lib.Status; -import lib.StatusException; - -import com.sun.star.sheet.XSpreadsheet; -import com.sun.star.sheet.XSpreadsheetView; - -/** -* Testing com.sun.star.sheet.XSpreadsheetView -* interface methods : -* -* getActiveSheet() -*
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xscenariossupplier.hxx | 34 +++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |1 qadevOOo/tests/java/ifc/sheet/_XScenariosSupplier.java | 47 -- sc/qa/extras/sctablesheetobj.cxx| 11 +- test/Library_subsequenttest.mk |1 test/source/sheet/xscenariossupplier.cxx| 32 ++ 7 files changed, 75 insertions(+), 52 deletions(-) New commits: commit 9ccd22820d6b57393b59fe0f70b29dce71eade48 Author: Jens Carl Date: Wed Nov 15 07:05:22 2017 + tdf#45904 Move _XScenariosSupplier Java test to C++ Change-Id: I152f6358e505d7a480e157bd49613e0bb496e163 Reviewed-on: https://gerrit.libreoffice.org/44748 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xscenariossupplier.hxx b/include/test/sheet/xscenariossupplier.hxx new file mode 100644 index ..e4a6eea11f17 --- /dev/null +++ b/include/test/sheet/xscenariossupplier.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XSCENARIOSSUPPLIER_HXX +#define INCLUDED_TEST_SHEET_XSCENARIOSSUPPLIER_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XScenariosSupplier +{ +public: +virtual css::uno::Reference init() = 0; + +void testGetScenarios(); + +protected: +~XScenariosSupplier() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_XSCENARIOSSUPPLIER_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index f239a22e9cfd..229bef198f03 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -610,7 +610,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XRecentFunctions \ qadevOOo/tests/java/ifc/sheet/_XScenario \ qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced \ -qadevOOo/tests/java/ifc/sheet/_XScenariosSupplier \ qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor \ qadevOOo/tests/java/ifc/sheet/_XSheetAuditing \ qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor \ 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 d43bdf798988..9c5a9b9fe29f 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv @@ -42,7 +42,6 @@ "ScTableSheetObj";"com::sun::star::style::CharacterPropertiesAsian";"ParaIsForbiddenRules" "ScTableSheetObj";"com::sun::star::style::CharacterPropertiesAsian";"ParaIsHangingPunctuation" "ScTableSheetObj";"com::sun::star::sheet::XCellRangeAddressable";"getRangeAddress()" -"ScTableSheetObj";"com::sun::star::sheet::XScenariosSupplier";"getScenarios()" "ScTableSheetObj";"com::sun::star::util::XReplaceable";"createReplaceDescriptor()" "ScTableSheetObj";"com::sun::star::util::XReplaceable";"replaceAll()" "ScTableSheetObj";"com::sun::star::chart::XChartData";"addChartDataChangeEventListener()" diff --git a/qadevOOo/tests/java/ifc/sheet/_XScenariosSupplier.java b/qadevOOo/tests/java/ifc/sheet/_XScenariosSupplier.java deleted file mode 100644 index eb112c7efaa7.. --- a/qadevOOo/tests/java/ifc/sheet/_XScenariosSupplier.java +++ /dev/null @@ -1,47 +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.XScenarios; -import com.sun.star.sheet.XScenariosSupplier; - -/** -* Testing com.sun.star.sheet.XSheetAnnotationsSupplier -* interface methods : -* -* getAnnotations() -* -* @see com.sun.star.
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xsheetannotationssupplier.hxx| 34 ++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |1 qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationsSupplier.java | 49 -- sc/qa/extras/sctablesheetobj.cxx|7 + test/Library_subsequenttest.mk |1 test/source/sheet/xsheetannotationssupplier.cxx | 33 ++ 7 files changed, 74 insertions(+), 52 deletions(-) New commits: commit 1dde2e441451ba6e7d760b1e150113993c24 Author: Jens Carl Date: Wed Nov 15 05:09:23 2017 + tdf#45904 Move _XSheetAnnotationsSupplier Java test to C++ Change-Id: I18143d96f49ea4f4b80ae89df33d2963bb20e125 Reviewed-on: https://gerrit.libreoffice.org/44747 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xsheetannotationssupplier.hxx b/include/test/sheet/xsheetannotationssupplier.hxx new file mode 100644 index ..cc9e008ec6ae --- /dev/null +++ b/include/test/sheet/xsheetannotationssupplier.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XSHEETANNOTATIONSSUPPLIER_HXX +#define INCLUDED_TEST_SHEET_XSHEETANNOTATIONSSUPPLIER_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XSheetAnnotationsSupplier +{ +public: +virtual css::uno::Reference init() = 0; + +void testGetAnnotations(); + +protected: +~XSheetAnnotationsSupplier() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_XSHEETANNOTATIONSSUPPLIER_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 24db4d9f20a8..f239a22e9cfd 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -612,7 +612,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced \ qadevOOo/tests/java/ifc/sheet/_XScenariosSupplier \ qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor \ -qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationsSupplier \ qadevOOo/tests/java/ifc/sheet/_XSheetAuditing \ qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor \ qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView \ 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 4fbb1a5f92da..d43bdf798988 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv @@ -135,7 +135,6 @@ "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::sheet::XSheetAnnotationsSupplier";"getAnnotations()" "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/_XSheetAnnotationsSupplier.java b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationsSupplier.java deleted file mode 100644 index 389ae138b6e3.. --- a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationsSupplier.java +++ /dev/null @@ -1,49 +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.XSheetAnnotations; -import com.sun.star.sheet.XSheetAnnotationsSupplier; - -/** -* Testing com.sun.star.sheet.XSheetAnnotationsSupplier -* inter
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xsheetfilterableex.hxx | 36 qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |1 qadevOOo/tests/java/ifc/sheet/_XSheetFilterableEx.java | 90 -- sc/qa/extras/sccellcursorobj.cxx| 26 +- sc/qa/extras/sccellrangeobj.cxx |8 sc/qa/extras/sctablesheetobj.cxx| 19 +- test/Library_subsequenttest.mk |1 test/source/sheet/xsheetfilterableex.cxx| 61 ++ test/source/sheet/xsubtotalcalculatable.cxx |2 12 files changed, 134 insertions(+), 113 deletions(-) New commits: commit f1c97e9ff63cb6f120e618b3202260e0f8aefa0e Author: Jens Carl Date: Wed Nov 8 21:15:09 2017 + tdf#45904 Move Java _XSheetFilterableEx tests to C++ Convert the Java _XSheetFilterableEx tests to C++ and make changes to the XSubTotalCalculatabletestApplyRemoveSubTotals(), because XSheetFilterableEx::testCreateFilterDescriptorByObject() has to work with the same sheet. Change-Id: I89c11bc8f10ec8d2ff4b170aeb9df5a00ca98133 Reviewed-on: https://gerrit.libreoffice.org/44512 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xsheetfilterableex.hxx b/include/test/sheet/xsheetfilterableex.hxx new file mode 100644 index ..959008386b81 --- /dev/null +++ b/include/test/sheet/xsheetfilterableex.hxx @@ -0,0 +1,36 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XSHEETFILTERABLEEX_HXX +#define INCLUDED_TEST_SHEET_XSHEETFILTERABLEEX_HXX + +#include +#include + +#include + +namespace apitest +{ + +class OOO_DLLPUBLIC_TEST XSheetFilterableEx +{ +public: +virtual css::uno::Reference init() = 0; +virtual css::uno::Reference getXSpreadsheet() = 0; + +void testCreateFilterDescriptorByObject(); + +protected: +~XSheetFilterableEx() {} +}; +} + +#endif // INCLUDED_TEST_SHEET_XSHEETFILTERABLEEX_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 7faba4235a32..8418c1e65c41 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -618,7 +618,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationsSupplier \ qadevOOo/tests/java/ifc/sheet/_XSheetAuditing \ qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor \ -qadevOOo/tests/java/ifc/sheet/_XSheetFilterableEx \ 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.ScCellCursorObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv index 4e672f8418af..0e5e6448c72b 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv @@ -117,7 +117,6 @@ "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesComplex";"CharLocaleComplex" "ScCellCursorObj";"com::sun::star::sheet::XFormulaQuery";"queryDependents()" "ScCellCursorObj";"com::sun::star::sheet::XFormulaQuery";"queryPrecedents()" -"ScCellCursorObj";"com::sun::star::sheet::XSheetFilterableEx";"createFilterDescriptorByObject()" "ScCellCursorObj";"com::sun::star::sheet::XArrayFormulaRange";"getArrayFormula()" "ScCellCursorObj";"com::sun::star::sheet::XArrayFormulaRange";"setArrayFormula()" "ScCellCursorObj";"com::sun::star::sheet::XCellRangeFormula#optional";"getFormulaArray()" diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv index cd2e335c7834..95186af1d9a2 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv @@ -112,7 +112,6 @@ "ScCellRangeObj";"com::sun::star::style::CharacterPropertiesComplex";"CharLocaleComplex" "ScCellRangeObj";"com::sun::star::sheet::XFormulaQuery";"queryDependents()" "ScCellRangeObj";"com::sun::star::sheet::XFormulaQuery";"queryPrecedents()" -"ScCellRangeObj";"com::sun::star::sheet::XSheetFilterableEx";"createFilterDescriptorByObjec
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xsheetcellrangecontainer.hxx | 40 ++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangesObj.csv |4 qadevOOo/tests/java/ifc/sheet/_XSheetCellRangeContainer.java| 198 -- sc/qa/extras/sccellrangesobj.cxx| 10 test/Library_subsequenttest.mk |1 test/source/sheet/xsheetcellrangecontainer.cxx | 121 ++ 7 files changed, 170 insertions(+), 205 deletions(-) New commits: commit 6f29841acb201b118bbf5815163fb50d83929e9f Author: Jens Carl Date: Fri Nov 3 07:15:10 2017 + tdf#45904 Move Java _XSheetCellRangeContainer test to C++ Change-Id: I463fc54aa4139fbc43b6124765bf18ad8c0e6ddc Reviewed-on: https://gerrit.libreoffice.org/44247 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xsheetcellrangecontainer.hxx b/include/test/sheet/xsheetcellrangecontainer.hxx new file mode 100644 index ..f0b0c7355420 --- /dev/null +++ b/include/test/sheet/xsheetcellrangecontainer.hxx @@ -0,0 +1,40 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XSHEETCELLRANGECONTAINER_HXX +#define INCLUDED_TEST_SHEET_XSHEETCELLRANGECONTAINER_HXX + +#include + +#include +#include +#include + +#include + +namespace apitest { + +class OOO_DLLPUBLIC_TEST XSheetCellRangeContainer +{ +public: +virtual css::uno::Reference< css::uno::XInterface > init() =0; + +void testAddRemoveRangeAddress(); +void testAddRemoveRangeAddresses(); + +protected: +~XSheetCellRangeContainer() {} +css::uno::Sequence< com::sun::star::table::CellRangeAddress > createCellRangeAddresses(); +}; + +} + +#endif // INCLUDED_TEST_SHEET_XSHEETCELLRANGECONTAINER_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 16ebecb84344..7faba4235a32 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -618,7 +618,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationsSupplier \ qadevOOo/tests/java/ifc/sheet/_XSheetAuditing \ qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor \ -qadevOOo/tests/java/ifc/sheet/_XSheetCellRangeContainer \ qadevOOo/tests/java/ifc/sheet/_XSheetFilterableEx \ qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView \ qadevOOo/tests/java/ifc/style/_CharacterProperties \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangesObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangesObj.csv index a17fa72c561f..bedb81212c36 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangesObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangesObj.csv @@ -113,10 +113,6 @@ "ScCellRangesObj";"com::sun::star::style::CharacterPropertiesComplex";"CharFontPitchComplex" "ScCellRangesObj";"com::sun::star::style::CharacterPropertiesComplex";"CharPostureComplex" "ScCellRangesObj";"com::sun::star::style::CharacterPropertiesComplex";"CharLocaleComplex" -"ScCellRangesObj";"com::sun::star::sheet::XSheetCellRangeContainer";"addRangeAddress()" -"ScCellRangesObj";"com::sun::star::sheet::XSheetCellRangeContainer";"removeRangeAddress()" -"ScCellRangesObj";"com::sun::star::sheet::XSheetCellRangeContainer";"addRangeAddresses()" -"ScCellRangesObj";"com::sun::star::sheet::XSheetCellRangeContainer";"removeRangeAddresses()" "ScCellRangesObj";"com::sun::star::sheet::XFormulaQuery";"queryDependents()" "ScCellRangesObj";"com::sun::star::sheet::XFormulaQuery";"queryPrecedents()" "ScCellRangesObj";"com::sun::star::sheet::SheetCellRanges";"ConditionalFormat" diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetCellRangeContainer.java b/qadevOOo/tests/java/ifc/sheet/_XSheetCellRangeContainer.java deleted file mode 100644 index ee5fbcc68467.. --- a/qadevOOo/tests/java/ifc/sheet/_XSheetCellRangeContainer.java +++ /dev/null @@ -1,198 +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 un
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xsheetcellrange.hxx | 36 +++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |1 qadevOOo/tests/java/ifc/sheet/_XSheetCellRange.java | 48 -- sc/qa/extras/sccellcursorobj.cxx|7 + sc/qa/extras/sccellrangeobj.cxx |7 + sc/qa/extras/sctablesheetobj.cxx|7 + test/Library_subsequenttest.mk |1 test/source/sheet/xsheetcellrange.cxx | 34 +++ 11 files changed, 89 insertions(+), 55 deletions(-) New commits: commit c3965b1ce4428a97a8050a7bc53d60b642062502 Author: Jens Carl Date: Fri Nov 3 05:16:30 2017 + tdf#45904 Move Java _XSheetCellRange tests to C++ Change-Id: Ia4534f083a804d450ac8fdd31759f1554b684e15 Reviewed-on: https://gerrit.libreoffice.org/44245 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xsheetcellrange.hxx b/include/test/sheet/xsheetcellrange.hxx new file mode 100644 index ..80fd064b7832 --- /dev/null +++ b/include/test/sheet/xsheetcellrange.hxx @@ -0,0 +1,36 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XSHEETCELLRANGE_HXX +#define INCLUDED_TEST_SHEET_XSHEETCELLRANGE_HXX + + +#include +#include + +#include + +namespace apitest { + +class OOO_DLLPUBLIC_TEST XSheetCellRange +{ +public: +virtual css::uno::Reference< css::uno::XInterface > init() =0; + +void testGetSpreadsheet(); + +protected: +~XSheetCellRange() {} +}; + +} + +#endif // INCLUDED_TEST_SHEET_XSHEETCELLRANGE_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 94b198cf34d2..16ebecb84344 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -618,7 +618,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationsSupplier \ qadevOOo/tests/java/ifc/sheet/_XSheetAuditing \ qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor \ -qadevOOo/tests/java/ifc/sheet/_XSheetCellRange \ qadevOOo/tests/java/ifc/sheet/_XSheetCellRangeContainer \ qadevOOo/tests/java/ifc/sheet/_XSheetFilterableEx \ qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv index 3b19776b3b04..4e672f8418af 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv @@ -126,7 +126,6 @@ "ScCellCursorObj";"com::sun::star::util::XIndent";"incrementIndent()" "ScCellCursorObj";"com::sun::star::sheet::XMultipleOperation";"setTableOperation()" "ScCellCursorObj";"com::sun::star::table::XAutoFormattable";"autoFormat()" -"ScCellCursorObj";"com::sun::star::sheet::XSheetCellRange";"getSpreadsheet()" "ScCellCursorObj";"com::sun::star::sheet::XCellRangesQuery";"queryVisibleCells()" "ScCellCursorObj";"com::sun::star::sheet::XCellRangesQuery";"queryEmptyCells()" "ScCellCursorObj";"com::sun::star::sheet::XCellRangesQuery";"queryContentCells()" diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv index 9f539f5bbf10..cd2e335c7834 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv @@ -121,7 +121,6 @@ "ScCellRangeObj";"com::sun::star::util::XIndent";"incrementIndent()" "ScCellRangeObj";"com::sun::star::sheet::XMultipleOperation";"setTableOperation()" "ScCellRangeObj";"com::sun::star::table::XAutoFormattable";"autoFormat()" -"ScCellRangeObj";"com::sun::star::sheet::XSheetCellRange";"getSpreadsheet()" "ScCellRangeObj";"com::sun::star::sheet::XCellRangesQuery";"queryVisibleCells()" "ScCellRangeObj";"com::sun::star::sheet::XCellRangesQuery";"queryEmptyCells()" "ScCellRangeObj";"com::sun::star::sheet::XCellRangesQuery";"queryContentCells()" 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 b3ea64aca54d..1fd3970c58dd 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv +++ b/qadevOOo/objdsc/sc/co
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xsheetcellranges.hxx | 38 qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangesObj.csv |3 qadevOOo/tests/java/ifc/sheet/_XSheetCellRanges.java| 80 -- sc/qa/extras/sccellrangesobj.cxx| 21 ++ test/Library_subsequenttest.mk |1 test/source/sheet/xsheetcellranges.cxx | 52 ++ 7 files changed, 108 insertions(+), 88 deletions(-) New commits: commit bda85f9563b03bb36c7d72dc1178661b3bf23df0 Author: Jens Carl Date: Thu Nov 2 08:14:14 2017 + tdf#45904 Move Java _XSheetCellRanges tests to C++ Change-Id: I6f6dcbc5368ce034c25553edf8b88c6669074243 Reviewed-on: https://gerrit.libreoffice.org/44194 Tested-by: Jenkins Reviewed-by: Jens Carl diff --git a/include/test/sheet/xsheetcellranges.hxx b/include/test/sheet/xsheetcellranges.hxx new file mode 100644 index ..18275195df01 --- /dev/null +++ b/include/test/sheet/xsheetcellranges.hxx @@ -0,0 +1,38 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XSHEETCELLRANGES_HXX +#define INCLUDED_TEST_SHEET_XSHEETCELLRANGES_HXX + + +#include +#include + +#include + +namespace apitest { + +class OOO_DLLPUBLIC_TEST XSheetCellRanges +{ +public: +virtual css::uno::Reference< css::uno::XInterface > init() =0; + +void testGetCells(); +void testGetRangeAddresses(); +void testGetRangeAddressesAsString(); + +protected: +~XSheetCellRanges() {} +}; + +} + +#endif // INCLUDED_TEST_SHEET_XSHEETCELLRANGES_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index aa1ca80f0733..94b198cf34d2 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -620,7 +620,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor \ qadevOOo/tests/java/ifc/sheet/_XSheetCellRange \ qadevOOo/tests/java/ifc/sheet/_XSheetCellRangeContainer \ -qadevOOo/tests/java/ifc/sheet/_XSheetCellRanges \ qadevOOo/tests/java/ifc/sheet/_XSheetFilterableEx \ qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView \ qadevOOo/tests/java/ifc/style/_CharacterProperties \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangesObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangesObj.csv index 927dfc3ce333..a17fa72c561f 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangesObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangesObj.csv @@ -45,9 +45,6 @@ "ScCellRangesObj";"com::sun::star::style::CharacterPropertiesAsian";"ParaIsHangingPunctuation" "ScCellRangesObj";"com::sun::star::container::XIndexAccess";"getCount()" "ScCellRangesObj";"com::sun::star::container::XIndexAccess";"getByIndex()" -"ScCellRangesObj";"com::sun::star::sheet::XSheetCellRanges";"getCells()" -"ScCellRangesObj";"com::sun::star::sheet::XSheetCellRanges";"getRangeAddressesAsString()" -"ScCellRangesObj";"com::sun::star::sheet::XSheetCellRanges";"getRangeAddresses()" "ScCellRangesObj";"com::sun::star::util::XReplaceable";"createReplaceDescriptor()" "ScCellRangesObj";"com::sun::star::util::XReplaceable";"replaceAll()" "ScCellRangesObj";"com::sun::star::chart::XChartData";"addChartDataChangeEventListener()" diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetCellRanges.java b/qadevOOo/tests/java/ifc/sheet/_XSheetCellRanges.java deleted file mode 100644 index c5db09ece2ee.. --- a/qadevOOo/tests/java/ifc/sheet/_XSheetCellRanges.java +++ /dev/null @@ -1,80 +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.container.XEnumeration; -import com
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xsheetfilterable.hxx | 38 ++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv |2 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv |2 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |2 qadevOOo/tests/java/ifc/sheet/_XSheetFilterable.java| 127 -- sc/qa/extras/sccellcursorobj.cxx|8 sc/qa/extras/sccellrangeobj.cxx | 32 ++ sc/qa/extras/sctablesheetobj.cxx|8 test/Library_subsequenttest.mk |1 test/source/sheet/xsheetfilterable.cxx | 88 ++ 11 files changed, 168 insertions(+), 141 deletions(-) New commits: commit bbfec269bda9906eae66b207987d53bbea969eec Author: Jens Carl Date: Sun Oct 29 06:24:22 2017 + tdf#45904: Move Java _XSheetFilterable test to C++ Change-Id: Ib94aeb98c9c659118800b2dcc327c44a77d5fcc6 Reviewed-on: https://gerrit.libreoffice.org/44019 Reviewed-by: Markus Mohrhard Tested-by: Markus Mohrhard diff --git a/include/test/sheet/xsheetfilterable.hxx b/include/test/sheet/xsheetfilterable.hxx new file mode 100644 index ..a46b10b078f3 --- /dev/null +++ b/include/test/sheet/xsheetfilterable.hxx @@ -0,0 +1,38 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XSHEETFILTERABLE_HXX +#define INCLUDED_TEST_SHEET_XSHEETFILTERABLE_HXX + + +#include +#include + +#include + +namespace apitest { + +class OOO_DLLPUBLIC_TEST XSheetFilterable +{ +public: +virtual css::uno::Reference< css::uno::XInterface > init() =0; +virtual css::uno::Reference< css::uno::XInterface > getXSpreadsheet() =0; + +void testCreateFilterDescriptor(); +void testFilter(); + +protected: +~XSheetFilterable() {} +}; + +} + +#endif // INCLUDED_TEST_SHEET_XSHEETFILTERABLE_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 796fc0805945..570a69d29e79 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -624,7 +624,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XSheetCondition \ qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntries \ qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntry \ -qadevOOo/tests/java/ifc/sheet/_XSheetFilterable \ qadevOOo/tests/java/ifc/sheet/_XSheetFilterableEx \ qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView \ qadevOOo/tests/java/ifc/style/_CharacterProperties \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv index b58f89f320a8..3b19776b3b04 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv @@ -29,8 +29,6 @@ "ScCellCursorObj";"com::sun::star::util::XSearchable";"findNext()" "ScCellCursorObj";"com::sun::star::table::XColumnRowRange";"getColumns()" "ScCellCursorObj";"com::sun::star::table::XColumnRowRange";"getRows()" -"ScCellCursorObj";"com::sun::star::sheet::XSheetFilterable";"createFilterDescriptor()" -"ScCellCursorObj";"com::sun::star::sheet::XSheetFilterable";"filter()" "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesAsian";"CharHeightAsian" "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesAsian";"CharWeightAsian" "ScCellCursorObj";"com::sun::star::style::CharacterPropertiesAsian";"CharFontNameAsian" diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv index a44495862bf6..9f539f5bbf10 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv @@ -29,8 +29,6 @@ "ScCellRangeObj";"com::sun::star::util::XSearchable";"findNext()" "ScCellRangeObj";"com::sun::star::table::XColumnRowRange";"getColumns()" "ScCellRangeObj";"com::sun::star::table::XColumnRowRange";"getRows()" -"ScCellRangeObj";"com::sun::star::sheet::XSheetFilterable";"createFilterDescriptor()" -"ScCellRangeObj";"com::sun::star::sheet::XSheetFilterable";"filter()" "ScCellRangeObj";"com::sun::star::style::CharacterPropertiesAsian";"CharHeightAsian" "ScCellRangeObj";"com::sun::star::style::CharacterPropertiesAsian";"CharWeightAsian" "ScCellRangeObj";"com::sun::star::style::CharacterPropertiesAsian";"CharFontNameA
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xsheetlinkable.hxx | 40 +++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |7 qadevOOo/tests/java/ifc/sheet/_XSheetLinkable.java | 104 -- sc/qa/extras/sctablesheetobj.cxx| 47 ++-- test/Library_subsequenttest.mk |1 test/source/sheet/xsheetlinkable.cxx| 50 7 files changed, 121 insertions(+), 129 deletions(-) New commits: commit 4200896e36f259a60b3d3288e13ff08d2fda861c Author: Jens Carl Date: Fri Oct 20 03:27:37 2017 + tdf#45904: Move Java _XSheetLinkable tests to C++ Change-Id: I0f99c3b4a74748d7f1c73ef584170ae84b08cd9a Reviewed-on: https://gerrit.libreoffice.org/43582 Reviewed-by: Markus Mohrhard Tested-by: Markus Mohrhard diff --git a/include/test/sheet/xsheetlinkable.hxx b/include/test/sheet/xsheetlinkable.hxx new file mode 100644 index ..2abd87335799 --- /dev/null +++ b/include/test/sheet/xsheetlinkable.hxx @@ -0,0 +1,40 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XSHEETLINKABLE_HXX +#define INCLUDED_TEST_SHEET_XSHEETLINKABLE_HXX + + +#include +#include + +#include + +namespace apitest { + +class OOO_DLLPUBLIC_TEST XSheetLinkable +{ +public: +virtual css::uno::Reference< css::uno::XInterface > init() =0; +virtual OUString getFileURL() =0; + +void testSheetLinkable(); + +protected: +~XSheetLinkable() {} + +private: +OUString maFileName; +}; + +} + +#endif // INCLUDED_TEST_SHEET_XSHEETLINKABLE_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index a6ebf3502b72..42108bb54891 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -627,7 +627,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XSheetFilterable \ qadevOOo/tests/java/ifc/sheet/_XSheetFilterableEx \ qadevOOo/tests/java/ifc/sheet/_XSheetFilterDescriptor \ -qadevOOo/tests/java/ifc/sheet/_XSheetLinkable \ 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.ScTableSheetObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv index 16ddec448d96..89344e1ff08a 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv @@ -172,13 +172,6 @@ "ScTableSheetObj";"com::sun::star::beans::XTolerantMultiPropertySet#optional";"setPropertyValuesTolerant()" "ScTableSheetObj";"com::sun::star::beans::XTolerantMultiPropertySet#optional";"getPropertyValuesTolerant()" "ScTableSheetObj";"com::sun::star::beans::XTolerantMultiPropertySet#optional";"getDirectPropertyValuesTolerant()" -"ScTableSheetObj";"com::sun::star::sheet::XSheetLinkable";"getLinkMode()" -"ScTableSheetObj";"com::sun::star::sheet::XSheetLinkable";"setLinkMode()" -"ScTableSheetObj";"com::sun::star::sheet::XSheetLinkable";"getLinkUrl()" -"ScTableSheetObj";"com::sun::star::sheet::XSheetLinkable";"setLinkUrl()" -"ScTableSheetObj";"com::sun::star::sheet::XSheetLinkable";"getLinkSheetName()" -"ScTableSheetObj";"com::sun::star::sheet::XSheetLinkable";"setLinkSheetName()" -"ScTableSheetObj";"com::sun::star::sheet::XSheetLinkable";"link()" "ScTableSheetObj";"com::sun::star::container::XNamed";"getName()" "ScTableSheetObj";"com::sun::star::container::XNamed";"setName()" "ScTableSheetObj";"com::sun::star::sheet::XCellRangeMovement";"insertCells()" diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetLinkable.java b/qadevOOo/tests/java/ifc/sheet/_XSheetLinkable.java deleted file mode 100644 index 8494525b40d5.. --- a/qadevOOo/tests/java/ifc/sheet/_XSheetLinkable.java +++ /dev/null @@ -1,104 +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 un
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xsheetpagebreak.hxx | 36 qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |3 qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak.java | 84 -- sc/qa/extras/sctablesheetobj.cxx| 25 +- test/Library_subsequenttest.mk |1 test/source/sheet/xsheetpagebreak.cxx | 70 7 files changed, 123 insertions(+), 97 deletions(-) New commits: commit d56be38352031695951558bf1dffd0a48c84eaca Author: Jens Carl Date: Sun Oct 15 03:10:47 2017 + tdf#45904: Move Java _XSheetPageBreak tests to C++ Change-Id: I29111c3495fc9767d1b2c7bab38af5f89b7840f9 Reviewed-on: https://gerrit.libreoffice.org/43399 Reviewed-by: Markus Mohrhard Tested-by: Markus Mohrhard diff --git a/include/test/sheet/xsheetpagebreak.hxx b/include/test/sheet/xsheetpagebreak.hxx new file mode 100644 index ..3ae64b650a4f --- /dev/null +++ b/include/test/sheet/xsheetpagebreak.hxx @@ -0,0 +1,36 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XSHEETPAGEBREAK_HXX +#define INCLUDED_TEST_SHEET_XSHEETPAGEBREAK_HXX + +#include +#include +#include + +namespace apitest { + +class OOO_DLLPUBLIC_TEST XSheetPageBreak +{ +public: +virtual css::uno::Reference< css::uno::XInterface > init() = 0; + +void testGetColumnPageBreaks(); +void testGetRowPageBreaks(); +void testRemoveAllManualPageBreaks(); + +protected: +~XSheetPageBreak() {} +}; + +} + +#endif // INCLUDED_TEST_SHEET_XSHEETPAGEBREAK_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 5f74bc7f8818..93e01587192f 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -629,7 +629,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XSheetFilterDescriptor \ qadevOOo/tests/java/ifc/sheet/_XSheetLinkable \ qadevOOo/tests/java/ifc/sheet/_XSheetOperation \ -qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak \ 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.ScTableSheetObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv index 4d0cd3fadbfc..8f7c54adaa3d 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv @@ -263,6 +263,3 @@ "ScTableSheetObj";"com::sun::star::util::XImportable";"doImport()" "ScTableSheetObj";"com::sun::star::util::XSortable";"createSortDescriptor()" "ScTableSheetObj";"com::sun::star::util::XSortable";"sort()" -"ScTableSheetObj";"com::sun::star::sheet::XSheetPageBreak";"getColumnPageBreaks()" -"ScTableSheetObj";"com::sun::star::sheet::XSheetPageBreak";"getRowPageBreaks()" -"ScTableSheetObj";"com::sun::star::sheet::XSheetPageBreak";"removeAllManualPageBreaks()" diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak.java b/qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak.java deleted file mode 100644 index ced779316ea7.. --- a/qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak.java +++ /dev/null @@ -1,84 +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.TablePageBreakData; -import com.sun.star.sheet.XSheetPageBreak; - -/** -* Testing com.sun.star.sheet.XSheetPageBreak -* interface methods : -* -* getColumnPageBreaks() -* getRowPageBreaks() -* removeAllManualPageBreaks() -* -* @see com.sun.star.sheet.XSheetPageBreak -*/ -public class
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xspreadsheet.hxx | 38 qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |2 qadevOOo/tests/java/ifc/sheet/_XSpreadsheet.java| 80 -- sc/qa/extras/sctablesheetobj.cxx| 20 +- test/Library_subsequenttest.mk |1 test/source/sheet/xspreadsheet.cxx | 44 + 7 files changed, 97 insertions(+), 89 deletions(-) New commits: commit 410515366c466c1f8b0a81d47f8263d278af3a18 Author: Jens Carl Date: Thu Oct 12 08:31:48 2017 + tdf#45904 Move Java _XSpreadsheet tests to C++ Change-Id: Idb398c87c89aa9b5613b9952bffde5929c1bc76b Reviewed-on: https://gerrit.libreoffice.org/43398 Reviewed-by: Markus Mohrhard Tested-by: Markus Mohrhard diff --git a/include/test/sheet/xspreadsheet.hxx b/include/test/sheet/xspreadsheet.hxx new file mode 100644 index ..300d3670e1b5 --- /dev/null +++ b/include/test/sheet/xspreadsheet.hxx @@ -0,0 +1,38 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XSPREADSHEET_HXX +#define INCLUDED_TEST_SHEET_XSPREADSHEET_HXX + +#include +#include +#include + +using namespace css; +using namespace css::uno; + +namespace apitest { + +class OOO_DLLPUBLIC_TEST XSpreadsheet +{ +public: +virtual uno::Reference< uno::XInterface > init() = 0; + +void testCreateCursor(); +void testCreateCursorByRange(); + +protected: +~XSpreadsheet(){} +}; + +} + +#endif // INCLUDED_TEST_SHEET_XSPREADSHEET_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 4aa239d98ce0..5f74bc7f8818 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -630,7 +630,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XSheetLinkable \ qadevOOo/tests/java/ifc/sheet/_XSheetOperation \ qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak \ -qadevOOo/tests/java/ifc/sheet/_XSpreadsheet \ 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.ScTableSheetObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv index db2a2b9225bc..4d0cd3fadbfc 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv @@ -129,8 +129,6 @@ "ScTableSheetObj";"com::sun::star::sheet::XFormulaQuery";"queryDependents()" "ScTableSheetObj";"com::sun::star::sheet::XFormulaQuery";"queryPrecedents()" "ScTableSheetObj";"com::sun::star::sheet::XSheetFilterableEx";"createFilterDescriptorByObject()" -"ScTableSheetObj";"com::sun::star::sheet::XSpreadsheet";"createCursor()" -"ScTableSheetObj";"com::sun::star::sheet::XSpreadsheet";"createCursorByRange()" "ScTableSheetObj";"com::sun::star::sheet::XArrayFormulaRange";"getArrayFormula()" "ScTableSheetObj";"com::sun::star::sheet::XArrayFormulaRange";"setArrayFormula()" "ScTableSheetObj";"com::sun::star::sheet::XCellRangeFormula#optional";"getFormulaArray()" diff --git a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheet.java b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheet.java deleted file mode 100644 index bbee1ec6432a.. --- a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheet.java +++ /dev/null @@ -1,80 +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.XSheetCellCursor; -import com.sun.star.sheet.XSheetCellRange; -import com.sun.star.sheet.XSpreadsheet; -import com.sun.star.table.XCellRange; -i
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xsubtotalcalculatable.hxx| 39 +++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv |3 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv |3 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |3 qadevOOo/tests/java/ifc/sheet/_XSubTotalCalculatable.java | 117 -- sc/qa/extras/sccellcursorobj.cxx| 11 sc/qa/extras/sccellrangeobj.cxx | 26 ++ sc/qa/extras/sctablesheetobj.cxx| 28 ++ test/Library_subsequenttest.mk |1 test/source/sheet/xsubtotalcalculatable.cxx | 74 ++ 11 files changed, 173 insertions(+), 133 deletions(-) New commits: commit 80003831041fcd718d2dddc9b6409ff50b48facf Author: Jens Carl Date: Thu Sep 14 07:10:41 2017 + tdf#45904 Move _XSubTotalCalculatable Java tests to C++ Change-Id: I18199a9cc79e6a109c8de0026b37a67f85cf778a Reviewed-on: https://gerrit.libreoffice.org/42265 Reviewed-by: Markus Mohrhard Tested-by: Markus Mohrhard diff --git a/include/test/sheet/xsubtotalcalculatable.hxx b/include/test/sheet/xsubtotalcalculatable.hxx new file mode 100644 index ..d083a85fc395 --- /dev/null +++ b/include/test/sheet/xsubtotalcalculatable.hxx @@ -0,0 +1,39 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XSUBTOTALCALCULATABLE_HXX +#define INCLUDED_TEST_SHEET_XSUBTOTALCALCULATABLE_HXX + +#include +#include +#include +#include + +using namespace css; +using namespace css::uno; + +namespace apitest { + +class OOO_DLLPUBLIC_TEST XSubTotalCalculatable +{ +public: +virtual uno::Reference< css::uno::XInterface > init() = 0; +virtual uno::Reference< css::uno::XInterface > getXSpreadsheet() = 0; + +void testCreateSubTotalDescriptor(); +void testApplyRemoveSubTotals(); + +protected: +~XSubTotalCalculatable() {} +}; + +} +#endif // INCLUDED_TEST_SHEET_XSUBTOTALCALCULATABLE_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 14c2ee32d281..4aa239d98ce0 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -632,7 +632,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak \ qadevOOo/tests/java/ifc/sheet/_XSpreadsheet \ qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView \ -qadevOOo/tests/java/ifc/sheet/_XSubTotalCalculatable \ 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.ScCellCursorObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv index 3ce35d7a5460..1ed7325b2fca 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv @@ -141,9 +141,6 @@ "ScCellCursorObj";"com::sun::star::table::XCellRange";"getCellByPosition()" "ScCellCursorObj";"com::sun::star::table::XCellRange";"getCellRangeByPosition()" "ScCellCursorObj";"com::sun::star::table::XCellRange";"getCellRangeByName()" -"ScCellCursorObj";"com::sun::star::sheet::XSubTotalCalculatable";"createSubTotalDescriptor()" -"ScCellCursorObj";"com::sun::star::sheet::XSubTotalCalculatable";"applySubTotals()" -"ScCellCursorObj";"com::sun::star::sheet::XSubTotalCalculatable";"removeSubTotals()" "ScCellCursorObj";"com::sun::star::sheet::SheetCellRange";"Position" "ScCellCursorObj";"com::sun::star::sheet::SheetCellRange";"Size" "ScCellCursorObj";"com::sun::star::sheet::SheetCellRange";"ConditionalFormat" diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv index 396876793189..71f5f2647995 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv @@ -136,9 +136,6 @@ "ScCellRangeObj";"com::sun::star::table::XCellRange";"getCellByPosition()" "ScCellRangeObj";"com::sun::star::table::XCellRange";"getCellRangeByPosition()" "ScCellRangeObj";"com::sun::star::table::XCellRange";"getCellRangeByName()" -"ScCellRangeObj";"com::sun::star::sheet::XSubTotalCalculatable";"createSubTotalDescriptor()" -"ScCellRangeObj";"com::sun::star::sheet::XS
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/cellarealink.hxx | 38 +++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAreaLinkObj.csv |5 qadevOOo/tests/java/ifc/sheet/_CellAreaLink.java | 39 --- sc/qa/extras/scarealinkobj.cxx| 13 - test/Library_subsequenttest.mk|1 test/source/sheet/cellarealink.cxx| 112 ++ 7 files changed, 162 insertions(+), 47 deletions(-) New commits: commit 90be3ac951c6387f1fc9110119655b23b832 Author: Jens Carl Date: Thu Aug 24 00:15:39 2017 + tdf#45904 Move _CellAreaLink Java tests to C++ Change-Id: I82dac69dfed136eaf96771bf1ef2b8dfbf4e05aa Reviewed-on: https://gerrit.libreoffice.org/41488 Tested-by: Jenkins Reviewed-by: Markus Mohrhard diff --git a/include/test/sheet/cellarealink.hxx b/include/test/sheet/cellarealink.hxx new file mode 100644 index ..a5f63747d316 --- /dev/null +++ b/include/test/sheet/cellarealink.hxx @@ -0,0 +1,38 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_CELLAREALINK_HXX +#define INCLUDED_TEST_SHEET_CELLAREALINK_HXX + +#include +#include +#include + +namespace apitest { + +class OOO_DLLPUBLIC_TEST CellAreaLink +{ +public: +virtual css::uno::Reference< css::uno::XInterface > init() = 0; + +void testUrl(); +void testFilter(); +void testFilterOptions(); +void testRefreshDelay(); +void testRefreshPeriod(); + +protected: +~CellAreaLink() {} +}; + +} + +#endif // INCLUDED_TEST_SHEET_CELLAREALINK_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index c09c9134c895..833e32163ac4 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -563,7 +563,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryAnalyzer \ qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryComposer \ qadevOOo/tests/java/ifc/sdb/_XSQLErrorBroadcaster \ -qadevOOo/tests/java/ifc/sheet/_CellAreaLink \ qadevOOo/tests/java/ifc/sheet/_DatabaseImportDescriptor \ qadevOOo/tests/java/ifc/sheet/_DatabaseRange \ qadevOOo/tests/java/ifc/sheet/_DataPilotItem \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAreaLinkObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAreaLinkObj.csv index a16e668d5547..258ab7268840 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAreaLinkObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAreaLinkObj.csv @@ -1,8 +1,3 @@ -"ScAreaLinkObj";"com::sun::star::sheet::CellAreaLink";"Url" -"ScAreaLinkObj";"com::sun::star::sheet::CellAreaLink";"Filter" -"ScAreaLinkObj";"com::sun::star::sheet::CellAreaLink";"FilterOptions" -"ScAreaLinkObj";"com::sun::star::sheet::CellAreaLink";"RefreshDelay" -"ScAreaLinkObj";"com::sun::star::sheet::CellAreaLink";"RefreshPeriod#optional" "ScAreaLinkObj";"com::sun::star::util::XRefreshable";"refresh()" "ScAreaLinkObj";"com::sun::star::util::XRefreshable";"addRefreshListener()" "ScAreaLinkObj";"com::sun::star::util::XRefreshable";"removeRefreshListener()" diff --git a/qadevOOo/tests/java/ifc/sheet/_CellAreaLink.java b/qadevOOo/tests/java/ifc/sheet/_CellAreaLink.java deleted file mode 100644 index cf612afb4327.. --- a/qadevOOo/tests/java/ifc/sheet/_CellAreaLink.java +++ /dev/null @@ -1,39 +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 com.sun.star.sheet.CellAreaLink -* service properties : -* -* Url -* Filter -* FilterOptions -* RefreshDelay -* -* Properties testing is automated by lib.MultiPropertyTest. -* @see
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xuniquecellformatrangessupplier.hxx | 34 qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetObj.csv |1 qadevOOo/tests/java/ifc/sheet/_XUniqueCellFormatRangesSupplier.java | 74 -- sc/qa/extras/sccellcursorobj.cxx|8 - sc/qa/extras/sccellrangeobj.cxx | 30 +++- sc/qa/extras/sctablesheetobj.cxx| 19 ++ test/Library_subsequenttest.mk |1 test/source/sheet/xuniquecellformatrangessupplier.cxx | 37 + 11 files changed, 117 insertions(+), 90 deletions(-) New commits: commit 4818ee60172b2c7d5d04e57499e345e1cfd7b430 Author: Jens Carl Date: Wed Aug 23 07:35:01 2017 + tdf#45904 Move Java _XUniqueCellFormatRangesSupplier test to C++ Change-Id: I66c62f1676515437197d1875600407408040ca74 Reviewed-on: https://gerrit.libreoffice.org/41445 Tested-by: Jenkins Reviewed-by: Markus Mohrhard diff --git a/include/test/sheet/xuniquecellformatrangessupplier.hxx b/include/test/sheet/xuniquecellformatrangessupplier.hxx new file mode 100644 index ..f3adcc21664f --- /dev/null +++ b/include/test/sheet/xuniquecellformatrangessupplier.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XUNIQUECELLFORMATRANGESSUPPLIER_HXX +#define INCLUDED_TEST_SHEET_XUNIQUECELLFORMATRANGESSUPPLIER_HXX + +#include +#include +#include + +namespace apitest { + +class OOO_DLLPUBLIC_TEST XUniqueCellFormatRangesSupplier +{ +public: +virtual css::uno::Reference< css::uno::XInterface > init() = 0; + +void testGetUniqueCellFormatRanges(); + +protected: +~XUniqueCellFormatRangesSupplier() {} +}; + +} + +#endif // INCLUDED_TEST_SHEET_XUNIQUECELLFORMATRANGESSUPPLIER_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 92b9912342f5..c09c9134c895 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -639,7 +639,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XSubTotalCalculatable \ qadevOOo/tests/java/ifc/sheet/_XSubTotalDescriptor \ qadevOOo/tests/java/ifc/sheet/_XSubTotalField \ -qadevOOo/tests/java/ifc/sheet/_XUniqueCellFormatRangesSupplier \ 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.ScCellCursorObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv index b8a24da282db..3ce35d7a5460 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv @@ -138,7 +138,6 @@ "ScCellCursorObj";"com::sun::star::sheet::XCellRangesQuery";"queryColumnDifferences()" "ScCellCursorObj";"com::sun::star::sheet::XCellRangesQuery";"queryRowDifferences()" "ScCellCursorObj";"com::sun::star::sheet::XCellRangesQuery";"queryIntersection()" -"ScCellCursorObj";"com::sun::star::sheet::XUniqueCellFormatRangesSupplier";"getUniqueCellFormatRanges()" "ScCellCursorObj";"com::sun::star::table::XCellRange";"getCellByPosition()" "ScCellCursorObj";"com::sun::star::table::XCellRange";"getCellRangeByPosition()" "ScCellCursorObj";"com::sun::star::table::XCellRange";"getCellRangeByName()" diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv index a0d2ecb8..396876793189 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellRangeObj.csv @@ -133,7 +133,6 @@ "ScCellRangeObj";"com::sun::star::sheet::XCellRangesQuery";"queryColumnDifferences()" "ScCellRangeObj";"com::sun::star::sheet::XCellRangesQuery";"queryRowDifferences()" "ScCellRangeObj";"com::sun::star::sheet::XCellRangesQuery";"queryIntersection()" -"ScCellRangeObj";"com::sun::star::sheet::XUniqueCellFormatRangesSupplier";"getUniqueCellFormatRanges()" "ScCellRangeObj";"com::sun::star::table::XCellRange";"getCellByPosition()" "ScCellRangeObj";"com::sun::star::table::XCellRange";"getCellRangeByPosition()" "ScCellRangeObj";"com::sun::star::table::XCel
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xviewfreezable.hxx| 35 + qadevOOo/Jar_OOoRunner.mk|1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv |2 qadevOOo/tests/java/ifc/sheet/_XViewFreezable.java | 69 --- sc/qa/extras/sctabviewobj.cxx| 13 +- test/Library_subsequenttest.mk |1 test/source/sheet/xviewfreezable.cxx | 33 + 7 files changed, 77 insertions(+), 77 deletions(-) New commits: commit 70027414b3ae0c460b0d398fccde092750af47fd Author: Jens Carl Date: Tue Aug 8 08:53:00 2017 + tdf#45904 Move Java _XViewFreezable tests to C++ Change-Id: I75a0363304dbaaeb5988f2ec027d8211f4e01a4f Reviewed-on: https://gerrit.libreoffice.org/40872 Tested-by: Jenkins Reviewed-by: Markus Mohrhard diff --git a/include/test/sheet/xviewfreezable.hxx b/include/test/sheet/xviewfreezable.hxx new file mode 100644 index ..da5b56febe41 --- /dev/null +++ b/include/test/sheet/xviewfreezable.hxx @@ -0,0 +1,35 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XVIEWFREEZABLE_HXX +#define INCLUDED_TEST_SHEET_XVIEWFREEZABLE_HXX + +#include +#include +#include + +using namespace css; +using namespace css::uno; + +namespace apitest { + +class OOO_DLLPUBLIC_TEST XViewFreezable +{ +public: +virtual uno::Reference< uno::XInterface > init() = 0; +virtual ~XViewFreezable(){} + +void testFreeze(); +}; + +} + +#endif // INCLUDED_TEST_SHEET_XVIEWFREEZABLE_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 67511ce41228..dbf725e84c1f 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -647,7 +647,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XSubTotalDescriptor \ qadevOOo/tests/java/ifc/sheet/_XSubTotalField \ qadevOOo/tests/java/ifc/sheet/_XUniqueCellFormatRangesSupplier \ -qadevOOo/tests/java/ifc/sheet/_XViewFreezable \ 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 3f082cec3a73..6a366ee450cc 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv @@ -35,8 +35,6 @@ "ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"HideSpellMarks" "ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"ZoomType" "ScTabViewObj";"com::sun::star::sheet::SpreadsheetViewSettings";"ZoomValue" -"ScTabViewObj";"com::sun::star::sheet::XViewFreezable";"hasFrozenPanes()" -"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::XRangeSelection";"startRangeSelection()" diff --git a/qadevOOo/tests/java/ifc/sheet/_XViewFreezable.java b/qadevOOo/tests/java/ifc/sheet/_XViewFreezable.java deleted file mode 100644 index cedec0951a78.. --- a/qadevOOo/tests/java/ifc/sheet/_XViewFreezable.java +++ /dev/null @@ -1,69 +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.XViewFreezable; - -/** -* Testing com.sun.star.sheet.XViewFreezable -* interface methods : -* -* hasFrozenP
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xusedareacursor.hxx | 36 ++ qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv |2 qadevOOo/tests/java/ifc/sheet/_XUsedAreaCursor.java | 126 -- sc/qa/extras/sccellcursorobj.cxx| 16 - sc/qa/extras/testdocuments/ScCellCursorObj.ods |binary test/Library_subsequenttest.mk |1 test/source/sheet/xcellseries.cxx |7 test/source/sheet/xusedareacursor.cxx | 97 +++ 9 files changed, 150 insertions(+), 136 deletions(-) New commits: commit 27cbca2c8dccbbb299621b49e5ffd836188202f0 Author: Jens Carl Date: Mon Aug 7 00:23:25 2017 + tdf#45904 Move Java _XUsedAreaCursor tests to C++ Change-Id: I6a288fa333d6805540156f63040468f07967c0c6 Reviewed-on: https://gerrit.libreoffice.org/40817 Tested-by: Jenkins Reviewed-by: Markus Mohrhard diff --git a/include/test/sheet/xusedareacursor.hxx b/include/test/sheet/xusedareacursor.hxx new file mode 100644 index ..9e98aa3ae25b --- /dev/null +++ b/include/test/sheet/xusedareacursor.hxx @@ -0,0 +1,36 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XUSEDAREACURSOR_HXX +#define INCLUDED_TEST_SHEET_XUSEDAREACURSOR_HXX + +#include +#include +#include + +using namespace css; +using namespace css::uno; + +namespace apitest { + +class OOO_DLLPUBLIC_TEST XUsedAreaCursor +{ +public: +virtual uno::Reference< uno::XInterface > init() = 0; +virtual ~XUsedAreaCursor(){} + +void testGotoStartOfUsedArea(); +void testGotoEndOfUsedArea(); +}; + +} + +#endif // INCLUDED_TEST_SHEET_XUSEDAREACURSOR_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index dfb164ffa102..f52618514bcd 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -651,7 +651,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XSubTotalDescriptor \ qadevOOo/tests/java/ifc/sheet/_XSubTotalField \ qadevOOo/tests/java/ifc/sheet/_XUniqueCellFormatRangesSupplier \ -qadevOOo/tests/java/ifc/sheet/_XUsedAreaCursor \ qadevOOo/tests/java/ifc/sheet/_XViewFreezable \ qadevOOo/tests/java/ifc/style/_CharacterProperties \ qadevOOo/tests/java/ifc/style/_CharacterPropertiesAsian \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv index 475086fddb03..b8a24da282db 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellCursorObj.csv @@ -55,8 +55,6 @@ "ScCellCursorObj";"com::sun::star::chart::XChartData";"removeChartDataChangeEventListener()" "ScCellCursorObj";"com::sun::star::chart::XChartData";"getNotANumber()" "ScCellCursorObj";"com::sun::star::chart::XChartData";"isNotANumber()" -"ScCellCursorObj";"com::sun::star::sheet::XUsedAreaCursor";"gotoStartOfUsedArea()" -"ScCellCursorObj";"com::sun::star::sheet::XUsedAreaCursor";"gotoEndOfUsedArea()" "ScCellCursorObj";"com::sun::star::style::ParagraphProperties";"ParaAdjust" "ScCellCursorObj";"com::sun::star::style::ParagraphProperties";"ParaLineSpacing#optional" "ScCellCursorObj";"com::sun::star::style::ParagraphProperties";"ParaBackColor#optional" diff --git a/qadevOOo/tests/java/ifc/sheet/_XUsedAreaCursor.java b/qadevOOo/tests/java/ifc/sheet/_XUsedAreaCursor.java deleted file mode 100644 index 19079b7507df.. --- a/qadevOOo/tests/java/ifc/sheet/_XUsedAreaCursor.java +++ /dev/null @@ -1,126 +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
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xspreadsheets.hxx | 38 ++ qadevOOo/Jar_OOoRunner.mk|1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetsObj.csv |3 qadevOOo/tests/java/ifc/sheet/_XSpreadsheets.java| 178 -- sc/qa/extras/sctablesheetsobj.cxx| 11 test/Library_subsequenttest.mk |1 test/source/sheet/xspreadsheets.cxx | 85 7 files changed, 133 insertions(+), 184 deletions(-) New commits: commit 44077dc6104e5eab40414889e7be776767709984 Author: Jens Carl Date: Sat Aug 5 04:31:57 2017 + tdf#45904 Move Java _XSpreadsheets tests to C++ Change-Id: If311e2c8ca89528760b14d977bca76e14164e6e3 Reviewed-on: https://gerrit.libreoffice.org/40783 Tested-by: Jenkins Reviewed-by: Markus Mohrhard diff --git a/include/test/sheet/xspreadsheets.hxx b/include/test/sheet/xspreadsheets.hxx new file mode 100644 index ..3c8ecb4f37e5 --- /dev/null +++ b/include/test/sheet/xspreadsheets.hxx @@ -0,0 +1,38 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_TEST_SHEET_XSPREADSHEETS_HXX +#define INCLUDED_TEST_SHEET_XSPREADSHEETS_HXX + +#include +#include +#include + +using namespace css; +using namespace css::uno; + +namespace apitest { + +class OOO_DLLPUBLIC_TEST XSpreadsheets +{ +public: +virtual uno::Reference< uno::XInterface > init() = 0; +virtual ~XSpreadsheets(){} + +void testInsertNewByName(); +void testInsertNewByNameBadName(); +void testMoveByName(); +void testCopyByName(); +}; + +} + +#endif // INCLUDED_TEST_SHEET_XSPREADSHEETS_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 191fb20ac158..f68fca900db2 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -648,7 +648,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak \ qadevOOo/tests/java/ifc/sheet/_XSpreadsheet \ qadevOOo/tests/java/ifc/sheet/_XSpreadsheetDocument \ -qadevOOo/tests/java/ifc/sheet/_XSpreadsheets \ 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.ScTableSheetsObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetsObj.csv index ff6726f4270a..514566881a29 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetsObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableSheetsObj.csv @@ -6,9 +6,6 @@ "ScTableSheetsObj";"com::sun::star::container::XNameContainer";"removeByName()" "ScTableSheetsObj";"com::sun::star::container::XIndexAccess";"getCount()" "ScTableSheetsObj";"com::sun::star::container::XIndexAccess";"getByIndex()" -"ScTableSheetsObj";"com::sun::star::sheet::XSpreadsheets";"insertNewByName()" -"ScTableSheetsObj";"com::sun::star::sheet::XSpreadsheets";"moveByName()" -"ScTableSheetsObj";"com::sun::star::sheet::XSpreadsheets";"copyByName()" "ScTableSheetsObj";"com::sun::star::container::XElementAccess";"getElementType()" "ScTableSheetsObj";"com::sun::star::container::XElementAccess";"hasElements()" "ScTableSheetsObj";"com::sun::star::container::XEnumerationAccess";"createEnumeration()" diff --git a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheets.java b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheets.java deleted file mode 100644 index 2944e9c53cec.. --- a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheets.java +++ /dev/null @@ -1,178 +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 java.util.concurrent.atomic.AtomicInteger; - -import com.sun.star.sheet.XSpreadsheets;
[Libreoffice-commits] core.git: include/test qadevOOo/Jar_OOoRunner.mk qadevOOo/objdsc qadevOOo/tests sc/qa test/Library_subsequenttest.mk test/source
include/test/sheet/xsheetannotationshapesupplier.hxx | 35 qadevOOo/Jar_OOoRunner.mk |1 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationObj.csv |1 qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationShapeSupplier.java | 34 sc/qa/extras/scannotationobj.cxx | 12 ++ test/Library_subsequenttest.mk|1 test/source/sheet/xsheetannotationshapesupplier.cxx | 41 ++ 7 files changed, 87 insertions(+), 38 deletions(-) New commits: commit 472737ad70f1a3eaa22cab9b746d35e4b94094a0 Author: Jens Carl Date: Wed Jul 5 06:17:49 2017 + tdf#45904 Move Java XSheetAnnotationShapeSupplier test to C++ Change-Id: I5a3d64fd255fb8fd1f1caba572bc00a5399a6519 Reviewed-on: https://gerrit.libreoffice.org/39550 Tested-by: Jenkins Reviewed-by: Markus Mohrhard diff --git a/include/test/sheet/xsheetannotationshapesupplier.hxx b/include/test/sheet/xsheetannotationshapesupplier.hxx new file mode 100644 index ..ff569df07f56 --- /dev/null +++ b/include/test/sheet/xsheetannotationshapesupplier.hxx @@ -0,0 +1,35 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDE_TEST_SHEET_XSHEETANNOTATIONSHAPESUPPLIER_HXX +#define INCLUDE_TEST_SHEET_XSHEETANNOTATIONSHAPESUPPLIER_HXX + +#include +#include +#include + +using namespace css; +using namespace css::uno; + +namespace apitest { + +class OOO_DLLPUBLIC_TEST XSheetAnnotationShapeSupplier +{ +public: +virtual uno::Reference< uno::XInterface > init() = 0; +virtual ~XSheetAnnotationShapeSupplier(){} + +void testGetAnnotationShape(); +}; + +} + +#endif // INCLUDE_TEST_SHEET_XSHEETANNOTATIONSHAPESUPPLIER_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index 458ebf1b7cf9..ab9a8c3e2fba 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -632,7 +632,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/ifc/sheet/_XSheetAnnotation \ qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor \ qadevOOo/tests/java/ifc/sheet/_XSheetAnnotations \ -qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationShapeSupplier \ qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationsSupplier \ qadevOOo/tests/java/ifc/sheet/_XSheetAuditing \ qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor \ diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationObj.csv index 7821167a6d1a..fba2a0877540 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationObj.csv @@ -7,7 +7,6 @@ "ScAnnotationObj";"com::sun::star::text::XTextRange";"getEnd()" "ScAnnotationObj";"com::sun::star::text::XTextRange";"getString()" "ScAnnotationObj";"com::sun::star::text::XTextRange";"setString()" -"ScAnnotationObj";"com::sun::star::sheet::XSheetAnnotationShapeSupplier#optional";"getAnnotationShape()" "ScAnnotationObj";"com::sun::star::sheet::XSheetAnnotation";"getPosition()" "ScAnnotationObj";"com::sun::star::sheet::XSheetAnnotation";"getAuthor()" "ScAnnotationObj";"com::sun::star::sheet::XSheetAnnotation";"getDate()" diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationShapeSupplier.java b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationShapeSupplier.java deleted file mode 100644 index 136cf865f518.. --- a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationShapeSupplier.java +++ /dev/null @@ -1,34 +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 com.sun.star.drawing.XShape; -import com.sun.star.sheet.XSheetAnnotationShapeSupplier; -import lib.MultiMethodTest; - -public class _XSh