Index

A B C D E F H I L P R S T U W 
All Classes|All Packages

A

addTestStatusListener(TestStatusListener) - Method in class de.renebergelt.juitest.host.services.SameProcessTestRunnerService
 
afterTest() - Method in class de.renebergelt.juitest.host.testscripts.UIAutomationTest
Executed after a test has run
attach(String...) - Method in class de.renebergelt.juitest.host.services.SameProcessTestRunnerService
 

B

beforeTest() - Method in class de.renebergelt.juitest.host.testscripts.UIAutomationTest
Executed before every tests

C

cancel() - Method in class de.renebergelt.juitest.host.testscripts.UIAutomationTest
Cancel the execution of this script
cancellationRequested - Variable in class de.renebergelt.juitest.host.testscripts.UIAutomationTest
Indicates if the cancellation of this test has been requested
cancelRunningTest() - Method in class de.renebergelt.juitest.host.services.SameProcessTestRunnerService
 
channelInactive(ChannelHandlerContext) - Method in class de.renebergelt.juitest.host.comm.IPCProtocolServerHandler
 
channelRead0(ChannelHandlerContext, IPCProtocol.IPCMessage) - Method in class de.renebergelt.juitest.host.comm.IPCProtocolServerHandler
 
channelReadComplete(ChannelHandlerContext) - Method in class de.renebergelt.juitest.host.comm.IPCProtocolServerHandler
 
cleanup_after_test() - Method in interface de.renebergelt.juitest.host.testscripts.UIAutomationHost
Revert the application state after a test has been run
context - Variable in class de.renebergelt.juitest.host.testscripts.UIAutomationTest
The Host of this UIAutomationTest
currentEvent - Variable in class de.renebergelt.juitest.host.testscripts.UIAutomationTest
The current wait event

D

de.renebergelt.juitest.host - package de.renebergelt.juitest.host
 
de.renebergelt.juitest.host.comm - package de.renebergelt.juitest.host.comm
 
de.renebergelt.juitest.host.services - package de.renebergelt.juitest.host.services
 
de.renebergelt.juitest.host.testscripts - package de.renebergelt.juitest.host.testscripts
 
DEFAULT_TIMEOUT - Static variable in class de.renebergelt.juitest.host.testscripts.UIAutomationTest
The default timeout (1 minute)
disattach() - Method in class de.renebergelt.juitest.host.services.SameProcessTestRunnerService
 
discoverTests() - Method in class de.renebergelt.juitest.host.services.SameProcessTestRunnerService
 
discoverTests() - Method in class de.renebergelt.juitest.host.UITestRunner
Return the list of available tests

E

exceptionCaught(ChannelHandlerContext, Throwable) - Method in class de.renebergelt.juitest.host.comm.IPCProtocolServerHandler
 
expectWindow(Timeout, Runnable, Class<T>) - Method in class de.renebergelt.juitest.host.testscripts.SwingAutomationTest
Execute the given action which should open a window of the given class

F

findComponent(Container, Class<T>) - Static method in class de.renebergelt.juitest.host.testscripts.SwingAutomationTest
Return the first component of the given class which is a child of parent or contained in any of parent's children
findComponent(Container, Class<T>, Predicate<T>) - Static method in class de.renebergelt.juitest.host.testscripts.SwingAutomationTest
Return the first component of the given class which is a child of parent or contained in any of parent's children and which fulfills the given condition

H

handleMessage(IPCProtocol.IPCMessage) - Method in class de.renebergelt.juitest.host.UITestRunner
 
hasLaunched() - Method in interface de.renebergelt.juitest.host.testscripts.UIAutomationHost
Indicates whether launchApplicationUnderTest has been called successfully before

I

initChannel(SocketChannel) - Method in class de.renebergelt.juitest.host.comm.IPCServerChannelInitializer
 
IPCProtocolServerHandler - Class in de.renebergelt.juitest.host.comm
CLass which acts as Server for the IPC
IPCProtocolServerHandler(IPCHandler) - Constructor for class de.renebergelt.juitest.host.comm.IPCProtocolServerHandler
Create a new instance of the IPCProtocolServerHandler
IPCServer - Class in de.renebergelt.juitest.host.comm
test host which receives test commands through a network socket and executes them on an attached instance of the application under test
IPCServer(String, int, IPCHandler) - Constructor for class de.renebergelt.juitest.host.comm.IPCServer
Create a new instance of the IPCServer
IPCServerChannelInitializer - Class in de.renebergelt.juitest.host.comm
Class which initializes the channels for IPC based on protobuf
IPCServerChannelInitializer(IPCHandler) - Constructor for class de.renebergelt.juitest.host.comm.IPCServerChannelInitializer
Create a new instance of IPCServerChannelInitializer
isAttached() - Method in class de.renebergelt.juitest.host.services.SameProcessTestRunnerService
 

L

launchApplicationUnderTest(String...) - Method in interface de.renebergelt.juitest.host.testscripts.UIAutomationHost
Launch the application under test using the given command line arguments
log(String) - Method in class de.renebergelt.juitest.host.testscripts.UIAutomationTest
Send teh given log message to the registered TestExucitionListener (if any)

P

pause(String) - Method in class de.renebergelt.juitest.host.testscripts.UIAutomationTest
Pause test execution and signal to the test monitor that the current script has been paused.

R

registerTransmitter(IPCTransmitter) - Method in class de.renebergelt.juitest.host.UITestRunner
 
