1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: xmozillatesttoolserver.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_testtool_XMozillaTesttoolServer_idl__
31 #define __com_sun_star_testtool_XMozillaTesttoolServer_idl__
33 #include
<com
/sun
/star
/uno
/XInterface.idl
>
34 #include
<com
/sun
/star
/lang
/IllegalArgumentException.idl
>
35 #include
<com
/sun
/star
/connection
/NoConnectException.idl
>
37 //=============================================================================
39 module com
{ module sun
{ module star
{ module testtool
{
41 //=============================================================================
42 /** Service com.sun.star.devtools.IServerProxy implements this interface.
44 [ uik
(E2423753
-33D6
-11D1
-AABE00A0
-259D5623
), ident
( "XMozillaTesttoolServer", 1.0 ) ]
45 interface XAction
: com
::sun
::star
::uno
::XInterface
47 /** execute one command
54 //=============================================================================
57 //=============================================================================
58 /** Service com.sun.star.devtools.IServerProxy implements this interface.
60 [ uik
(E2423753
-33D6
-11D1
-AABE00A0
-259D5623
), ident
( "XMozillaTesttoolServer", 1.0 ) ]
61 interface XActionControl
: XAction
63 /** execute one command
70 //=============================================================================
73 //=============================================================================
74 /** Service com.sun.star.devtools.IServerProxy implements this interface.
76 [ uik
(E2423753
-33D6
-11D1
-AABE00A0
-259D5623
), ident
( "XMozillaTesttoolServer", 1.0 ) ]
77 interface XActionCommand
: XAction
79 /** execute one command
86 //=============================================================================
87 /** Service com.sun.star.devtools.IServerProxy implements this interface.
89 [ uik
(E2423743
-33D6
-11D1
-AABE00A0
-259D5623
), ident
( "XActionFlow", 1.0 ) ]
90 interface XActionFlow
: XAction
92 /** execute one command
99 //=============================================================================
103 //=============================================================================
105 module com
{ module sun
{ module star
{ module testtool
{
110 SEQUENCE
, /// command with SEQUENCE has been executed
111 ERROR
, /// An error has ocured
112 RESULT
, /// Result of a request
113 ASSERTION
, /// An Assertion has been captured
114 UI_INFO
/// Info about the UserInterfaace
117 //=============================================================================
118 /** Service com.sun.star.devtools.IServerProxy implements this interface.
120 [ uik
(E2426453
-33D6
-11D1
-AABE00A0
-259D5623
), ident
( "XResult", 1.0 ) ]
121 interface XResult
: com
::sun
::star
::uno
::XInterface
123 /** execute one command
126 void SetResultType
( [in] ResultType aType
);
127 ResultType GetResultType
();
129 void SetValue
( [in] any Value
);
133 //=============================================================================
137 //=============================================================================
139 module com
{ module sun
{ module star
{ module testtool
{
141 //=============================================================================
142 /** Service com.sun.star.devtools.IServerProxy implements this interface.
144 [ uik
(E2446735
-33D6
-11D1
-AABE00A0
-259D5623
), ident
( "XMozillaTesttoolServer", 1.0 ) ]
145 interface XMozillaTesttoolServer
: com
::sun
::star
::uno
::XInterface
147 /** Control the Mozilla Browser
150 [oneway
] void execute
( [in] XAction aAction
);
151 // sequence < XResult > getResults( [in] boolean bBlock ); /// bBoch = TRUE means to wait for at least 1 result
155 //=============================================================================