Object

org.specs2.control

DefaultStackTraceFilter

Related Doc: package control

Permalink

object DefaultStackTraceFilter extends IncludeExcludeStackTraceFilter with ExecutionOrigin

default filter for specs2 runs

Linear Supertypes
ExecutionOrigin, Stacktraces, IncludeExcludeStackTraceFilter, Serializable, Serializable, Product, Equals, StackTraceFilter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DefaultStackTraceFilter
  2. ExecutionOrigin
  3. Stacktraces
  4. IncludeExcludeStackTraceFilter
  5. Serializable
  6. Serializable
  7. Product
  8. Equals
  9. StackTraceFilter
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(e: Seq[StackTraceElement]): Seq[StackTraceElement]

    Permalink

    filter an Exception stacktrace

    filter an Exception stacktrace

    returns

    the filtered stacktrace

    Definition Classes
    DefaultStackTraceFilterIncludeExcludeStackTraceFilterStackTraceFilter
  5. def apply[T <: Throwable](t: T): T

    Permalink

    returns

    an exception with a filtered stacktrace

    Definition Classes
    StackTraceFilter
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. val exclude: Seq[String]

    Permalink
  10. def excludeAlso(patterns: String*): IncludeExcludeStackTraceFilter

    Permalink

    add exclude patterns

    add exclude patterns

    Definition Classes
    IncludeExcludeStackTraceFilter
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def fromSpecs2orScalaz: (String) ⇒ Boolean

    Permalink
    Definition Classes
    ExecutionOrigin
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. val include: Seq[String]

    Permalink
  15. def includeAlso(patterns: String*): IncludeExcludeStackTraceFilter

    Permalink

    add include patterns

    add include patterns

    Definition Classes
    IncludeExcludeStackTraceFilter
  16. def isExecutedFrom(name: String, st: Seq[StackTraceElement]): Boolean

    Permalink
    Definition Classes
    Stacktraces
  17. def isExecutedFrom(name: String): Boolean

    Permalink

    This method is used to determine for example if the JUnit runner is executed from Maven or within Eclipse.

    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.

    Definition Classes
    Stacktraces
  18. lazy val isExecutedFromAnIDE: Boolean

    Permalink

    return true if the current test is executed from an IDE

    return true if the current test is executed from an IDE

    Definition Classes
    ExecutionOrigin
  19. lazy val isExecutedFromEclipse: Boolean

    Permalink

    return true if the current test is executed with eclipse

    return true if the current test is executed with eclipse

    Definition Classes
    ExecutionOrigin
  20. lazy val isExecutedFromGradle: Boolean

    Permalink

    return true if the current test is executed with Gradle

    return true if the current test is executed with Gradle

    Definition Classes
    ExecutionOrigin
  21. lazy val isExecutedFromIntellij: Boolean

    Permalink

    return true if the current test is executed with Intellij

    return true if the current test is executed with Intellij

    Definition Classes
    ExecutionOrigin
  22. lazy val isExecutedFromMaven: Boolean

    Permalink

    return true if the current test is executed with Maven

    return true if the current test is executed with Maven

    Definition Classes
    ExecutionOrigin
  23. lazy val isExecutedFromSBT: Boolean

    Permalink

    return true if the current test is executed with sbt

    return true if the current test is executed with sbt

    Definition Classes
    ExecutionOrigin
  24. def isFromClass(classNamePredicate: (String) ⇒ Boolean, st: Seq[StackTraceElement]): Boolean

    Permalink

    returns

    true if there is a stacktrace element satisfying the predicate

    Definition Classes
    Stacktraces
  25. def isFromClass(classNamePredicate: (String) ⇒ Boolean): Boolean

    Permalink

    returns

    true if there is a stacktrace element satisfying the predicate

    Definition Classes
    Stacktraces
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. def isSpecificationFromSpecs2orScalaz(st: Seq[StackTraceElement]): Boolean

    Permalink

    try to approximate if a specification is a specs2 one or scalaz one by passing name = org.specs2 or name = scalaz

    try to approximate if a specification is a specs2 one or scalaz one by passing name = org.specs2 or name = scalaz

    Definition Classes
    ExecutionOrigin
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ExecutionOrigin

Inherited from Stacktraces

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from StackTraceFilter

Inherited from AnyRef

Inherited from Any

Ungrouped