net.bpelunit.framework.control.result
Interface ITestResultListener


public interface ITestResultListener

The test result listener interface is intended to be implemented by BPELUnit clients who wish to be informed about the test progress. The result listener must be registered on the test suite and will be informed of starting/stopping test cases as well as finer-grained progress in any of the test artefacts (partner tracks and activities).

Version:
$Id$
Author:
Philip Mayer

Method Summary
 void progress(net.bpelunit.framework.model.test.report.ITestArtefact testArtefact)
          There was progress in a test artefact.
 void testCaseEnded(net.bpelunit.framework.model.test.TestCase testCase)
          A test case ended.
 void testCaseStarted(net.bpelunit.framework.model.test.TestCase testCase)
          A test case started.
 

Method Detail

testCaseStarted

void testCaseStarted(net.bpelunit.framework.model.test.TestCase testCase)
A test case started.

Parameters:
testCase - the test case

testCaseEnded

void testCaseEnded(net.bpelunit.framework.model.test.TestCase testCase)
A test case ended.

Parameters:
testCase - the test case

progress

void progress(net.bpelunit.framework.model.test.report.ITestArtefact testArtefact)
There was progress in a test artefact.

Parameters:
testArtefact - the test artefact