| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |
class OldTestClassAdaptingListener(notifier : RunNotifier)
extends
TestListener with TestDescription
def this(notifier : RunNotifier)
|
| isExecutedFromMaven |
lazy val isExecutedFromMaven
|
Boolean | TestDescription |
| != |
final def !=(arg0 : Any)
|
Boolean | Any |
| != |
final def !=(arg0 : Object)
|
Boolean | AnyRef |
| == |
final def ==(arg0 : Object)
|
Boolean | AnyRef |
| == |
final def ==(arg0 : Any)
|
Boolean | Any |
| addError |
def addError(test : Test, t : Throwable)
Notifies the notifier of a new test failure (an error in JUnit3 is a Failure in JUnit4)
|
Unit | |
| addFailure |
def addFailure(test : Test, t : AssertionFailedError)
Notifies the notifier of a test failure
[details]
specs specificity: if the failure is a SkippedAssertionError, then notify of a skip
|
Unit | |
| asDescription |
def asDescription(ts : JUnitSuite)
[details]
|
Description | TestDescription |
| asDescription |
def asDescription(test : Test)
Describe a test including its hashCode instead of its class name
[details]
If the class name is included, some tests may
not render properly as there can only be one test with a given in a given class.
For specs it is different as there can be the same name in 2 different systems (and those systems will be represented by the
same JUnit class: ExampleTestCase).
This uses the createSuiteDescription method from JUnit as it is the only way to create a Description object having
the required name.
|
Description | TestDescription |
| asInstanceOf |
final def asInstanceOf[T0]
|
T0 | Any |
| clone |
protected def clone
|
Object | AnyRef |
| endTest |
def endTest(test : Test)
Notifies the notifier of a test finish
|
Unit | |
| eq |
final def eq(arg0 : Object)
|
Boolean | AnyRef |
| equals |
def equals(arg0 : Any)
|
Boolean | AnyRef |
| finalize |
protected def finalize
|
Unit | AnyRef |
| getClass |
final def getClass
|
Class[Object] | AnyRef |
| hashCode |
def hashCode
|
Int | AnyRef |
| isExecutedFrom |
def isExecutedFrom(name : String)
This method is used to determine for example if the JUnit runner is executed from Maven or within Eclipse
[details]
In the first the test case names don't need to have the hashcode example.
|
Boolean | Classes |
| isInstanceOf |
final def isInstanceOf[T0]
|
Boolean | Any |
| makeDescription |
def makeDescription(test : Test)
create a Description from a TestCase or a JUnitSuite object
|
Description | TestDescription |
| ne |
final def ne(arg0 : Object)
|
Boolean | AnyRef |
| notify |
final def notify
|
Unit | AnyRef |
| notifyAll |
final def notifyAll
|
Unit | AnyRef |
| startTest |
def startTest(test : Test)
Notifies the notifier of a test start
|
Unit | |
| synchronized |
final def synchronized[T0](arg0 : T0)
|
T0 | AnyRef |
| toString |
def toString
|
String | AnyRef |
| wait |
final def wait(arg0 : Long)
|
Unit | AnyRef |
| wait |
final def wait
|
Unit | AnyRef |
| wait |
final def wait(arg0 : Long, arg1 : Int)
|
Unit | AnyRef |
| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |