|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Browser
Handles all the details of starting and stopping a testing session as well as executing individual tests for the specific browser represented by the implementation of this interface. Implementations will typically start an internal HTTP server and an external browsers, instruct that browser and instruct the browser how to communicate with the HTTP server.
| Method Summary | |
|---|---|
void |
executeTest(MultiTestMethod method)
Executes the specified test method on this browser, possibly asynchronously. |
DriverConfiguration |
getConfig()
|
Set<Class<? extends AsyncProcess>> |
getSharedDependencies()
Returns a list of AsyncProcess that the JUnit session must start before attempting to start this browser. |
void |
notifyNoMoreTests()
Notifies this browser that there are no more tests to execute. |
void |
start()
Starts the browser session. |
void |
stop()
Stops this browsers and performs cleanup operations, if any. |
| Method Detail |
|---|
void start()
throws org.junit.runners.model.InitializationError
start in interface AsyncProcessorg.junit.runners.model.InitializationErrorDriverConfiguration getConfig()
void executeTest(MultiTestMethod method)
method - The test to execute.void notifyNoMoreTests()
void stop()
stop in interface AsyncProcessSet<Class<? extends AsyncProcess>> getSharedDependencies()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||