Project Wonder 2.0

er.testrunner
Class ERXTestResult

java.lang.Object
  extended byjunit.framework.TestResult
      extended byer.testrunner.ERXTestResult

public class ERXTestResult
extends TestResult

extensions to hold multiple errors and failures.


Field Summary
protected  NSMutableArray _errors
           
protected  NSMutableArray _failures
           
static ERXLogger log
          logging support
 
Fields inherited from class junit.framework.TestResult
fErrors, fFailures, fListeners, fRunTests
 
Constructor Summary
ERXTestResult()
           
 
Method Summary
 void addError(Test test, Throwable t)
           
 void addFailure(Test test, AssertionFailedError t)
           
 NSArray errorsArray()
           
 NSArray failuresArray()
           
 boolean hasErrors()
           
 boolean hasFailures()
           
 
Methods inherited from class junit.framework.TestResult
addListener, endTest, errorCount, errors, failureCount, failures, removeListener, run, runCount, runProtected, shouldStop, startTest, stop, wasSuccessful
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final ERXLogger log
logging support


_errors

protected NSMutableArray _errors

_failures

protected NSMutableArray _failures
Constructor Detail

ERXTestResult

public ERXTestResult()
Method Detail

addError

public void addError(Test test,
                     Throwable t)

addFailure

public void addFailure(Test test,
                       AssertionFailedError t)

errorsArray

public NSArray errorsArray()

failuresArray

public NSArray failuresArray()

hasErrors

public boolean hasErrors()

hasFailures

public boolean hasFailures()

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.