trait ExecutionOrigin extends Stacktraces

This trait is used primarily to change the junit behavior depending on the execution environment

Linear Supertypes
Stacktraces, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExecutionOrigin
  2. Stacktraces
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. lazy val excludeFromReporting: Boolean
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def fromSpecs2orScalaz: (String) ⇒ Boolean
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def isExecutedFrom(name: String, st: Seq[StackTraceElement]): Boolean
    Definition Classes
    Stacktraces
  14. def isExecutedFrom(name: String): Boolean

    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
  15. lazy val isExecutedFromAnIDE: Boolean

    return true if the current test is executed from an IDE

  16. lazy val isExecutedFromBazel: Boolean

    return true if the current test is executed with Bazel

  17. lazy val isExecutedFromEclipse: Boolean

    return true if the current test is executed with eclipse

  18. lazy val isExecutedFromGradle: Boolean

    return true if the current test is executed with Gradle

  19. lazy val isExecutedFromIntellij: Boolean

    return true if the current test is executed with Intellij

  20. lazy val isExecutedFromJUnitCore: Boolean

    return true if the current test is executed with JUnitCore

  21. lazy val isExecutedFromMaven: Boolean

    return true if the current test is executed with Maven

  22. lazy val isExecutedFromSBT: Boolean

    return true if the current test is executed with sbt

  23. lazy val isExecutedFromScalaJs: Boolean

    return true if the current test is executed with Scala.js

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

    returns

    true if there is a stacktrace element satisfying the predicate

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

    returns

    true if there is a stacktrace element satisfying the predicate

    Definition Classes
    Stacktraces
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def isSpecificationFromSpecs2orScalaz(st: Seq[StackTraceElement]): Boolean

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

  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Stacktraces

Inherited from AnyRef

Inherited from Any

Ungrouped