class Runner extends TestInfo

Run a single test. Rubber meets road.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Runner
  2. TestInfo
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Runner(testFile: java.io.File, suiteRunner: SuiteRunner, nestUI: NestUI)

Type Members

  1. abstract class CompileRound extends AnyRef
  2. case class OnlyJava(fs: List[java.io.File]) extends CompileRound with Product with Serializable
  3. case class OnlyScala(fs: List[java.io.File]) extends CompileRound with Product with Serializable
  4. type RanOneTest = (Boolean, LogContext)
  5. case class ScalaAndJava(fs: List[java.io.File]) extends CompileRound with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def ant(args: Seq[String], output: java.io.File): Boolean
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def attemptCompile(sources: List[java.io.File]): TestState
  7. val checkFile: File
    Definition Classes
    RunnerTestInfo
  8. def cleanup(): Unit
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. def compilationRounds(file: java.io.File): List[CompileRound]
  11. def crashHandler: PartialFunction[Throwable, TestState]
    Attributes
    protected
  12. def currentDiff: String
  13. def diffIsOk: Boolean
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def execTestInProcess(classesDir: java.io.File, log: java.io.File): Boolean
  17. def extraClasspath: collection.immutable.List[nsc.io.File]
  18. def extraJavaOptions: Array[String]
  19. def fail(what: Any): Boolean
  20. val fileBase: String
  21. val fileManager: FileManager
  22. 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.

  23. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. val flagsFile: File
    Definition Classes
    RunnerTestInfo
  25. def flagsForCompilation(sources: List[java.io.File]): List[String]
  26. def genCrash(caught: Throwable): Crash
  27. def genFail(reason: String): Fail
  28. def genPass(): Pass
  29. def genTimeout(): Fail
  30. def genUpdated(): Updated
  31. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def gitDiff(f1: java.io.File, f2: java.io.File): Option[String]
  33. val gitDiffOptions: String
  34. val gitRunner: Option[java.io.File]
  35. def groupedFiles(sources: List[java.io.File]): List[List[java.io.File]]

    Grouped files in group order, and lex order within each group.

  36. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  37. def isEnumeratedTest: Boolean
  38. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  39. def javac(files: List[java.io.File]): TestState
  40. val kind: String
    Definition Classes
    RunnerTestInfo
  41. def lastState: TestState
  42. val logFile: java.io.File
    Definition Classes
    RunnerTestInfo
  43. def mixedCompileGroup(allFiles: List[java.io.File]): List[CompileRound]
  44. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  45. val nestUI: NestUI
  46. def newCompiler: DirectCompiler
  47. def newTestWriters(): (java.io.StringWriter, PrintWriter)
  48. 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.

  49. def nextTestActionExpectTrue(reason: String, body: ⇒ Boolean): Boolean
  50. def nextTestActionFailing(reason: String): Boolean
  51. 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.

  52. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  53. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  54. lazy val outDir: File
  55. val outFile: File
    Definition Classes
    RunnerTestInfo
  56. val parentFile: java.io.File
  57. def propertyOptions(fork: Boolean): List[(String, String)]
  58. def pushTranscript(msg: String): TestTranscript
  59. def run(): (TestState, Long)
  60. def runAntTest(): (Boolean, LogContext)
  61. 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
  62. 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

  63. def runNegTest(): (Boolean, LogContext)
  64. def runResidentTest(): (Boolean, LogContext)
  65. def runScalapTest(): (Boolean, LogContext)
  66. def runScriptTest(): (Boolean, LogContext)
  67. def runTestCommon(andAlso: ⇒ Boolean): (Boolean, LogContext)
  68. def setLastState(s: TestState): Unit
  69. def showCrashInfo(t: Throwable): Unit
  70. def sources(file: java.io.File): List[java.io.File]

    Source files for the given test file.

  71. val suiteRunner: SuiteRunner
  72. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  73. val testFile: java.io.File
    Definition Classes
    RunnerTestInfo
  74. val testIdent: String
    Definition Classes
    RunnerTestInfo
  75. def testPrompt: String
  76. def toString(): String
    Definition Classes
    Runner → AnyRef → Any
  77. def toolArgs(tool: String, split: Boolean = true): List[String]
  78. def toolArgsFor(files: List[java.io.File])(tool: String, split: Boolean = true): List[String]
  79. def transcript: List[String]
  80. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  81. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from TestInfo

Inherited from AnyRef

Inherited from Any

Ungrouped