LibreOffice Module unotest (master) 1
|
Start up and shut down an OOo instance. More...
Classes | |
class | Forward |
class | PostprocessFailedException |
Public Member Functions | |
void | setUp () throws Exception |
Start up an OOo instance. More... | |
void | tearDown () throws InterruptedException, com.sun.star.uno.Exception |
Shut down the OOo instance. More... | |
XComponentContext | getComponentContext () |
Obtain the component context of the running OOo instance. More... | |
String | getDescription () |
Static Private Member Functions | |
static Integer | waitForProcess (Process process, final int millis) throws InterruptedException |
Private Attributes | |
String | description |
Process | process = null |
Forward | outForward = null |
Forward | errForward = null |
XComponentContext | context = null |
Start up and shut down an OOo instance.
Details about the OOo instance are tunneled in via org.openoffice.test.arg... system properties.
Definition at line 45 of file OfficeConnection.java.
|
inline |
Obtain the component context of the running OOo instance.
Definition at line 190 of file OfficeConnection.java.
References org.openoffice.test.OfficeConnection.context.
|
inline |
Definition at line 195 of file OfficeConnection.java.
References org.openoffice.test.OfficeConnection.description, and String.
Referenced by org.openoffice.test.UnoApiTest.test().
|
inline |
Start up an OOo instance.
Definition at line 48 of file OfficeConnection.java.
References Bootstrap(), org.openoffice.test.OfficeConnection.context, org.openoffice.test.OfficeConnection.description, env, org.openoffice.test.OfficeConnection.errForward, test.fail, File, org.openoffice.test.Argument.get(), i, length, org.openoffice.test.OfficeConnection.outForward, org.openoffice.test.OfficeConnection.process, resolver, String, System, and org.openoffice.test.OfficeConnection.waitForProcess().
Referenced by org.openoffice.test.UnoApiTest.setUp().
|
inline |
Shut down the OOo instance.
Definition at line 103 of file OfficeConnection.java.
References code, org.openoffice.test.OfficeConnection.context, org.openoffice.test.OfficeConnection.errForward, org.openoffice.test.Argument.get(), org.openoffice.test.OfficeConnection.outForward, org.openoffice.test.OfficeConnection.process, String, System, and org.openoffice.test.OfficeConnection.Forward.terminated().
Referenced by org.openoffice.test.UnoApiTest.tearDown().
|
inlinestaticprivate |
Definition at line 199 of file OfficeConnection.java.
References Integer, n, org.openoffice.test.OfficeConnection.process, and run().
Referenced by org.openoffice.test.OfficeConnection.setUp().
|
private |
Definition at line 283 of file OfficeConnection.java.
Referenced by org.openoffice.test.OfficeConnection.getComponentContext(), org.openoffice.test.OfficeConnection.setUp(), and org.openoffice.test.OfficeConnection.tearDown().
|
private |
Definition at line 279 of file OfficeConnection.java.
Referenced by org.openoffice.test.OfficeConnection.getDescription(), and org.openoffice.test.OfficeConnection.setUp().
|
private |
Definition at line 282 of file OfficeConnection.java.
Referenced by org.openoffice.test.OfficeConnection.setUp(), and org.openoffice.test.OfficeConnection.tearDown().
|
private |
Definition at line 281 of file OfficeConnection.java.
Referenced by org.openoffice.test.OfficeConnection.setUp(), and org.openoffice.test.OfficeConnection.tearDown().
|
private |
Definition at line 280 of file OfficeConnection.java.
Referenced by org.openoffice.test.OfficeConnection.setUp(), org.openoffice.test.OfficeConnection.tearDown(), and org.openoffice.test.OfficeConnection.waitForProcess().