class Runner extends TestInfo
- Alphabetic
- By Inheritance
- Runner
- TestInfo
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Runner(testFile: java.io.File, suiteRunner: SuiteRunner, nestUI: NestUI)
Type Members
- abstract class CompileRound extends AnyRef
- case class OnlyJava(fs: List[java.io.File]) extends CompileRound with Product with Serializable
- case class OnlyScala(fs: List[java.io.File]) extends CompileRound with Product with Serializable
- type RanOneTest = (Boolean, LogContext)
- case class ScalaAndJava(fs: List[java.io.File]) extends CompileRound with Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Runner, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def attemptCompile(sources: List[java.io.File]): TestState
- val checkFile: File
pos/t1234.check
- def cleanup(): Unit
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws(classOf[java.lang.CloneNotSupportedException])
- def compilationRounds(file: java.io.File): List[CompileRound]
- def crashHandler: PartialFunction[Throwable, TestState]
- Attributes
- protected
- def currentDiff: String
- def diffIsOk: Boolean
- def ensuring(cond: (Runner) ⇒ Boolean, msg: ⇒ Any): Runner
- def ensuring(cond: (Runner) ⇒ Boolean): Runner
- def ensuring(cond: Boolean, msg: ⇒ Any): Runner
- def ensuring(cond: Boolean): Runner
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def execTestInProcess(classesDir: java.io.File, log: java.io.File): Boolean
- def extraClasspath: collection.immutable.List[nsc.io.File]
- def extraJavaOptions: Array[String]
- def fail(what: Any): Boolean
- val fileBase: String
- val fileManager: FileManager
- def filteredCheck: Seq[String]
Filter the check file for conditional blocks.
Filter the check file for conditional blocks. The check file can contain lines of the form:
#partest java7
where the line contains a conventional flag name. If the flag tests true, succeeding lines are retained (removed on false) until the next #partest flag. A missing flag evaluates the same as true. - def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val flagsFile: File
pos/t1234.flags
- def flagsForCompilation(sources: List[java.io.File]): List[String]
- def formatted(fmtstr: String): String
- def genCrash(caught: Throwable): Crash
- def genFail(reason: String): Fail
- def genPass(): Pass
- def genTimeout(): Fail
- def genUpdated(): Updated
- final def getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def gitDiff(f1: java.io.File, f2: java.io.File): Option[String]
- val gitDiffOptions: String
- val gitRunner: Option[java.io.File]
- def groupedFiles(sources: List[java.io.File]): List[List[java.io.File]]
Grouped files in group order, and lex order within each group.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isEnumeratedTest: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def javac(files: List[java.io.File]): TestState
- val kind: String
pos
- def lastState: TestState
- val logFile: java.io.File
pos/t1234-pos.log
- def mixedCompileGroup(allFiles: List[java.io.File]): List[CompileRound]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nestUI: NestUI
- def newCompiler: DirectCompiler
- def newTestWriters(): (java.io.StringWriter, PrintWriter)
- def nextTestAction[T](body: ⇒ T)(failFn: PartialFunction[T, TestState]): T
Evaluate an action body and update the test state.
Evaluate an action body and update the test state.
- failFn
optionally map a result to a test state.
- def nextTestActionExpectTrue(reason: String, body: ⇒ Boolean): Boolean
- def nextTestActionFailing(reason: String): Boolean
- def normalizeLog(): Unit
Normalize the log output by applying test-specific filters and fixing filesystem-specific paths.
Normalize the log output by applying test-specific filters and fixing filesystem-specific paths.
Line filters are picked up from
filter: pattern
at the top of sources. The filtered line is detected with a simple "contains" test, and yes, "filter" means "filter out" in this context.File paths are detected using the absolute path of the test root. A string that looks like a file path is normalized by replacing the leading segments (the root) with "$ROOT" and by replacing any Windows backslashes with the one true file separator char.
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val outDir: File
- val outFile: File
pos/t1234-pos.obj
- val parentFile: java.io.File
- def propertyOptions(fork: Boolean): List[(String, String)]
- def pushTranscript(msg: String): TestTranscript
- def run(): (TestState, Long)
- def runCommand(args: Seq[String], outFile: java.io.File): Boolean
Runs command redirecting standard out and error out to output file.
Runs command redirecting standard out and error out to output file.
- Attributes
- protected
- def runInContext(body: ⇒ Boolean): (Boolean, LogContext)
1.
1. Creates log file and output directory. 2. Runs script function, providing log file and output directory as arguments. 2b. or, just run the script without context and return a new context
- def runNegTest(): (Boolean, LogContext)
- def runResidentTest(): (Boolean, LogContext)
- def runScalapTest(): (Boolean, LogContext)
- def runScriptTest(): (Boolean, LogContext)
- def runTestCommon(andAlso: ⇒ Boolean): (Boolean, LogContext)
- def setLastState(s: TestState): Unit
- def showCrashInfo(t: Throwable): Unit
- def sources(file: java.io.File): List[java.io.File]
Source files for the given test file.
- val suiteRunner: SuiteRunner
- final def synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val testFile: java.io.File
pos/t1234.scala or pos/t1234 if dir
- val testIdent: String
pos/t1234
- def testPrompt: String
- def toString(): String
- Definition Classes
- Runner → AnyRef → Any
- def toolArgs(tool: String, split: Boolean = true): List[String]
- def toolArgsFor(files: List[java.io.File])(tool: String, split: Boolean = true): List[String]
- def transcript: List[String]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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
- @native() @throws(classOf[java.lang.InterruptedException])
- def →[B](y: B): (Runner, B)