summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authoranfanite396 <dipamt1729@gmail.com>2023-08-25 21:00:33 +0530
committerTomaž Vajngerl <quikee@gmail.com>2023-08-26 13:30:06 +0200
commit38170c21461a5933fe6b2341532ef6527b5a65b6 (patch)
tree3714d71e21c674c9cf84bef375a96950b83a2294 /qadevOOo
parent0f1eeebfcb6177073ce15ec4a357ab80d6955870 (diff)
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 <quikee@gmail.com>
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/Jar_OOoRunner.mk1
-rw-r--r--qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXAutoTextContainer.csv7
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXAutoTextContainer.java75
3 files changed, 0 insertions, 83 deletions
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
-