helper
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Field Summary | |
protected static boolean |
debug
|
| Constructor Summary | |
OfficeProvider()
|
|
| Method Summary | |
protected boolean |
closeAllWindows(XDesktop desk)
|
boolean |
closeExistingOffice(TestParameters param,
boolean closeIfPossible)
Close an office. |
protected static XMultiServiceFactory |
connect(String connectStr)
Connect an Office |
boolean |
disposeManager(TestParameters param)
Dispose the office. |
Object |
getManager(TestParameters param)
Method to get the ServiceManager of an Office |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
debug
protected static boolean debug
| Constructor Detail |
OfficeProvider
public OfficeProvider()
| Method Detail |
disposeManager
public boolean disposeManager(TestParameters param)
- Dispose the office.
This method can only be used, if the office was connected in the first
place: getManager() was called first.
- Specified by:
disposeManagerin interfaceAppProvider
getManager
public Object getManager(TestParameters param)
- Method to get the ServiceManager of an Office
- Specified by:
getManagerin interfaceAppProvider
connect
protected static XMultiServiceFactory connect(String connectStr) throws Exception, RuntimeException, NoConnectException, Exception
- Connect an Office
closeExistingOffice
public boolean closeExistingOffice(TestParameters param, boolean closeIfPossible)
- Close an office.
- Specified by:
closeExistingOfficein interfaceAppProvider
- Parameters:
param- The test parameters.closeIfPossible- If true, close even if it was running before the test
closeAllWindows
protected boolean closeAllWindows(XDesktop desk)
|
OOoRunner test harness | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

