|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TBean
A TBean
is a testing bean used in a SysUnit TestCase.
TBeans are typically remote such as remote MBeans, session beans, use remote proxies
or execute remote scripts which make up the whole distributed test case
Field Summary | |
---|---|
static TBean[] |
EMPTY_ARRAY
Empty array. |
Method Summary | |
---|---|
void |
assertValid()
Called after the run() methods of all the TBeans have completed (or timed out) to assert that each TBean is in a valid state |
void |
run()
Called in parallel by the SysUnit test case to run the TBean |
void |
setUp()
Called before each test run to initialise the TBean |
void |
tearDown()
Called after the SysUnit test has run to clean up any resources such as database connections, to close any files etc |
Field Detail |
---|
static final TBean[] EMPTY_ARRAY
Method Detail |
---|
void setUp() throws Exception
Exception
- If an error occurs while attempting
to set up the TBean.void run() throws Throwable
Throwable
- If an error occurs while attempting to run
the TBean.void assertValid() throws Exception
Exception
- If an error occurs while attempting
validate the TBean.void tearDown() throws Exception
Exception
- If an error occurs while attempting
to tear down the TBean.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |