trait TestDriver extends Driver with TestCompilerWithConfig[ModuleDecl, Oberon0Config]
A driver for testing.
- Self Type
- TestDriver with SymbolTable with CompilerBase[ModuleDecl, Oberon0Config]
- Source
- DriverTests.scala
- Alphabetic
- By Inheritance
- TestDriver
- TestCompilerWithConfig
- Tests
- Checkers
- Configuration
- BeforeAndAfterAll
- BeforeAndAfter
- SuiteMixin
- FunSuiteLike
- Documenting
- Alerting
- Notifying
- Informing
- TestRegistration
- TestSuite
- Suite
- Serializable
- Serializable
- Assertions
- TripleEquals
- TripleEqualsSupport
- Driver
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
AssertionsHelper extends AnyRef
- Definition Classes
- Assertions
-
class
CheckingEqualizer[L] extends AnyRef
- Definition Classes
- TripleEqualsSupport
-
class
Equalizer[L] extends AnyRef
- Definition Classes
- TripleEqualsSupport
-
case class
MaxDiscardedFactor extends PropertyCheckConfigParam with Product with Serializable
- Definition Classes
- Configuration
-
case class
MinSize extends PropertyCheckConfigParam with Product with Serializable
- Definition Classes
- Configuration
-
case class
MinSuccessful extends PropertyCheckConfigParam with Product with Serializable
- Definition Classes
- Configuration
-
trait
NoArgTest extends () ⇒ Outcome with TestData
- Attributes
- protected
- Definition Classes
- TestSuite
-
sealed abstract
class
PropertyCheckConfigParam extends Product with Serializable
- Definition Classes
- Configuration
-
case class
PropertyCheckConfiguration extends PropertyCheckConfigurable with Product with Serializable
- Definition Classes
- Configuration
-
case class
SizeRange extends PropertyCheckConfigParam with Product with Serializable
- Definition Classes
- Configuration
-
case class
Workers extends PropertyCheckConfigParam with Product with Serializable
- Definition Classes
- Configuration
-
case class
MaxDiscarded extends PropertyCheckConfigParam with Product with Serializable
- Definition Classes
- Configuration
- Annotations
- @deprecated
- Deprecated
-
case class
MaxSize extends PropertyCheckConfigParam with Product with Serializable
- Definition Classes
- Configuration
- Annotations
- @deprecated
- Deprecated
use SizeRange instead
-
case class
PropertyCheckConfig extends PropertyCheckConfigurable with Product with Serializable
- Definition Classes
- Configuration
- Annotations
- @deprecated
- Deprecated
Use PropertyCheckConfiguration instead
-
trait
PropertyCheckConfigurable extends AnyRef
- Definition Classes
- Configuration
- Annotations
- @deprecated
- Deprecated
Use PropertyCheckConfiguration directly instead.
Abstract Value Members
-
abstract
def
artefact: String
The name of this artefact.
The name of this artefact.
- Definition Classes
- Driver
-
abstract
def
langlevel: Int
The language level of this program.
The language level of this program. The levels are: base: basic module structure; empty statements L0: const, var, type decls; basic types; expressions; assignment stmts L1: if and while statements L2: for and case statements L3: procedures, only local access to variables L4: arrays and records L5: L4 with unrestricted access to variables (FIXME: not implemented)
-
abstract
def
tasklevel: Int
The highest task level of this program.
The highest task level of this program. The levels are: 1 - parsing and pretty printing (LDTA 1) 2 - name analysis (LDTA 2) 3 - type analysis (LDTA 3) 4 - desugar (LDTA 4a) 5 - optimisation (LDTA 4b) (FIXME: not implemented) 6 - C code gen (LDTA 5a)
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
!==[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]
- Definition Classes
- TripleEqualsSupport
-
def
!==(right: Null): TripleEqualsInvocation[Null]
- Definition Classes
- TripleEqualsSupport
-
def
!==[T](right: T): TripleEqualsInvocation[T]
- Definition Classes
- TripleEqualsSupport
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
===[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]
- Definition Classes
- TripleEqualsSupport
-
def
===(right: Null): TripleEqualsInvocation[Null]
- Definition Classes
- TripleEqualsSupport
-
def
===[T](right: T): TripleEqualsInvocation[T]
- Definition Classes
- TripleEqualsSupport
-
implicit
def
PropertyCheckConfig2PropertyCheckConfiguration(p: (TestDriver.this)#PropertyCheckConfig): (TestDriver.this)#PropertyCheckConfiguration
- Definition Classes
- Configuration
-
def
after(fun: ⇒ Any)(implicit pos: Position): Unit
- Attributes
- protected
- Definition Classes
- BeforeAndAfter
-
def
afterAll(): Unit
- Attributes
- protected
- Definition Classes
- BeforeAndAfterAll
-
def
alert: Alerter
- Attributes
- protected
- Definition Classes
- FunSuiteLike → Alerting
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
macro
def
assert(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
-
macro
def
assert(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
-
macro
def
assertCompiles(code: String)(implicit pos: Position): Assertion
- Definition Classes
- Assertions
-
macro
def
assertDoesNotCompile(code: String)(implicit pos: Position): Assertion
- Definition Classes
- Assertions
-
def
assertMessage(received: Message, index: Int, expected: Message): Unit
Assert that a
receivedmessage at the given zero-basedindexconforms to an expected one in that it reports the same message label at the same position.Assert that a
receivedmessage at the given zero-basedindexconforms to an expected one in that it reports the same message label at the same position.- Definition Classes
- Tests
-
def
assertMessages(received: Messages, expected: Message*): Unit
Assert that the
receivedlist of messsages has recorded theexpectedmessages in the same order.Assert that the
receivedlist of messsages has recorded theexpectedmessages in the same order.- Definition Classes
- Tests
-
def
assertNotOptSame(expected: Any)(actual: Any): Unit
Analogous to ScalaTest's
assertResultbut it usesoptsameto compare the two values instead of equality.Analogous to ScalaTest's
assertResultbut it usesoptsameto compare the two values instead of equality.- Definition Classes
- Tests
-
def
assertNotSame(expected: Any)(actual: Any): Unit
Analogous to ScalaTest's
assertResultbut it usessameto compare the two values instead of equality.Analogous to ScalaTest's
assertResultbut it usessameto compare the two values instead of equality.- Definition Classes
- Tests
-
def
assertOptSame(expected: Any)(actual: Any): Unit
Analogous to ScalaTest's
assertResultbut it usesoptsameto compare the two values instead of equality.Analogous to ScalaTest's
assertResultbut it usesoptsameto compare the two values instead of equality.- Definition Classes
- Tests
-
def
assertResult(expected: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
-
def
assertResult(expected: Any, clue: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
-
def
assertSame(expected: Any)(actual: Any): Unit
Analogous to ScalaTest's
assertResultbut it usessameto compare the two values instead of equality.Analogous to ScalaTest's
assertResultbut it usessameto compare the two values instead of equality.- Definition Classes
- Tests
-
def
assertThrows[T <: AnyRef](f: ⇒ Any)(implicit classTag: ClassTag[T], pos: Position): Assertion
- Definition Classes
- Assertions
-
macro
def
assertTypeError(code: String)(implicit pos: Position): Assertion
- Definition Classes
- Assertions
-
val
assertionsHelper: (TestDriver.this)#AssertionsHelper
- Definition Classes
- Assertions
-
macro
def
assume(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
-
macro
def
assume(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
-
def
before(fun: ⇒ Any)(implicit pos: Position): Unit
- Attributes
- protected
- Definition Classes
- BeforeAndAfter
-
def
beforeAll(): Unit
- Attributes
- protected
- Definition Classes
- BeforeAndAfterAll
-
def
cancel(cause: Throwable)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
-
def
cancel(message: String, cause: Throwable)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
-
def
cancel(message: String)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
-
def
cancel()(implicit pos: Position): Nothing
- Definition Classes
- Assertions
-
def
check[ASSERTION](p: Prop, configParams: (TestDriver.this)#PropertyCheckConfigParam*)(implicit config: (TestDriver.this)#PropertyCheckConfigurable, asserting: CheckerAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result
- Definition Classes
- Checkers
-
def
check[ASSERTION](p: Prop, prms: Parameters)(implicit asserting: CheckerAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result
- Definition Classes
- Checkers
-
def
check[A1, A2, A3, A4, A5, A6, P, ASSERTION](f: (A1, A2, A3, A4, A5, A6) ⇒ P, configParams: (TestDriver.this)#PropertyCheckConfigParam*)(implicit config: (TestDriver.this)#PropertyCheckConfigurable, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty, a3: Arbitrary[A3], s3: Shrink[A3], pp3: (A3) ⇒ Pretty, a4: Arbitrary[A4], s4: Shrink[A4], pp4: (A4) ⇒ Pretty, a5: Arbitrary[A5], s5: Shrink[A5], pp5: (A5) ⇒ Pretty, a6: Arbitrary[A6], s6: Shrink[A6], pp6: (A6) ⇒ Pretty, asserting: CheckerAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result
- Definition Classes
- Checkers
-
def
check[A1, A2, A3, A4, A5, P, ASSERTION](f: (A1, A2, A3, A4, A5) ⇒ P, configParams: (TestDriver.this)#PropertyCheckConfigParam*)(implicit config: (TestDriver.this)#PropertyCheckConfigurable, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty, a3: Arbitrary[A3], s3: Shrink[A3], pp3: (A3) ⇒ Pretty, a4: Arbitrary[A4], s4: Shrink[A4], pp4: (A4) ⇒ Pretty, a5: Arbitrary[A5], s5: Shrink[A5], pp5: (A5) ⇒ Pretty, asserting: CheckerAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result
- Definition Classes
- Checkers
-
def
check[A1, A2, A3, A4, P, ASSERTION](f: (A1, A2, A3, A4) ⇒ P, configParams: (TestDriver.this)#PropertyCheckConfigParam*)(implicit config: (TestDriver.this)#PropertyCheckConfigurable, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty, a3: Arbitrary[A3], s3: Shrink[A3], pp3: (A3) ⇒ Pretty, a4: Arbitrary[A4], s4: Shrink[A4], pp4: (A4) ⇒ Pretty, asserting: CheckerAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result
- Definition Classes
- Checkers
-
def
check[A1, A2, A3, P, ASSERTION](f: (A1, A2, A3) ⇒ P, configParams: (TestDriver.this)#PropertyCheckConfigParam*)(implicit config: (TestDriver.this)#PropertyCheckConfigurable, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty, a3: Arbitrary[A3], s3: Shrink[A3], pp3: (A3) ⇒ Pretty, asserting: CheckerAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result
- Definition Classes
- Checkers
-
def
check[A1, A2, P, ASSERTION](f: (A1, A2) ⇒ P, configParams: (TestDriver.this)#PropertyCheckConfigParam*)(implicit config: (TestDriver.this)#PropertyCheckConfigurable, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty, asserting: CheckerAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result
- Definition Classes
- Checkers
-
def
check[A1, P, ASSERTION](f: (A1) ⇒ P, configParams: (TestDriver.this)#PropertyCheckConfigParam*)(implicit config: (TestDriver.this)#PropertyCheckConfigurable, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, asserting: CheckerAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result
- Definition Classes
- Checkers
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
conversionCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], cnv: (B) ⇒ A): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
def
convertEquivalenceToAToBConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: <:<[A, B]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
def
convertEquivalenceToAToBConversionConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: (A) ⇒ B): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
def
convertEquivalenceToBToAConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: <:<[B, A]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
def
convertEquivalenceToBToAConversionConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: (B) ⇒ A): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
def
convertToCheckingEqualizer[T](left: T): (TestDriver.this)#CheckingEqualizer[T]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
implicit
def
convertToEqualizer[T](left: T): (TestDriver.this)#Equalizer[T]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
def
createConfig(args: Seq[String], output: Emitter = new OutputEmitter, error: Emitter = new ErrorEmitter): Oberon0Config
In the test configuration we pretty print the source and C ASTs by default.
-
def
defaultEquality[A]: Equality[A]
- Definition Classes
- TripleEqualsSupport
-
def
dosanitisation: Boolean
Flag to decide whether to sanitise the output before comparison of test results with expected results (see
sanitisemethod).Flag to decide whether to sanitise the output before comparison of test results with expected results (see
sanitisemethod). Default is true; override with false if you want actual results compared.- Definition Classes
- TestCompilerWithConfig
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
execute(testName: String, configMap: ConfigMap, color: Boolean, durations: Boolean, shortstacks: Boolean, fullstacks: Boolean, stats: Boolean): Unit
- Definition Classes
- Suite
-
def
expectedTestCount(filter: Filter): Int
- Definition Classes
- Suite
-
def
fail(cause: Throwable)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
-
def
fail(message: String, cause: Throwable)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
-
def
fail(message: String)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
-
def
fail()(implicit pos: Position): Nothing
- Definition Classes
- Assertions
-
def
failExpectedTest[T](expected: T, found: T, description: String = ""): Unit
Fail a test with a message about finding something and expecting something else.
Fail a test with a message about finding something and expecting something else.
- Definition Classes
- Tests
-
def
filetests(name: String, path: String, srcext: String, resext: String, optinext: Option[String] = None, indefault: String = "", argslist: Seq[Seq[String]] = Seq (Seq ())): Unit
Make tests that process the files in path.
Make tests that process the files in path.
nameis an identifying name for this set of tests. All files whose names end insrcextare processed. Processing is done by the functioncompilewhich must return eitherSome (s)wheresis the output orNoneif processing failed. Ifsrcextis.xandresextis.y, then the expected result forfoo.xis found in filefoo.y. IfoptinextisSome (z), thenfoo.zis used for standard input, if it exists, otherwise the stringindefaultis used. A test fails if either the processing fails or it succeeds with the wrong result.argslistis used to specify the sets of command-line arguments that you want to use. Each test is run with each set of arguments. The default is an empty argument list.- Definition Classes
- TestCompilerWithConfig
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
implicit
val
generatorDrivenConfig: (TestDriver.this)#PropertyCheckConfiguration
- Definition Classes
- Configuration
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
ignore(testName: String, testTags: Tag*)(testFun: ⇒ Any)(implicit pos: Position): Unit
- Attributes
- protected
- Definition Classes
- FunSuiteLike
-
def
info: Informer
- Attributes
- protected
- Definition Classes
- FunSuiteLike → Informing
-
def
initialiseSemanticAnalysis: Unit
Perform initialisation of semantic analysis that is necessary before processing an AST.
Perform initialisation of semantic analysis that is necessary before processing an AST.
- Definition Classes
- Driver
-
def
intercept[T <: AnyRef](f: ⇒ Any)(implicit classTag: ClassTag[T], pos: Position): T
- Definition Classes
- Assertions
-
val
invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected: Boolean
- Definition Classes
- BeforeAndAfterAll
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lowPriorityConversionCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], cnv: (A) ⇒ B): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
def
lowPriorityTypeCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], ev: <:<[A, B]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
def
markup: Documenter
- Attributes
- protected
- Definition Classes
- FunSuiteLike → Documenting
-
def
maxDiscardedFactor(value: PosZDouble): (TestDriver.this)#MaxDiscardedFactor
- Definition Classes
- Configuration
-
val
maxlanglevel: Int
The maximum language level we support.
-
def
minSize(value: PosZInt): (TestDriver.this)#MinSize
- Definition Classes
- Configuration
-
def
minSuccessful(value: PosInt): (TestDriver.this)#MinSuccessful
- Definition Classes
- Configuration
-
def
mktests(proglang: String): Unit
Make the tests for a given language subset.
Make the tests for a given language subset. proglang denotes the language subset whose tests are used.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nestedSuites: IndexedSeq[Suite]
- Definition Classes
- Suite
-
def
note: Notifier
- Attributes
- protected
- Definition Classes
- FunSuiteLike → Notifying
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
pending: Assertion with PendingStatement
- Definition Classes
- Assertions
-
def
pendingUntilFixed(f: ⇒ Unit)(implicit pos: Position): Assertion with PendingStatement
- Definition Classes
- Assertions
-
final
def
registerIgnoredTest(testText: String, testTags: Tag*)(testFun: ⇒ Any)(implicit pos: Position): Unit
- Definition Classes
- FunSuiteLike → TestRegistration
-
final
def
registerTest(testText: String, testTags: Tag*)(testFun: ⇒ Any)(implicit pos: Position): Unit
- Definition Classes
- FunSuiteLike → TestRegistration
-
def
rerunner: Option[String]
- Definition Classes
- Suite
-
def
run(testName: Option[String], args: Args): Status
- Definition Classes
- BeforeAndAfterAll → SuiteMixin
-
def
runNestedSuites(args: Args): Status
- Attributes
- protected
- Definition Classes
- Suite
-
def
runTest(testName: String, args: Args): Status
- Attributes
- protected
- Definition Classes
- BeforeAndAfter → SuiteMixin
-
def
runTests(testName: Option[String], args: Args): Status
- Attributes
- protected
- Definition Classes
- FunSuiteLike → Suite
-
def
sanitise(s: String): String
Sanitise the output from a test.
Sanitise the output from a test. Remove any output that doesn't make sense to this program. I.e., if we are running a program that performs tasks 1-m, then any lines marked with [p], where p > m should be removed before comparison. Also, there can be three numbers, a'la [p,q,r] where p is as before and q (r) are lower (upper) inclusive bounds on the language level to which this output should apply. If p is omitted, the output applies to all task levels. If p is given, but q and r are omitted, the output also applies to all language levels.
- Definition Classes
- TestDriver → TestCompilerWithConfig
-
def
section(emitter: Emitter, name: String): Unit
Output a section heading so that the output can be split later.
Output a section heading so that the output can be split later.
- Definition Classes
- Driver
-
def
sizeRange(value: PosZInt): (TestDriver.this)#SizeRange
- Definition Classes
- Configuration
-
final
val
styleName: String
- Definition Classes
- FunSuiteLike → Suite
-
final
val
succeed: Assertion
- Definition Classes
- Assertions
-
def
suiteId: String
- Definition Classes
- Suite
-
def
suiteName: String
ScalaTest by default only shows the unqualified class name when it displays the name of the suite.
ScalaTest by default only shows the unqualified class name when it displays the name of the suite. If a suite class name is used in more than one package we can't tell them apart. Here we override the name that is printed so that we get a project relative source file name as well.
This definition assumes that the test suite resides in the library project, that the name of the suite class is the same as the basename of the file and that the file is located in the folder given by the package name.
- Definition Classes
- Tests → SuiteMixin → Suite
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tags: Map[String, Set[String]]
- Definition Classes
- FunSuiteLike → Suite
-
def
test(testName: String, testTags: Tag*)(testFun: ⇒ Any)(implicit pos: Position): Unit
- Attributes
- protected
- Definition Classes
- FunSuiteLike
-
def
testDataFor(testName: String, theConfigMap: ConfigMap): TestData
- Definition Classes
- FunSuiteLike → Suite
-
def
testNames: Set[String]
- Definition Classes
- FunSuiteLike → Suite
-
def
testdriver(config: Oberon0Config): Unit
Run the compiler in test mode using the given configuration.
Run the compiler in test mode using the given configuration.
- Definition Classes
- TestCompilerWithConfig
-
def
testsFor(unit: Unit): Unit
- Attributes
- protected
- Definition Classes
- FunSuiteLike
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
typeCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], ev: <:<[B, A]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
implicit
def
unconstrainedEquality[A, B](implicit equalityOfA: Equality[A]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
-
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
withClue[T](clue: Any)(fun: ⇒ T): T
- Definition Classes
- Assertions
-
def
withFixture(test: (TestDriver.this)#NoArgTest): Outcome
- Attributes
- protected
- Definition Classes
- TestSuite
-
def
workers(value: PosInt): (TestDriver.this)#Workers
- Definition Classes
- Configuration
-
object
FocusTest
extends Tag
A ScalaTest tag that enables us to focus attention on particular tests rather than running all of them each time.
A ScalaTest tag that enables us to focus attention on particular tests rather than running all of them each time. Add this as an argument to the particular test methods that you want to focus on. Then you can use an sbt command such as "test-only *RewriterTests -- -n FocusTest" to run just the tests in that suite with this tag.
- Definition Classes
- Tests
Deprecated Value Members
-
final
def
execute: Unit
- Definition Classes
- Suite
- Annotations
- @deprecated
- Deprecated
The parameterless execute method has been deprecated and will be removed in a future version of ScalaTest. Please invoke execute with empty parens instead: execute().
-
def
maxDiscarded(value: Int): (TestDriver.this)#MaxDiscarded
- Definition Classes
- Configuration
- Annotations
- @deprecated
- Deprecated
use maxDiscardedFactor instead
-
def
maxSize(value: Int): (TestDriver.this)#MaxSize
- Definition Classes
- Configuration
- Annotations
- @deprecated
- Deprecated
use SizeRange instead
-
def
trap[T](f: ⇒ T): Throwable
- Definition Classes
- Assertions
- Annotations
- @deprecated
- Deprecated
The trap method is no longer needed for demos in the REPL, which now abreviates stack traces, and will be removed in a future version of ScalaTest