|
Jetif v1.8.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The Proxy stands for remote testing. A proxy is used to
transmit test data and result between test JVM (where Jetif running)
and application JVM (where application be tested running). There are two
parts of the proxy: the proxy and proxy agent. The proxy should handle request
from framework and send the request to proxy agent, then the proxy agent will
invoke the tests inside application JVM.
The proxy is intended for server-side testing, like the Cactus for JUnit.
A custom proxy should implements this interface to receive request
from framework.
ProxyAgent| Method Summary | |
void |
close()
Close the remote proxy agent when a suite is completed. |
void |
open(Properties props,
Serializable data)
Bind the remote proxy agent at the beginning of a suite. |
Object |
runCase(Serializable data)
Run a test case with specified input data. |
| Method Detail |
public void open(Properties props,
Serializable data)
throws FrameworkException
props - The properties object of this suite.data - The data should be transmitted to remote proxy agent.
FrameworkException - if errors occurs try to bind proxy agent.
public Object runCase(Serializable data)
throws FrameworkException
data - the data should be transmitted to remote proxy agent.
FrameworkException - if error occurs during testing.
public void close()
throws FrameworkException
FrameworkException
|
Jetif v1.8.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||