junitx.ddtunit
Interface DDTTestListener

All Superinterfaces:
junit.framework.TestListener
All Known Implementing Classes:
DDTRunMonitor

public interface DDTTestListener
extends junit.framework.TestListener

DDTTestListener provides methods to notify test progress and results to others.

Author:
jg

Method Summary
 void addMethodTestError(junit.framework.Test test, String testName, Throwable throwable)
          An error occurred during execution of a method with test data
 void addMethodTestFailure(junit.framework.Test test, String testName, junit.framework.AssertionFailedError assertFailed)
          A failure occurred during execution of a method with test data
 void endMethodTest(IDDTTestCase test, String testName)
          A test inside of a testmethod with a given dataset is started.
 void startMethodTest(IDDTTestCase test, String testName)
          A test inside of a testmethod with a given dataset is started.
 
Methods inherited from interface junit.framework.TestListener
addError, addFailure, endTest, startTest
 

Method Detail

addMethodTestError

void addMethodTestError(junit.framework.Test test,
                        String testName,
                        Throwable throwable)
An error occurred during execution of a method with test data

Parameters:
test - processed
testName - actually processed
throwable - caught during execution

addMethodTestFailure

void addMethodTestFailure(junit.framework.Test test,
                          String testName,
                          junit.framework.AssertionFailedError assertFailed)
A failure occurred during execution of a method with test data

Parameters:
test - processed
testName - actually processed
assertFailed - caught during execution

endMethodTest

void endMethodTest(IDDTTestCase test,
                   String testName)
A test inside of a testmethod with a given dataset is started.

Parameters:
test - processed
testName - actually processed

startMethodTest

void startMethodTest(IDDTTestCase test,
                     String testName)
A test inside of a testmethod with a given dataset is started.

Parameters:
test - processed
testName - actually processed


Copyright © 2004-2011. All Rights Reserved.