Trait/Object

org.specs2.control

ExecutionOrigin

Related Docs: object ExecutionOrigin | package control

Permalink

trait ExecutionOrigin extends Stacktraces

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

Linear Supertypes
Stacktraces, AnyRef, Any
Known Subclasses
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

    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. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. lazy val excludeFromReporting: Boolean

    Permalink
  9. def finalize(): Unit

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

    Permalink
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. def isExecutedFrom(name: String, st: Seq[StackTraceElement]): Boolean

    Permalink
    Definition Classes
    Stacktraces
  14. 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
  15. lazy val isExecutedFromAnIDE: Boolean

    Permalink

    return true if the current test is executed from an IDE

  16. lazy val isExecutedFromBazel: Boolean

    Permalink

    return true if the current test is executed with Bazel

  17. lazy val isExecutedFromEclipse: Boolean

    Permalink

    return true if the current test is executed with eclipse

  18. lazy val isExecutedFromGradle: Boolean

    Permalink

    return true if the current test is executed with Gradle

  19. lazy val isExecutedFromIntellij: Boolean

    Permalink

    return true if the current test is executed with Intellij

  20. lazy val isExecutedFromJUnitCore: Boolean

    Permalink

    return true if the current test is executed with JUnitCore

  21. lazy val isExecutedFromMaven: Boolean

    Permalink

    return true if the current test is executed with Maven

  22. lazy val isExecutedFromSBT: Boolean

    Permalink

    return true if the current test is executed with sbt

  23. lazy val isExecutedFromScalaJs: Boolean

    Permalink

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

  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

  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. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

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

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

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

Inherited from Stacktraces

Inherited from AnyRef

Inherited from Any

Ungrouped