com.ibm.rational.test.lt.testgen.core2

Interface IC2TestgenStatusReporter



  • public interface IC2TestgenStatusReporter
    Implementors of this interface are able to update IC2TestgenListeners regarding the status of the overall test generation task.
    See Also:
    IC2TestgenListener
    • Method Detail

      • addTestgenListener

        void addTestgenListener(IC2TestgenListener listener)
        Register a listener
        Parameters:
        listener - an IC2TestgenListener
      • removeTestgenListener

        void removeTestgenListener(IC2TestgenListener listener)
        De-register a listener
        Parameters:
        listener - an IC2TestgenListener that has been registered
      • reportTestgenStart

        void reportTestgenStart()
        Report that the test generation task has begun.
      • reportTestgenEnd

        void reportTestgenEnd(int status,
                            String statusMsg)
        Report that the test generation task has ended.
        Parameters:
        status - the status of the overall test generation operation -- one of
        • IC2TestgenListener.STATUS_SUCCESS
        • IC2TestgenListener.STATUS_ERROR
        statusMsg - a descriptive message corresponding to status
      • reportTaskStart

        void reportTaskStart(String taskName)
        Report that a task has begun.
        Parameters:
        taskName - the name of the task
      • reportTaskEnd

        void reportTaskEnd(String taskName)
        Report that a task has ended.
        Parameters:
        taskName - the name of the task
      • reportPercentComplete

        void reportPercentComplete(int percent)
        Report percent complete.
        Parameters:
        percent - the percent complete
      • reportTaskStatus

        void reportTaskStatus(String taskName,
                            String statusMsg)
        Report status regarding a task that has been started.
        Parameters:
        taskName - the name of the task
        statusMsg - a descriptive message
      • reportError

        void reportError(String taskName,
                       String errorMsg,
                       Throwable error)
        Report that an error has occurred during performance of the test generation operation.
        Parameters:
        taskName - the name of the task
        errorMsg - a descriptive message
        error - a Throwable that has been caught, hence detection of the error condition. This value will be null if no exception has been thrown.
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.