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 <[email protected]>
diff --git a/qadevOOo/Jar_OOoRunner.mk b/qadevOOo/Jar_OOoRunner.mk
index 950cdbf..336b99b 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 d1c6e38..0000000
--- 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 edaa1ae..0000000
--- 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 9ffa541f..a6b3798 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