2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
24 * <code>com.sun.star.task.XInteractionHandler</code> interface testing.
25 * This test needs the following object relations :
27 * <li> <code>'XInteractionHandler.Request'</code>
28 * (of type <code>com.sun.star.task.XInteractionRequest</code>):
29 * this interface implementation is handler specific and is
30 * passed as argument to method <code>handle</code>. </li>
32 * Test is <b> NOT </b> multithread compliant. <p>
33 * @see com.sun.star.task.XInteractionHandler
35 import lib
.MultiMethodTest
;
38 import com
.sun
.star
.task
.XInteractionHandler
;
39 import com
.sun
.star
.task
.XInteractionRequest
;
42 * <code>com.sun.star.task.XInteractionHandler</code> interface testing.
43 * This test needs the following object relations :
45 * <li> <code>'XInteractionHandler.Request'</code>
46 * (of type <code>com.sun.star.task.XInteractionRequest</code>):
47 * this interface implementation is handler specific and is
48 * passed as argument to method <code>handle</code>. </li>
50 * Test is <b> NOT </b> multithread compliant. <p>
51 * @see com.sun.star.task.XInteractionHandler
53 public class _XInteractionHandler
extends MultiMethodTest
{
55 // oObj filled by MultiMethodTest
56 public XInteractionHandler oObj
= null ;
59 * Retrieves an object relation. <p>
62 public void before() {
63 XInteractionRequest request
= (XInteractionRequest
)
64 tEnv
.getObjRelation("XInteractionHandler.Request") ;
68 * Since this test is interactive (dialog window can't be
69 * disposed using API) it is skipped. <p>
70 * Always has <b>SKIPPED.OK</b> status .
72 public void _handle() {
73 tRes
.tested("handle()", Status
.skipped(true)) ;