org.springunit.framework.junit4
Class NameListener
java.lang.Object
org.junit.runner.notification.RunListener
org.springunit.framework.junit4.NameListener
public class NameListener
- extends org.junit.runner.notification.RunListener
Obtains the name of the currently running test from the TestRunner.
This implementation follows the example given by Gabriel Cooper at
http://tech.groups.yahoo.com/group/junit/message/18728.
- Author:
- Ted Velkoff
Method Summary |
void |
testFinished(org.junit.runner.Description description)
|
void |
testStarted(org.junit.runner.Description description)
|
Methods inherited from class org.junit.runner.notification.RunListener |
testFailure, testIgnored, testRunFinished, testRunStarted |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NameListener
public NameListener()
testStarted
public void testStarted(org.junit.runner.Description description)
throws Exception
- Overrides:
testStarted
in class org.junit.runner.notification.RunListener
- Throws:
Exception
testFinished
public void testFinished(org.junit.runner.Description description)
throws Exception
- Overrides:
testFinished
in class org.junit.runner.notification.RunListener
- Throws:
Exception
Copyright © 2007 null. All Rights Reserved.