scala.testing.SUnit.AssertFailed

class AssertFailed

case class AssertFailed(val msg : String, val stackTrace : Boolean)

 extends RuntimeException with Product


an AssertFailed is thrown for a failed assertion


Source: SUnit.scala(150)

 Constructors

def this(msg : String, stackTrace : Boolean)

 Fields

productArity override def productArity
return k for a product A(x_1, [details]
..,x_k)
Int
productPrefix override def productPrefix
By default the empty string [details]
Implementations may override this method in order to prepend a string prefix to the result of the toString methods.
String

 Methods

!= final def !=(arg0 : Object) Boolean AnyRef
!= final def !=(arg0 : Any) Boolean Any
== final def ==(arg0 : Any) Boolean Any
== final def ==(arg0 : Object) Boolean AnyRef
asInstanceOf final def asInstanceOf[T0] T0 Any
clone protected def clone Object AnyRef
eq final def eq(arg0 : Object) Boolean AnyRef
equals override def equals(arg0 : Any) Boolean
fillInStackTrace def fillInStackTrace Throwable Throwable
finalize protected def finalize Unit AnyRef
getCause def getCause Throwable Throwable
getClass final def getClass Class[Any] AnyRef
getLocalizedMessage def getLocalizedMessage String Throwable
getMessage def getMessage String Throwable
getStackTrace def getStackTrace Array[StackTraceElement] Throwable
hashCode override def hashCode Int
initCause def initCause(arg0 : Throwable) Throwable Throwable
isInstanceOf final def isInstanceOf[T0] Boolean Any
ne final def ne(arg0 : Object) Boolean AnyRef
notify final def notify Unit AnyRef
notifyAll final def notifyAll Unit AnyRef
printStackTrace def printStackTrace(arg0 : PrintStream) Unit Throwable
printStackTrace def printStackTrace(arg0 : PrintWriter) Unit Throwable
printStackTrace def printStackTrace Unit Throwable
productElement override def productElement(arg0 : Int)
for a product A(x_1, [details]
..,x_k), returns x_(n+1) for 0 <= n < k
param
n - the index of the element to return
return
- The element n elements after the first element
Any
setStackTrace def setStackTrace(arg0 : Array[StackTraceElement]) Unit Throwable
synchronized final def synchronized[T0](arg0 : T0) T0 AnyRef
toString override def toString String
wait final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait final def wait(arg0 : Long) Unit AnyRef
wait final def wait Unit AnyRef
Copyright (c) 2008. All Rights Reserved.