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. def finalize(): Unit

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

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

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

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

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

    Permalink

    return true if the current test is executed from an IDE

  15. lazy val isExecutedFromEclipse: Boolean

    Permalink

    return true if the current test is executed with eclipse

  16. lazy val isExecutedFromGradle: Boolean

    Permalink

    return true if the current test is executed with Gradle

  17. lazy val isExecutedFromIntellij: Boolean

    Permalink

    return true if the current test is executed with Intellij

  18. lazy val isExecutedFromMaven: Boolean

    Permalink

    return true if the current test is executed with Maven

  19. lazy val isExecutedFromSBT: Boolean

    Permalink

    return true if the current test is executed with sbt

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

    Permalink

    returns

    true if there is a stacktrace element satisfying the predicate

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

    Permalink

    returns

    true if there is a stacktrace element satisfying the predicate

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

    Permalink
    Definition Classes
    Any
  23. 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

  24. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

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

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

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

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

Inherited from Stacktraces

Inherited from AnyRef

Inherited from Any

Ungrouped