object Invoker
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Invoker
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def findMeasurementFiles(dataDir: File): Array[File]
- def findMeasurementFiles(dataDir: String): Array[File]
- def getCallingScalaTest: String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def invoked(files: Seq[File]): Set[Int]
- def invoked(id: Int, dataDir: String, reportTestName: Boolean = false): Unit
We record that the given id has been invoked by appending its id to the coverage data file.
We record that the given id has been invoked by appending its id to the coverage data file.
This will happen concurrently on as many threads as the application is using, so we use one file per thread, named for the thread id.
This method is not thread-safe if the threads are in different JVMs, because the thread IDs may collide. You may not use
scoverage
on multiple processes in parallel without risking corruption of the measurement file.- id
the id of the statement that was invoked
- dataDir
the directory where the measurement data is held
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def measurementFile(dataDir: String): File
- def measurementFile(dataDir: File): File
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)