junitx.ddtunit
Class DDTTestFailure

java.lang.Object
  extended by junit.framework.TestFailure
      extended by junitx.ddtunit.DDTTestFailure

public class DDTTestFailure
extends junit.framework.TestFailure

Class extending JUnit TestFailure to provide extra information on occurance location of test failure.

Author:
jg

Field Summary
 
Fields inherited from class junit.framework.TestFailure
fFailedTest, fThrownException
 
Constructor Summary
DDTTestFailure(junit.framework.Test failedTest, String methodTest, Throwable thrownException)
          Instanciate failure instance with location information
 
Method Summary
 
Methods inherited from class junit.framework.TestFailure
exceptionMessage, failedTest, isFailure, thrownException, toString, trace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DDTTestFailure

public DDTTestFailure(junit.framework.Test failedTest,
                      String methodTest,
                      Throwable thrownException)
Instanciate failure instance with location information

Parameters:
failedTest -
methodTest - name of xml based method test
thrownException - caught during execution


Copyright © 2004-2011. All Rights Reserved.