qadevOOo/Jar_OOoRunner.mk                                            |    1 
 qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXAutoTextContainer.csv |    7 
 qadevOOo/tests/java/mod/_sw/SwXAutoTextContainer.java                |   75 
----------
 sw/qa/unoapi/sw_1.sce                                                |    1 
 4 files changed, 84 deletions(-)

New commits:
commit 38170c21461a5933fe6b2341532ef6527b5a65b6
Author:     anfanite396 <dipamt1...@gmail.com>
AuthorDate: Fri Aug 25 21:00:33 2023 +0530
Commit:     Tomaž Vajngerl <qui...@gmail.com>
CommitDate: Sat Aug 26 13:30:06 2023 +0200

    tdf#45904: Remove old SwXAutoTextContainer Java test
    
    Change-Id: Idcb3c17e328894bbd64939f2e3ad076204b35bd4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156113
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <qui...@gmail.com>

diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk
index 950cdbf57fd4..336b99b81e9a 100644
--- a/qadevOOo/Jar_OOoRunner.mk
+++ b/qadevOOo/Jar_OOoRunner.mk
@@ -1088,7 +1088,6 @@ $(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\
     qadevOOo/tests/java/mod/_sw/SwAccessibleTextEmbeddedObject \
     qadevOOo/tests/java/mod/_sw/SwAccessibleTextFrameView \
     qadevOOo/tests/java/mod/_sw/SwAccessibleTextGraphicObject \
-    qadevOOo/tests/java/mod/_sw/SwXAutoTextContainer \
     qadevOOo/tests/java/mod/_sw/SwXAutoTextEntry \
     qadevOOo/tests/java/mod/_sw/SwXAutoTextGroup \
     qadevOOo/tests/java/mod/_sw/SwXBodyText \
diff --git 
a/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXAutoTextContainer.csv 
b/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXAutoTextContainer.csv
deleted file mode 100644
index d1c6e381eb9b..000000000000
--- a/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXAutoTextContainer.csv
+++ /dev/null
@@ -1,7 +0,0 @@
-"SwXAutoTextContainer";"com::sun::star::container::XNameAccess";"getByName()"
-"SwXAutoTextContainer";"com::sun::star::container::XNameAccess";"getElementNames()"
-"SwXAutoTextContainer";"com::sun::star::container::XNameAccess";"hasByName()"
-"SwXAutoTextContainer";"com::sun::star::container::XIndexAccess#optional";"getCount()"
-"SwXAutoTextContainer";"com::sun::star::container::XIndexAccess#optional";"getByIndex()"
-"SwXAutoTextContainer";"com::sun::star::container::XElementAccess";"getElementType()"
-"SwXAutoTextContainer";"com::sun::star::container::XElementAccess";"hasElements()"
diff --git a/qadevOOo/tests/java/mod/_sw/SwXAutoTextContainer.java 
b/qadevOOo/tests/java/mod/_sw/SwXAutoTextContainer.java
deleted file mode 100644
index edaa1aed98e4..000000000000
--- a/qadevOOo/tests/java/mod/_sw/SwXAutoTextContainer.java
+++ /dev/null
@@ -1,75 +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.TestCase;
-import lib.TestEnvironment;
-import lib.TestParameters;
-
-import com.sun.star.lang.XMultiServiceFactory;
-import com.sun.star.text.XAutoTextContainer;
-import com.sun.star.uno.UnoRuntime;
-
-/**
-* Test for object which is represented by service
-* <code>com.sun.star.text.AutoTextContainer</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::text::XAutoTextContainer</code></li>
-* </ul>
-* @see com.sun.star.container.XNameAccess
-* @see com.sun.star.container.XElementAccess
-* @see com.sun.star.text.XAutoTextContainer
-* @see com.sun.star.text.AutoTextContainer
-* @see ifc.container._XNameAccess
-* @see ifc.container._XElementAccess
-* @see ifc.text._XAutoTextContainer
-*/
-public class SwXAutoTextContainer extends TestCase {
-
-    /**
-    * Creating a TestEnvironment for the interfaces to be tested.
-    * Creates an instance of the service
-    * <code>com.sun.star.text.AutoTextContainer</code>.<p>
-    */
-    @Override
-    public TestEnvironment createTestEnvironment(
-            TestParameters Param, PrintWriter log ) throws Exception {
-        XAutoTextContainer  oContainer = null;
-
-        // creation of testobject here
-        // first we write what we are intend to do to log file
-        log.println("creating an AutoTextContainer");
-        XMultiServiceFactory myMSF = Param.getMSF();
-        Object oInst = myMSF.createInstance
-            ("com.sun.star.text.AutoTextContainer");
-        oContainer = UnoRuntime.queryInterface
-            (XAutoTextContainer.class,oInst);
-
-        TestEnvironment tEnv = new TestEnvironment(oContainer);
-
-        return tEnv;
-    }
-
-}    // finish class SwXAutoTextcontainer
-
diff --git a/sw/qa/unoapi/sw_1.sce b/sw/qa/unoapi/sw_1.sce
index 9ffa541f2f4b..a6b3798df390 100644
--- a/sw/qa/unoapi/sw_1.sce
+++ b/sw/qa/unoapi/sw_1.sce
@@ -33,7 +33,6 @@
 #i111178 -o sw.SwAccessibleTextEmbeddedObject
 #i111178 -o sw.SwAccessibleTextFrameView
 -o sw.SwAccessibleTextGraphicObject
--o sw.SwXAutoTextContainer
 -o sw.SwXAutoTextEntry
 -o sw.SwXAutoTextGroup
 -o sw.SwXBodyText

Reply via email to