LibreOffice Module unotest (master) 1
Classes | Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
org.openoffice.test.OfficeConnection Class Reference

Start up and shut down an OOo instance. More...

Collaboration diagram for org.openoffice.test.OfficeConnection:
[legend]

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
 

Detailed Description

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.

Member Function Documentation

◆ getComponentContext()

XComponentContext org.openoffice.test.OfficeConnection.getComponentContext ( )
inline

Obtain the component context of the running OOo instance.

Definition at line 190 of file OfficeConnection.java.

References org.openoffice.test.OfficeConnection.context.

◆ getDescription()

String org.openoffice.test.OfficeConnection.getDescription ( )
inline

◆ setUp()

void org.openoffice.test.OfficeConnection.setUp ( ) throws Exception
inline

◆ tearDown()

void org.openoffice.test.OfficeConnection.tearDown ( ) throws InterruptedException, com.sun.star.uno.Exception
inline

◆ waitForProcess()

static Integer org.openoffice.test.OfficeConnection.waitForProcess ( Process  process,
final int  millis 
) throws InterruptedException
inlinestaticprivate

Member Data Documentation

◆ context

XComponentContext org.openoffice.test.OfficeConnection.context = null
private

◆ description

String org.openoffice.test.OfficeConnection.description
private

◆ errForward

Forward org.openoffice.test.OfficeConnection.errForward = null
private

◆ outForward

Forward org.openoffice.test.OfficeConnection.outForward = null
private

◆ process

Process org.openoffice.test.OfficeConnection.process = null
private

The documentation for this class was generated from the following file: