|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IC2TestgenListener
Implementations of this interface can be registered with a TestGenerator
in order to receive status reports regarding the progress of test generation and
any errors that occurred during processing.
IC2TestgenListener
corresponds with IC2TestgenStatusReporter
.
Objects that are IC2TestgenStatusReporter
s are able to keep
IC2TestgenListeners
abreast of the status of the test generation operation.
IC2TestgenStatusReporter
Field Summary | |
---|---|
static int |
STATUS_ERROR
error status indicator |
static int |
STATUS_SUCCESS
successful status indicator |
Method Summary | |
---|---|
void |
errorOccurred(String taskName,
String errorMsg,
Throwable error)
An error occured during test generation. |
void |
percentComplete(int p)
|
void |
statusReported(String taskName,
String statusMsg)
Status has been reported in regard to the specified task. |
void |
taskEnded(String taskName)
A test generation task has been completed. |
void |
taskStarted(String taskName)
A test generation task has begun. |
void |
testgenEnded(int status,
String statusMsg)
Test generation has ended. |
void |
testgenStarted()
Test generation has begun. |
Field Detail |
---|
static final int STATUS_SUCCESS
static final int STATUS_ERROR
Method Detail |
---|
void testgenStarted()
void percentComplete(int p)
void testgenEnded(int status, String statusMsg)
status
- the status of the overall code generation operation -- one of
statusMsg
- a descriptive message corresponding to status
void taskStarted(String taskName)
taskName
- the name of the taskvoid statusReported(String taskName, String statusMsg)
taskName
- the name of the taskstatusMsg
- an informative messagevoid taskEnded(String taskName)
taskName
- the namne of the taskvoid errorOccurred(String taskName, String errorMsg, Throwable error)
testGenEnded(int, String)
is called
is the true indication of the success of the overall test generation operation.
taskName
- the task that was being performed when the error occurrederrorMsg
- a descriptive message describing the error conditionerror
- a Throwable
that was caught during detection of the
error condition. This value will be null
if no exception
was thrown.
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |