scala.testing.SUnit

class TestFailure

[source: scala/testing/SUnit.scala]

class TestFailure(val failedTest : Test, val thrownException : java.lang.Throwable)
extends AnyRef
The class TestFailure collects a failed test together with the thrown exception.
Additional Constructor Summary
def this (p : (Test, java.lang.Throwable)) : TestFailure
Method Summary
override def toString : java.lang.String
Returns a string representation of the object.
def trace : java.lang.String
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Additional Constructor Details
def this(p : (Test, java.lang.Throwable)) : TestFailure

Method Details
override def toString : java.lang.String
Returns a string representation of the object.

The default representation is platform dependent.

Returns
a string representation of the object.


def trace : java.lang.String