From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- qadevOOo/tests/java/ifc/frame/_Desktop.java | 45 ++ qadevOOo/tests/java/ifc/frame/_Frame.java | 26 + qadevOOo/tests/java/ifc/frame/_FrameLoader.java | 36 ++ .../java/ifc/frame/_SynchronousFrameLoader.java | 36 ++ .../tests/java/ifc/frame/_XComponentLoader.java | 139 +++++ qadevOOo/tests/java/ifc/frame/_XController.java | 218 ++++++++ qadevOOo/tests/java/ifc/frame/_XDesktop.java | 120 +++++ qadevOOo/tests/java/ifc/frame/_XDispatch.java | 221 ++++++++ .../tests/java/ifc/frame/_XDispatchProvider.java | 155 ++++++ .../ifc/frame/_XDispatchProviderInterception.java | 134 +++++ .../tests/java/ifc/frame/_XDispatchRecorder.java | 208 ++++++++ .../java/ifc/frame/_XDispatchRecorderSupplier.java | 224 ++++++++ .../tests/java/ifc/frame/_XDocumentTemplates.java | 267 ++++++++++ qadevOOo/tests/java/ifc/frame/_XFrame.java | 571 +++++++++++++++++++++ .../java/ifc/frame/_XFrameActionListener.java | 35 ++ qadevOOo/tests/java/ifc/frame/_XFrameLoader.java | 192 +++++++ .../tests/java/ifc/frame/_XFramesSupplier.java | 204 ++++++++ qadevOOo/tests/java/ifc/frame/_XLayoutManager.java | 190 +++++++ qadevOOo/tests/java/ifc/frame/_XModel.java | 249 +++++++++ qadevOOo/tests/java/ifc/frame/_XModuleManager.java | 153 ++++++ .../tests/java/ifc/frame/_XNotifyingDispatch.java | 118 +++++ .../java/ifc/frame/_XPopupMenuController.java | 218 ++++++++ .../tests/java/ifc/frame/_XStatusListener.java | 40 ++ qadevOOo/tests/java/ifc/frame/_XStorable.java | 218 ++++++++ .../java/ifc/frame/_XSynchronousFrameLoader.java | 172 +++++++ qadevOOo/tests/java/ifc/frame/_XTasksSupplier.java | 62 +++ .../java/ifc/frame/_XUIControllerRegistration.java | 55 ++ 27 files changed, 4306 insertions(+) create mode 100644 qadevOOo/tests/java/ifc/frame/_Desktop.java create mode 100644 qadevOOo/tests/java/ifc/frame/_Frame.java create mode 100644 qadevOOo/tests/java/ifc/frame/_FrameLoader.java create mode 100644 qadevOOo/tests/java/ifc/frame/_SynchronousFrameLoader.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XComponentLoader.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XController.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XDesktop.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XDispatch.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XDispatchProvider.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XDispatchProviderInterception.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XDispatchRecorderSupplier.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XDocumentTemplates.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XFrame.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XFrameActionListener.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XFrameLoader.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XFramesSupplier.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XLayoutManager.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XModel.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XModuleManager.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XNotifyingDispatch.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XPopupMenuController.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XStatusListener.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XStorable.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XTasksSupplier.java create mode 100644 qadevOOo/tests/java/ifc/frame/_XUIControllerRegistration.java (limited to 'qadevOOo/tests/java/ifc/frame') diff --git a/qadevOOo/tests/java/ifc/frame/_Desktop.java b/qadevOOo/tests/java/ifc/frame/_Desktop.java new file mode 100644 index 000000000..e43ed9850 --- /dev/null +++ b/qadevOOo/tests/java/ifc/frame/_Desktop.java @@ -0,0 +1,45 @@ +/* + * 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.frame; + +import lib.MultiPropertyTest; + +/** +* Testing com.sun.star.frame.Desktop +* service properties: +*

+* Properties testing is automated by lib.MultiPropertyTest. +* @see com.sun.star.frame.Desktop +*/ +public class _Desktop extends MultiPropertyTest { + +} + diff --git a/qadevOOo/tests/java/ifc/frame/_Frame.java b/qadevOOo/tests/java/ifc/frame/_Frame.java new file mode 100644 index 000000000..e20c16817 --- /dev/null +++ b/qadevOOo/tests/java/ifc/frame/_Frame.java @@ -0,0 +1,26 @@ +/* + * 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.frame; + +import lib.MultiPropertyTest; + +public class _Frame extends MultiPropertyTest { + +} + diff --git a/qadevOOo/tests/java/ifc/frame/_FrameLoader.java b/qadevOOo/tests/java/ifc/frame/_FrameLoader.java new file mode 100644 index 000000000..91c57ae18 --- /dev/null +++ b/qadevOOo/tests/java/ifc/frame/_FrameLoader.java @@ -0,0 +1,36 @@ +/* + * 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.frame; + +import lib.MultiPropertyTest; + +/** +* Testing com.sun.star.frame.FrameLoader +* service properties : +*

+* Properties testing is automated by lib.MultiPropertyTest. +* @see com.sun.star.frame.FrameLoader +*/ +public class _FrameLoader extends MultiPropertyTest { + +} + diff --git a/qadevOOo/tests/java/ifc/frame/_SynchronousFrameLoader.java b/qadevOOo/tests/java/ifc/frame/_SynchronousFrameLoader.java new file mode 100644 index 000000000..182612019 --- /dev/null +++ b/qadevOOo/tests/java/ifc/frame/_SynchronousFrameLoader.java @@ -0,0 +1,36 @@ +/* + * 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.frame; + +import lib.MultiPropertyTest; + +/** +* Testing com.sun.star.frame.SynchronousFrameLoader +* service properties : +*

+* Properties testing is automated by lib.MultiPropertyTest. +* @see com.sun.star.frame.SynchronousFrameLoader +*/ +public class _SynchronousFrameLoader extends MultiPropertyTest { + +} + diff --git a/qadevOOo/tests/java/ifc/frame/_XComponentLoader.java b/qadevOOo/tests/java/ifc/frame/_XComponentLoader.java new file mode 100644 index 000000000..afda3657a --- /dev/null +++ b/qadevOOo/tests/java/ifc/frame/_XComponentLoader.java @@ -0,0 +1,139 @@ +/* + * 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.frame; + +import lib.MultiMethodTest; + +import com.sun.star.beans.PropertyState; +import com.sun.star.beans.PropertyValue; +import com.sun.star.frame.XComponentLoader; +import com.sun.star.lang.XComponent; + + +/** +* Testing com.sun.star.frame.XComponentLoader +* interface methods: +*

+* Test is NOT multithread compliant.

+* @see com.sun.star.frame.XComponentLoader +*/ +public class _XComponentLoader extends MultiMethodTest { + public XComponentLoader oObj = null; // oObj filled by MultiMethodTest + + /** + * Method which tests the objects ability to load a + * component from URL. All available components are loaded by turns.

+ * Has OK status if the method successfully returns + * and no exceptions were thrown.

+ * @see XComponent + */ + public void _loadComponentFromURL() throws Exception { + boolean result = true; + + log.println("testing loadComponentFromURL() ... "); + try { + PropertyValue [] szEmptyArgs = new PropertyValue [0]; + String frameName = "_blank"; + XComponent oDoc = null; + + log.println("load writer doc that contains links"); + PropertyValue [] szArgs = new PropertyValue [1]; + PropertyValue Arg = new PropertyValue(); + Arg.Name = "UpdateDocMode"; + Arg.Value = Short.valueOf(com.sun.star.document.UpdateDocMode.NO_UPDATE); + szArgs[0]=Arg; + String url = util.utils.getFullTestURL("Writer_link.sxw"); + log.println("try to load '" + url + "'"); + oDoc = oObj.loadComponentFromURL( + url, frameName, 0, szArgs); + + waitForEventIdle(); + + oDoc.dispose(); + + url = util.utils.getFullTestURL("Calc_Link.sxc"); + log.println("try to load '" + url + "'"); + oDoc = oObj.loadComponentFromURL( + url, frameName, 0, szArgs); + + waitForEventIdle(); + + oDoc.dispose(); + + + + log.println("load a blank impress doc"); + Arg.Name = "OpenFlags"; + Arg.Value = "S"; + Arg.Handle = -1; + Arg.State = PropertyState.DEFAULT_VALUE; + szArgs[0]=Arg; + oDoc = oObj.loadComponentFromURL( + "private:factory/simpress", frameName, 0, szArgs ); + + log.println("disposing impress doc"); + oDoc.dispose(); + + log.println("load a blank writer doc"); + oDoc = oObj.loadComponentFromURL( + "private:factory/swriter", frameName, 0, szEmptyArgs ); + + log.println("disposing writer doc"); + oDoc.dispose(); + + log.println("load a blank calc doc"); + oDoc = oObj.loadComponentFromURL( + "private:factory/scalc", frameName, 0, szEmptyArgs ); + + log.println("disposing calc doc"); + oDoc.dispose(); + + log.println("load a blank draw doc"); + oDoc = oObj.loadComponentFromURL( + "private:factory/sdraw", frameName, 0, szEmptyArgs ); + + log.println("disposing draw doc"); + oDoc.dispose(); + + log.println("load a blank math doc"); + oDoc = oObj.loadComponentFromURL( + "private:factory/smath", frameName, 0, szEmptyArgs ); + + log.println("disposing math doc"); + oDoc.dispose(); + + } + catch (com.sun.star.lang.IllegalArgumentException e) { + log.println("Exception occurred while loading"); + e.printStackTrace(log); + result=false; + } + catch (com.sun.star.io.IOException e) { + log.println("Exception occurred while loading"); + e.printStackTrace(log); + result=false; + } + + tRes.tested("loadComponentFromURL()", result); + } + +} + diff --git a/qadevOOo/tests/java/ifc/frame/_XController.java b/qadevOOo/tests/java/ifc/frame/_XController.java new file mode 100644 index 000000000..48ecad772 --- /dev/null +++ b/qadevOOo/tests/java/ifc/frame/_XController.java @@ -0,0 +1,218 @@ +/* + * 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.frame; + +import lib.MultiMethodTest; + +import com.sun.star.frame.XController; +import com.sun.star.frame.XFrame; +import com.sun.star.frame.XModel; +import com.sun.star.util.XModifiable; + + +/** +* Testing com.sun.star.frame.XController +* interface methods: +*

+* This test needs the following object relations : +*

+* Test is NOT multithread compliant.

+* @see com.sun.star.frame.XController +*/ +public class _XController extends MultiMethodTest { + public XController oObj = null; + public XModel firstModel = null; + public XModel secondModel = null; + public XFrame frame = null; + public Object ViewData = null; + + /** + * Test calls the method.

+ * Has OK status if the method returns object, that's equal to + * previously obtained object relation 'Frame'. + * The following method tests are to be completed successfully before: + *

+ */ + public void _getFrame() { + requiredMethod("attachFrame()"); + XFrame getting = oObj.getFrame(); + boolean eq = getting.equals(frame); + if ( !eq ) { + log.println("Getting: " + getting.toString()); + log.println("Expected: " + frame.toString()); + } + tRes.tested("getFrame()", eq); + } + + /** + * After obtaining a corresponding object relation test calls the method. + * Has OK status if no exceptions were thrown.

+ */ + public void _attachFrame() { + frame = (XFrame) tEnv.getObjRelation("Frame"); + oObj.attachFrame(frame); + tRes.tested("attachFrame()", true); + } + + /** + * At first object relation 'FirstModel' is gotten. Then test calls the + * method.

+ * Has OK status if string representation of an object, returned by + * the method is equal to string representation of corresponding object + * relation. + */ + public void _getModel() { + firstModel = (XModel) tEnv.getObjRelation("FirstModel"); + XModel getting = oObj.getModel(); + String out1 = ""; + String out2 = ""; + if ( (firstModel == null) ) out1="none"; + else out1 = firstModel.toString(); + if ( (getting == null) ) out2="none"; else out2 = getting.toString(); + boolean eq = out1.equals(out2); + if ( !eq ) { + log.println("Getting: " + out2); + log.println("Expected: " + out1); + } + tRes.tested("getModel()", eq); + } + + /** + * At first, we obtain an object relation 'SecondModel'. Then test calls + * the method and check result.

+ * Has OK status if method returns true and attached model is + * equal to a model 'SecondModel' obtained before. + *

+ * The following method tests are to be completed successfully before : + *

+ */ + public void _attachModel() { + boolean result = false; + + requiredMethod("getModel()"); + secondModel = (XModel) tEnv.getObjRelation("SecondModel"); + XModel gotBefore = oObj.getModel(); + boolean attached = oObj.attachModel(secondModel); + XModel gotAfter = oObj.getModel(); + if ( attached ) { + if ( ! gotBefore.equals(gotAfter) ) { + if ( gotAfter.equals(secondModel) ) { + result = true; + } else { + log.println("Attached and gotten models are not equal"); + log.println("Getting: " + gotAfter.toString()); + log.println("Expected: " + secondModel.toString()); + } + } else { + log.println("method did not change model"); + } + } else { + result=true; + log.println("attachModel() returns false"); + log.println("as expected, see #82938"); + } + tRes.tested("attachModel()", result); + boolean bResult = oObj.attachModel(firstModel); + log.println("attachModel() --> " + bResult); + } + + /** + * At first gotten object relation 'HasViewData' is checked. Then if + * 'HasViewData' is null, test calls the method.

+ * Has OK status if obtained object relation is not null, or if + * the method does not return null. + */ + public void _getViewData() { + if (tEnv.getObjRelation("HasViewData") != null) { + log.println("This Object has no View Data"); + tRes.tested("getViewData()", true); + return; + } + ViewData = oObj.getViewData(); + tRes.tested( "getViewData()", ViewData != null ); + } + + /** + * If obtained object relation 'HasViewData' is null, test calls the method. + *

Has OK status if obtained object relation is not null, or + * if no exceptions were thrown while method call.

+ * The following method tests are to be completed successfully before : + *

+ */ + public void _restoreViewData() { + requiredMethod("getViewData()"); + if (tEnv.getObjRelation("HasViewData") != null) { + log.println("This Object has no View Data"); + tRes.tested("restoreViewData()", true); + return; + } + oObj.restoreViewData(ViewData); + tRes.tested( "restoreViewData()", true ); + } + + /** + * Has OK status if the method returns true.

+ * The following method tests are to be completed successfully before : + *

+ */ + public void _suspend() { + requiredMethod("restoreViewData()"); + XModifiable modify = (XModifiable) tEnv.getObjRelation("Modifiable"); + if (modify != null) { + try { + modify.setModified(false); + } catch (com.sun.star.beans.PropertyVetoException pve) { + log.println("PropertyVetoException, couldn't change Modify flag"); + } + } + tRes.tested( "suspend()", oObj.suspend(true) ); + } + +} + diff --git a/qadevOOo/tests/java/ifc/frame/_XDesktop.java b/qadevOOo/tests/java/ifc/frame/_XDesktop.java new file mode 100644 index 000000000..ac1457197 --- /dev/null +++ b/qadevOOo/tests/java/ifc/frame/_XDesktop.java @@ -0,0 +1,120 @@ +/* + * 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.frame; + +import lib.MultiMethodTest; + +import com.sun.star.container.NoSuchElementException; +import com.sun.star.container.XEnumeration; +import com.sun.star.container.XEnumerationAccess; +import com.sun.star.frame.XDesktop; +import com.sun.star.lang.WrappedTargetException; +import com.sun.star.uno.AnyConverter; +import com.sun.star.uno.Type; +import com.sun.star.uno.XInterface; + +/** +* Testing com.sun.star.frame.XDesktop +* interface methods: +*

+* Test is NOT multithread compliant.

+* @see com.sun.star.frame.XDesktop +*/ +public class _XDesktop extends MultiMethodTest { + public XDesktop oObj = null; // oObj filled by MultiMethodTest + + /** + * Test calls the method. Then elements enumeration is created and tested.

+ * Has OK status if no exceptions were thrown. + */ + public void _getComponents() { + XEnumerationAccess xComps = oObj.getComponents(); + XEnumeration xEnum = xComps.createEnumeration(); + boolean result = false; + + try { + while (xEnum.hasMoreElements()) { + try { + AnyConverter.toObject( + new Type(XInterface.class), xEnum.nextElement()); + } catch (com.sun.star.lang.IllegalArgumentException iae) { + log.println("Can't convert any"); + } + } + result = true; + } catch (WrappedTargetException e) { + log.println("Couldn't get a component : " + e.getMessage()); + e.printStackTrace(); + } catch (NoSuchElementException e) { + log.println("Couldn't get a component : " + e.getMessage()); + e.printStackTrace(); + } + tRes.tested("getComponents()", result); + } + + /** + * Cannot test the method because it requires + * terminating StarOffice. Will add real test later. + */ + public void _terminate() { + tRes.tested("terminate()", true); + } + + /** + * Cannot test the method because of terminate(). + * Will add real test later. + */ + public void _addTerminateListener() { + tRes.tested("addTerminateListener()", true); + } + + /** + * Cannot test the method because of terminate(). + * Will add real test later. + */ + public void _removeTerminateListener() { + tRes.tested("removeTerminateListener()", true); + } + + /** + * Test calls the method.

+ * Has OK status if the method does not return null. + */ + public void _getCurrentComponent() { + tRes.tested("getCurrentComponent()", + oObj.getCurrentComponent() != null); + } + + /** + * Test calls the method.

+ * Has OK status if the method does not return null. + */ + public void _getCurrentFrame() { + tRes.tested("getCurrentFrame()", oObj.getCurrentFrame() != null); + } + +} + diff --git a/qadevOOo/tests/java/ifc/frame/_XDispatch.java b/qadevOOo/tests/java/ifc/frame/_XDispatch.java new file mode 100644 index 000000000..3cc536f7a --- /dev/null +++ b/qadevOOo/tests/java/ifc/frame/_XDispatch.java @@ -0,0 +1,221 @@ +/* + * 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.frame; + + +import com.sun.star.beans.PropertyValue; +import com.sun.star.frame.XDispatch; +import com.sun.star.util.URL; +import lib.MultiMethodTest; +import lib.Status; +import lib.StatusException; +import com.sun.star.frame.XNotifyingDispatch; +import com.sun.star.uno.UnoRuntime; +import com.sun.star.frame.DispatchResultEvent; + +/** +* Testing com.sun.star.frame.XDispatch +* interface methods : +*

+* This test needs the following object relations : +*