removeTestStatusListener(TestStatusListener) - Method in class de.renebergelt.juitest.host.services.SameProcessTestRunnerService
 
resume() - Method in class de.renebergelt.juitest.host.testscripts.UIAutomationTest
Continue execution if this test has been paused
resumeTest() - Method in class de.renebergelt.juitest.host.services.SameProcessTestRunnerService
 
run() - Method in class de.renebergelt.juitest.host.comm.IPCServer
Starts the server which then waits for incoming connections
runTest(TestDescriptor) - Method in class de.renebergelt.juitest.host.services.SameProcessTestRunnerService
 

S

SameProcessTestRunnerService - Class in de.renebergelt.juitest.host.services
Implementation of TestRunnerService which executes tests in the same process
SameProcessTestRunnerService(UIAutomationHost, String) - Constructor for class de.renebergelt.juitest.host.services.SameProcessTestRunnerService
Create a new instance of the SameProcessTestRunnerService
scriptAssert(Supplier<Boolean>) - Method in class de.renebergelt.juitest.host.testscripts.UIAutomationTest
Throws an AutomationException when the condition is not satisfied and thus aborts script execution
scriptAssert(Supplier<Boolean>, String) - Method in class de.renebergelt.juitest.host.testscripts.UIAutomationTest
Throws an AutomationException with the given failureMessage when the condition is not satisfied and thus aborts script execution
sendMessage(IPCProtocol.IPCMessage) - Method in class de.renebergelt.juitest.host.comm.IPCProtocolServerHandler
 
setContext(THost) - Method in class de.renebergelt.juitest.host.testscripts.UIAutomationTest
Sets the automation context
setExecutionListener(TestExecutionListener) - Method in class de.renebergelt.juitest.host.testscripts.UIAutomationTest
Set the execution listener
setTransmitter(IPCTransmitter) - Method in class de.renebergelt.juitest.host.services.SameProcessTestRunnerService
Set the IPCTransmitter instance which can be used for sending IPC messages
setTransmitter(IPCTransmitter) - Method in interface de.renebergelt.juitest.host.testscripts.UIAutomationHost
Register an IPCTransmitter instance which can be used to send messages to the Test Monitor
start() - Method in class de.renebergelt.juitest.host.UITestRunner
Start the underlying server and wait for incoming connections from a test monitor
SwingAutomationTest<THost extends UIAutomationHost> - Class in de.renebergelt.juitest.host.testscripts
Base class for UIAutomationTest which test Java Swing UIs (provides swing-related helper methods)
SwingAutomationTest() - Constructor for class de.renebergelt.juitest.host.testscripts.SwingAutomationTest
 

T

teardown() - Method in interface de.renebergelt.juitest.host.testscripts.UIAutomationHost
Shutdown the application under test

U

uiActionAsync(Runnable) - Method in class de.renebergelt.juitest.host.testscripts.SwingAutomationTest
Schedules the given step in the EDT and returns immediately
uiActionWait(Timeout, Runnable) - Method in class de.renebergelt.juitest.host.testscripts.SwingAutomationTest
Execute the given method in the UI thread (i.e.
uiActionWait(Timeout, Supplier<T>) - Method in class de.renebergelt.juitest.host.testscripts.SwingAutomationTest
Execute the given method, which produces a return value, in the UI thread (i.e.
uiActionWait(Runnable) - Method in class de.renebergelt.juitest.host.testscripts.SwingAutomationTest
Execute the given method in the UI thread (i.e.
uiActionWait(Supplier<T>) - Method in class de.renebergelt.juitest.host.testscripts.SwingAutomationTest
Execute the given method in the UI thread (i.e.
UIAutomationHost - Interface in de.renebergelt.juitest.host.testscripts
Interface for automation hosts
UIAutomationTest<THost extends UIAutomationHost> - Class in de.renebergelt.juitest.host.testscripts
Interface for automation tests
UIAutomationTest() - Constructor for class de.renebergelt.juitest.host.testscripts.UIAutomationTest
 
UITestRunner - Class in de.renebergelt.juitest.host
Class which manages running tests in the test host's process
UITestRunner(String, int, UIAutomationHost, String) - Constructor for class de.renebergelt.juitest.host.UITestRunner
Create a new instance of UITestRunner

W

wait(Timeout) - Method in class de.renebergelt.juitest.host.testscripts.SwingAutomationTest
Wait for the given amount of time
waitForAndDimissOptionPane(Timeout, Object) - Method in class de.renebergelt.juitest.host.testscripts.SwingAutomationTest
Waits for an JOptionPane based Dialog and closes it using the given result
waitForCondition(Timeout, Supplier<Boolean>) - Method in class de.renebergelt.juitest.host.testscripts.SwingAutomationTest
Wait until the given condition is satisfied
waitForWindow(Timeout, Class<T>) - Method in class de.renebergelt.juitest.host.testscripts.SwingAutomationTest
Blocks until at least one window of the given class is opened and returns an open instance
waitForWindow(Timeout, Predicate<Window>) - Method in class de.renebergelt.juitest.host.testscripts.SwingAutomationTest
Wait for a window which fulfills the given condition
waitForWindow_internal(Timeout, Predicate<Window>) - Method in class de.renebergelt.juitest.host.testscripts.SwingAutomationTest
Wait for a window which fulfills the given condition
waitUntilWindowIsClosed(Timeout, Window) - Method in class de.renebergelt.juitest.host.testscripts.SwingAutomationTest
Wait until the given window has been closed
A B C D E F H I L P R S T U W 
All Classes|All Packages