Stacktraces

org.specs2.control.Stacktraces
See theStacktraces companion trait
object Stacktraces extends Stacktraces

Attributes

Companion
trait
Graph
Supertypes
trait Stacktraces
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

def isExecutedFrom(name: String, st: Seq[StackTraceElement]): Boolean

Attributes

Inherited from:
Stacktraces
def isExecutedFrom(name: String): Boolean

This method is used to determine for example if the JUnit runner is executed from Maven or within Eclipse. In the first the test case names don't need to have the hashcode example.

This method is used to determine for example if the JUnit runner is executed from Maven or within Eclipse. In the first the test case names don't need to have the hashcode example.

Attributes

Returns

true if this current piece of code contains name in its stacktrace.

Inherited from:
Stacktraces
def isFromClass(classNamePredicate: String => Boolean, st: Seq[StackTraceElement]): Boolean

Attributes

Returns

true if there is a stacktrace element satisfying the predicate

Inherited from:
Stacktraces
def isFromClass(classNamePredicate: String => Boolean): Boolean

Attributes

Returns

true if there is a stacktrace element satisfying the predicate

Inherited from:
Stacktraces