abstract class DirectTest extends App
A class for testing code which is embedded as a string. It allows for more complete control over settings, compiler configuration, sequence of events, etc. than does partest.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- DirectTest
- App
- DelayedInit
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new DirectTest()
Type Members
- class TestUnderJavaAtLeast [A] extends AnyRef
Concrete 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
args: Array[String]
- Attributes
- protected
- Definition Classes
- App
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def compilationUnits(global: Global)(sourceCodes: String*): List[nsc.Global.CompilationUnit]
- def compile(args: String*): Boolean
- def compileString(global: Global)(sourceCode: String): Boolean
-
def
debugSettings: String
- Attributes
- protected
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
val
executionStart: Long
- Definition Classes
- App
- def extraSettings: String
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
isDebug: Boolean
Debugger interest only below this line *
Debugger interest only below this line *
- Attributes
- protected
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def javaCompilationUnits(global: Global)(sourceCodes: String*): List[nsc.Global.CompilationUnit]
- final def log(msg: ⇒ Any): Unit
-
final
def
main(args: Array[String]): Unit
- Definition Classes
- App
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newCompiler(settings: Settings): Global
- def newCompiler(args: String*): Global
- def newJavaSources(codes: String*): List[BatchSourceFile]
- def newSettings(args: List[String]): Settings
- def newSources(codes: String*): List[BatchSourceFile]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def reporter(settings: Settings): Reporter
- def settings: Settings
- def sourceFilesToCompiledUnits(global: Global)(files: List[SourceFile]): List[nsc.Global.CompilationUnit]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def testOutput: reflect.io.Directory
- def testPath: reflect.io.File
-
def
testUnderJavaAtLeast[A](version: String)(yesRun: ⇒ A): TestUnderJavaAtLeast[A]
Run a test only if the current java version is at least the version specified.
-
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
- @throws( ... )
- def withRun[T](global: Global)(f: (Run) ⇒ T): T
Deprecated Value Members
-
def
delayedInit(body: ⇒ Unit): Unit
- Definition Classes
- App → DelayedInit
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) the delayedInit mechanism will disappear