OOoRunner test harness

helper
Interface AppProvider

All Known Implementing Classes:
OfficeProvider, UnoProvider

public interface AppProvider

Interface to get a Manager to access the application to check


Method Summary
 boolean closeExistingOffice(TestParameters param, boolean closeIfPossible)
          Close an office.
 boolean disposeManager(TestParameters param)
          Method to dispose the desired Manager
 Object getManager(TestParameters param)
          Method to get the desired Manager
 

Method Detail

getManager

public Object getManager(TestParameters param)
Method to get the desired Manager

disposeManager

public boolean disposeManager(TestParameters param)
Method to dispose the desired Manager

closeExistingOffice

public boolean closeExistingOffice(TestParameters param,
                                   boolean closeIfPossible)
Close an office.
Parameters:
param - The test parameters.
closeIfPossible - If true, close even if it was running before the test
Returns:
True, if close worked.

OOoRunner test harness