|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jameleon.reporting.TestCaseCounter
public class TestCaseCounter
Keeps track of the test cases run and test case number in a given test run:
Constructor Summary | |
---|---|
TestCaseCounter()
|
Method Summary | |
---|---|
int |
getNumFailed()
Gets the total failed tests cases |
int |
getNumPassed()
Gest the total passed test cases |
int |
getNumRun()
|
int |
getTestCaseNum()
Gets the current test script number |
void |
incrementFailed(int numFailed)
Increment the number of tests failed. |
void |
incrementPassed(int numPassed)
Increment the number of tests passed. |
void |
incrementTestCaseNum(int testCaseNum)
Increment the test script number |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestCaseCounter()
Method Detail |
---|
public void incrementPassed(int numPassed)
numPassed
- The number to increment bypublic void incrementFailed(int numFailed)
numFailed
- The number to increment bypublic void incrementTestCaseNum(int testCaseNum)
testCaseNum
- The number to increment bypublic int getNumPassed()
public int getNumFailed()
public int getTestCaseNum()
public int getNumRun()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |