|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProgressTracker
Used to track the progress of a single task. An array of these objects can form reports of total startup.
Method Summary | |
---|---|
void |
complete()
Called by testrunner when test completes |
void |
decrement()
Called by testrunner when a test step fails and has to be backtracked |
boolean |
getCompleted()
Returns true if the overall task completed, no matter what the status |
int |
getCompletedSteps()
Gets the number of steps completed |
int |
getCurTask()
Returns number of tasks to be run |
int |
getNumSteps()
Returns maximum value of progress indicator for this test |
int |
getNumTasks()
Returns number of tasks to be run |
ReturnValue |
getRetval(int step)
Gets a specific return value for a step. |
void |
increment()
Called by testrunner for each test step |
void |
init(int iTask,
int iNumTasks,
boolean verbose)
Sets the number of tasks to be run |
void |
notifyevent(int iStep,
ReturnValue retval)
Called by testrunner to add a message to the message log |
void |
notifyevent(java.lang.String message,
boolean verbose)
Called by testrunner to add a message to the message log |
void |
setCompleted(boolean bCompleted)
sets the completed boolean |
void |
setName(java.lang.String name)
Tracks th ename of this task. |
void |
setNumSteps(int max)
Sets the maximum for progress tracking |
void |
setRetval(int step,
ReturnValue retval)
Sets a specific return value for a step. |
Method Detail |
---|
void init(int iTask, int iNumTasks, boolean verbose)
void setName(java.lang.String name)
name
- int getNumTasks()
int getCurTask()
int getNumSteps()
ReturnValue getRetval(int step)
min
- void setRetval(int step, ReturnValue retval)
min
- void setNumSteps(int max)
min
- void increment()
void decrement()
void complete()
void notifyevent(java.lang.String message, boolean verbose)
message
- void notifyevent(int iStep, ReturnValue retval)
message
- boolean getCompleted()
void setCompleted(boolean bCompleted)
int getCompletedSteps()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |