jdave.junit4
Class ResultsAdapter

java.lang.Object
  extended by jdave.junit4.ResultsAdapter
All Implemented Interfaces:
jdave.runner.IBehaviorResults

public class ResultsAdapter
extends java.lang.Object
implements jdave.runner.IBehaviorResults

The ResultsAdapter receives failure notifications from JDave and forwards them to JUnit's RunNotifier.

Author:
Lasse Koskela

Method Summary
 void error(java.lang.reflect.Method m, java.lang.Throwable e)
           
 void expected(java.lang.reflect.Method m)
           
 void unexpected(java.lang.reflect.Method m, jdave.ExpectationFailedException e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

error

public void error(java.lang.reflect.Method m,
                  java.lang.Throwable e)
Specified by:
error in interface jdave.runner.IBehaviorResults

expected

public void expected(java.lang.reflect.Method m)
Specified by:
expected in interface jdave.runner.IBehaviorResults

unexpected

public void unexpected(java.lang.reflect.Method m,
                       jdave.ExpectationFailedException e)
Specified by:
unexpected in interface jdave.runner.IBehaviorResults


Copyright ? 2009. All Rights Reserved.