Stacktraces

object Stacktraces extends Stacktraces
Companion:
class
class Object
trait Matchable
class Any

Value members

Inherited methods

def isExecutedFrom(name: String, st: Seq[StackTraceElement]): Boolean
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.

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
Returns:

true if there is a stacktrace element satisfying the predicate

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

true if there is a stacktrace element satisfying the predicate

Inherited from:
Stacktraces