|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITestCase
ITestCase object locates one test case in a gUnit script by specifying the tested rule and the index number of the test case in that group. For example: ---------------------- ... varDef: "int i;" OK "float 2f;" FAIL ... ---------------------- The "testedRuleName" for these two test cases will be "varDef". The "index" for the "int"-test will be 0. The "index" for the "float"-test will be 1. And so on.
ITestSuite| Method Summary | |
|---|---|
int |
getTestCaseIndex()
Get the index of the test case in the test group for a rule. |
String |
getTestedRuleName()
Get the name of the rule that is tested by this test case. |
| Method Detail |
|---|
String getTestedRuleName()
int getTestCaseIndex()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||