diff options
-rw-r--r-- | framework/qa/complex/api_internal/api.lst | 1 | ||||
-rw-r--r-- | qadevOOo/Jar_OOoRunner.mk | 1 | ||||
-rw-r--r-- | qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXStyleFamilies.csv | 7 | ||||
-rw-r--r-- | qadevOOo/tests/java/mod/_sw/SwXStyleFamilies.java | 97 | ||||
-rw-r--r-- | sw/qa/api/SwXStyleFamilies.cxx | 3 | ||||
-rw-r--r-- | sw/qa/unoapi/sw_2.sce | 1 |
6 files changed, 0 insertions, 110 deletions
diff --git a/framework/qa/complex/api_internal/api.lst b/framework/qa/complex/api_internal/api.lst index 2222f3befca0..e24f9f945c86 100644 --- a/framework/qa/complex/api_internal/api.lst +++ b/framework/qa/complex/api_internal/api.lst @@ -159,7 +159,6 @@ job222=sw.SwXPropertySet job223=sw.SwXPropertySetInfo job225=sw.SwXReferenceMarks job226=sw.SwXStyle -job227=sw.SwXStyleFamilies job228=sw.SwXStyleFamily job229=sw.SwXTableCellText job230=sw.SwXTableRows diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk index de423c3bc624..37c36f18c0f1 100644 --- a/qadevOOo/Jar_OOoRunner.mk +++ b/qadevOOo/Jar_OOoRunner.mk @@ -1119,7 +1119,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\ qadevOOo/tests/java/mod/_sw/SwXReferenceMarks \ qadevOOo/tests/java/mod/_sw/SwXShape \ qadevOOo/tests/java/mod/_sw/SwXStyle \ - qadevOOo/tests/java/mod/_sw/SwXStyleFamilies \ qadevOOo/tests/java/mod/_sw/SwXStyleFamily \ qadevOOo/tests/java/mod/_sw/SwXTableCellText \ qadevOOo/tests/java/mod/_sw/SwXTableColumns \ diff --git a/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXStyleFamilies.csv b/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXStyleFamilies.csv deleted file mode 100644 index f2f3e1303856..000000000000 --- a/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXStyleFamilies.csv +++ /dev/null @@ -1,7 +0,0 @@ -"SwXStyleFamilies";"com::sun::star::container::XNameAccess";"getByName()" -"SwXStyleFamilies";"com::sun::star::container::XNameAccess";"getElementNames()" -"SwXStyleFamilies";"com::sun::star::container::XNameAccess";"hasByName()" -"SwXStyleFamilies";"com::sun::star::container::XIndexAccess#optional";"getCount()" -"SwXStyleFamilies";"com::sun::star::container::XIndexAccess#optional";"getByIndex()" -"SwXStyleFamilies";"com::sun::star::container::XElementAccess";"getElementType()" -"SwXStyleFamilies";"com::sun::star::container::XElementAccess";"hasElements()" diff --git a/qadevOOo/tests/java/mod/_sw/SwXStyleFamilies.java b/qadevOOo/tests/java/mod/_sw/SwXStyleFamilies.java deleted file mode 100644 index ebbc4690aa69..000000000000 --- a/qadevOOo/tests/java/mod/_sw/SwXStyleFamilies.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 mod._sw; - -import java.io.PrintWriter; - -import lib.StatusException; -import lib.TestCase; -import lib.TestEnvironment; -import lib.TestParameters; -import util.SOfficeFactory; - -import com.sun.star.container.XNameAccess; -import com.sun.star.style.XStyleFamiliesSupplier; -import com.sun.star.text.XTextDocument; -import com.sun.star.uno.UnoRuntime; - - -/** - * Test for object which is represented by service - * <code>com.sun.star.style.StyleFamilies</code>. <p> - * Object implements the following interfaces : - * <ul> - * <li> <code>com::sun::star::container::XNameAccess</code></li> - * <li> <code>com::sun::star::container::XElementAccess</code></li> - * <li> <code>com::sun::star::container::XIndexAccess</code></li> - * </ul> <p> - * This object test <b> is NOT </b> designed to be run in several - * threads concurrently. - * @see com.sun.star.container.XNameAccess - * @see com.sun.star.container.XElementAccess - * @see com.sun.star.container.XIndexAccess - * @see com.sun.star.style.StyleFamilies - * @see ifc.container._XNameAccess - * @see ifc.container._XElementAccess - * @see ifc.container._XIndexAccess - */ -public class SwXStyleFamilies extends TestCase { - XTextDocument xTextDoc; - - /** - * Creates text document. - */ - @Override - protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception { - SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() ); - log.println( "creating a textdocument" ); - xTextDoc = SOF.createTextDoc( null ); - } - - /** - * Disposes text document. - */ - @Override - protected void cleanup( TestParameters tParam, PrintWriter log ) { - log.println( " disposing xTextDoc " ); - util.DesktopTools.closeDoc(xTextDoc); - } - - /** - * Creating a TestEnvironment for the interfaces to be tested. Style families - * are gotten from text document using <code>XStyleFamiliesSupplier</code> - * interface and returned as a test component. - */ - @Override - public TestEnvironment createTestEnvironment( - TestParameters Param, PrintWriter log ) throws StatusException { - - - log.println( "Creating a test environment" ); - XTextDocument xArea = UnoRuntime.queryInterface(XTextDocument.class, xTextDoc); - XStyleFamiliesSupplier oSFS = UnoRuntime.queryInterface(XStyleFamiliesSupplier.class, xArea); - XNameAccess oSF = oSFS.getStyleFamilies(); - - TestEnvironment tEnv = new TestEnvironment(oSF); - return tEnv; - } - - -} // finish class SwXStyle - diff --git a/sw/qa/api/SwXStyleFamilies.cxx b/sw/qa/api/SwXStyleFamilies.cxx index 52b0ac95f61e..6cc1430ac55c 100644 --- a/sw/qa/api/SwXStyleFamilies.cxx +++ b/sw/qa/api/SwXStyleFamilies.cxx @@ -61,9 +61,6 @@ public: Reference<style::XStyleFamiliesSupplier> xStyleFamSupp(xTextDocument, UNO_QUERY_THROW); Reference<container::XNameAccess> xSF = xStyleFamSupp->getStyleFamilies(); - // Sequence<OUString> aNames = xSF->getElementNames(); - // std::cout << aNames[0] << std::endl; - return Reference<XInterface>(xSF, UNO_QUERY_THROW); } diff --git a/sw/qa/unoapi/sw_2.sce b/sw/qa/unoapi/sw_2.sce index 06d94d01472e..291b98fe755a 100644 --- a/sw/qa/unoapi/sw_2.sce +++ b/sw/qa/unoapi/sw_2.sce @@ -37,7 +37,6 @@ -o sw.SwXPropertySetInfo -o sw.SwXReferenceMarks #i111190 -o sw.SwXShape --o sw.SwXStyleFamilies -o sw.SwXStyleFamily -o sw.SwXTableCellText -o sw.SwXTableColumns |