org.scalatest
TestFailedException
Inherited
- Hide All
- Show all
- StackDepthException
- StackDepth
- RuntimeException
- Exception
- Throwable
- Serializable
- AnyRef
- Any
Instance constructors
-
new
TestFailedException(message: String, cause: Throwable, failedCodeStackDepth: Int)
-
new
TestFailedException(cause: Throwable, failedCodeStackDepth: Int)
-
new
TestFailedException(message: String, failedCodeStackDepth: Int)
-
new
TestFailedException(failedCodeStackDepth: Int)
-
new
TestFailedException(message: Option[String], cause: Option[Throwable], failedCodeStackDepth: Int)
Value Members
-
def
!=(arg0: AnyRef): Boolean
-
def
!=(arg0: Any): Boolean
-
def
##(): Int
-
def
$asInstanceOf[T0](): T0
-
def
$isInstanceOf[T0](): Boolean
-
def
==(arg0: AnyRef): Boolean
-
def
==(arg0: Any): Boolean
-
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
val
failedCodeFileNameAndLineNumberString: Option[String]
-
val
failedTestCodeFileNameAndLineNumberString: Option[String]
-
val
failedTestCodeStackDepth: Int
-
def
fillInStackTrace(): Throwable
-
def
finalize(): Unit
-
def
getCause(): Throwable
-
def
getClass(): java.lang.Class[_ <: java.lang.Object]
-
def
getLocalizedMessage(): String
-
def
getMessage(): String
-
def
getStackTrace(): Array[StackTraceElement]
-
def
hashCode(): Int
-
def
initCause(throwable: Throwable): Throwable
-
def
isInstanceOf[T0]: Boolean
-
def
ne(arg0: AnyRef): Boolean
-
def
notify(): Unit
-
def
notifyAll(): Unit
-
def
printStackTrace(arg0: PrintWriter): Unit
-
def
printStackTrace(arg0: PrintStream): Unit
-
def
printStackTrace(): Unit
-
def
setStackTrace(arg0: Array[StackTraceElement]): Unit
-
def
synchronized[T0](arg0: T0): T0
-
def
toString(): String
-
def
wait(): Unit
-
def
wait(arg0: Long, arg1: Int): Unit
-
def
wait(arg0: Long): Unit
Exception that indicates a test failed. The purpose of this exception is to encapsulate information about the stack depth at which the line of test code that failed resides, so that information can be presented to the user that makes it quick to find the failing line of test code. (In other words, the user need not scan through the stack trace to find the correct filename and line number of the failing test.)
authors:
Bill Venners