Interface UIAutomationHost
public interface UIAutomationHost
Interface for automation hosts
-
Method Summary
Modifier and TypeMethodDescriptionvoidRevert the application state after a test has been runbooleanIndicates whether launchApplicationUnderTest has been called successfully beforevoidlaunchApplicationUnderTest(String... arguments)Launch the application under test using the given command line argumentsvoidsetTransmitter(de.renebergelt.juitest.core.services.IPCTransmitter transmitter)Register an IPCTransmitter instance which can be used to send messages to the Test Monitorvoidteardown()Shutdown the application under test
-
Method Details
-
setTransmitter
void setTransmitter(de.renebergelt.juitest.core.services.IPCTransmitter transmitter)Register an IPCTransmitter instance which can be used to send messages to the Test Monitor- Parameters:
transmitter- The transmitter to use for sending messages
-
launchApplicationUnderTest
Launch the application under test using the given command line arguments- Parameters:
arguments- The arguments to pass to the application-under-test
-
hasLaunched
boolean hasLaunched()Indicates whether launchApplicationUnderTest has been called successfully before- Returns:
- True, if the application-under-test has been launched
-
cleanup_after_test
void cleanup_after_test()Revert the application state after a test has been run -
teardown
void teardown()Shutdown the application under test
-