public class TestListener
extends java.lang.Object
Constructor and Description |
---|
TestListener() |
Modifier and Type | Method and Description |
---|---|
protected void |
processProgressMade(int numOfFailures,
int numOfTests,
int currentTestIndex,
int progress)
Invoked with the adjusted arguments when
progressMade is
called. |
void |
progressMade(int numOfFailures,
int numOfTests,
int currentTestIndex,
int progress)
Invoked when progress is made.
|
public void progressMade(int numOfFailures, int numOfTests, int currentTestIndex, int progress)
numOfFailures
- the number of failed tests so farnumOfTests
- the total number of testscurrentTestIndex
- the index of the current test. The index must be
within 0 (included) and the total number of tests
(included). The index being the total number of
tests indicates the last test has completed.progress
- the progress of the current test run. The progress must be
within 0 (included) and 100 (included) where 100 indicates
the execution of the current test is completed.protected void processProgressMade(int numOfFailures, int numOfTests, int currentTestIndex, int progress)
progressMade
is
called. Invalid arguments passed into progressMade
such as
negative integers are adjusted before being passed into this method.numOfFailures
- the number of failed tests so farnumOfTests
- the total number of testscurrentTestIndex
- the index of the current test. The index is
within 0 (included) and the total number of tests
(included). The index being the total number of
tests indicates the last test has completed.progress
- the progress of the current test run. The progress is
within 0 (included) and 100 (included) where 100 indicates
the execution of the current test is completed.