|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The context that a test runs in.
Method Summary | |
java.lang.String |
getAttribute(java.lang.String name)
Returns the value of a test attribute. |
java.io.InputStream |
getExternalResource(java.lang.String nameOfResource)
Locates an external resource made available from the class loader in which this context was made available. |
TestListener |
getListener()
Returns the listener to use to notify the container of test execution. |
java.lang.Object |
getResource(java.lang.Class resClass)
Locates a resource. |
int |
getThreadCount()
Returns the number of test threads executing in this context. |
void |
setAttribute(java.lang.String name,
java.lang.String value)
Sets the value of a test attribute. |
Method Detail |
public java.lang.Object getResource(java.lang.Class resClass) throws java.lang.Exception
java.lang.Exception
public java.io.InputStream getExternalResource(java.lang.String nameOfResource) throws java.lang.Exception
java.lang.Exception
public TestListener getListener()
public int getThreadCount()
public java.lang.String getAttribute(java.lang.String name)
public void setAttribute(java.lang.String name, java.lang.String value)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |