|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IUnitTester
The interface of a unit tester module.
Method Summary | |
---|---|
int |
getNbUnitCase()
The number of test contained in this instance. |
IUnitCaseResult |
run()
Executes the test case that was defined during the invocation of setUp(int) . |
void |
setUnitFile(java.lang.String pFileName)
Defines the XML File that is to be used to configure this instance. |
void |
setUp(int pUnitCaseId)
Prepares the system to execute the specified test case. |
void |
tearDown()
Deactivates the current unit test. |
Method Detail |
---|
void setUnitFile(java.lang.String pFileName) throws RaccoonException, java.lang.IllegalArgumentException
pFileName
- the name of the XML file to use.
RaccoonException
- if this component is already running: the component can't be changed.
Error code is ErrorCodes.COMPONENT_INITIALISED
java.lang.IllegalArgumentException
- if the parameter is null
, the message is obtained via
MsgHelper.formatNullParamter(java.lang.String, java.lang.Class)
int getNbUnitCase()
void setUp(int pUnitCaseId) throws RaccoonException
pUnitCaseId
- the id of the test case to execute
RaccoonException
- if this component isn't loaded.IUnitCaseResult run() throws RaccoonException
setUp(int)
.
HashMap
where the key is the name of the UiTest and the value is
the result of the execution of the test.
RaccoonException
- if setUp(int)
wasn't invoked or if something went wrong.void tearDown() throws RaccoonException
RaccoonException
- if the tear down process fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |