trait ExecutionOrigin extends Stacktraces
This trait is used primarily to change the junit behavior depending on the execution environment
- Alphabetic
- By Inheritance
- ExecutionOrigin
- Stacktraces
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- lazy val excludeFromReporting: Boolean
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def fromSpecs2orScalaz: (String) ⇒ Boolean
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isExecutedFrom(name: String, st: Seq[StackTraceElement]): Boolean
- Definition Classes
- 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.
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
-
lazy val
isExecutedFromAnIDE: Boolean
return true if the current test is executed from an IDE
-
lazy val
isExecutedFromBazel: Boolean
return true if the current test is executed with Bazel
-
lazy val
isExecutedFromEclipse: Boolean
return true if the current test is executed with eclipse
-
lazy val
isExecutedFromGradle: Boolean
return true if the current test is executed with Gradle
-
lazy val
isExecutedFromIntellij: Boolean
return true if the current test is executed with Intellij
-
lazy val
isExecutedFromJUnitCore: Boolean
return true if the current test is executed with JUnitCore
-
lazy val
isExecutedFromMaven: Boolean
return true if the current test is executed with Maven
-
lazy val
isExecutedFromSBT: Boolean
return true if the current test is executed with sbt
-
lazy val
isExecutedFromScalaJs: Boolean
return true if the current test is executed with Scala.js
-
def
isFromClass(classNamePredicate: (String) ⇒ Boolean, st: Seq[StackTraceElement]): Boolean
- returns
true if there is a stacktrace element satisfying the predicate
- Definition Classes
- Stacktraces
-
def
isFromClass(classNamePredicate: (String) ⇒ Boolean): Boolean
- returns
true if there is a stacktrace element satisfying the predicate
- Definition Classes
- Stacktraces
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )