ScalaTest 1.1
|
|
org/scalatest/fixture/FixtureSuite.scala
]
protected
trait
OneArgTest
extends
(FixtureParam) => Unit
The FixtureSuite
trait's implementation of runTest
passes instances of this trait
to FixtureSuite
's withFixture
method, such as:
def testSomething(fixture: Fixture) { // ... } def testSomethingElse(fixture: Fixture, info: Informer) { // ... }
For more detail and examples, see the
documentation for trait FixtureSuite
.
Method Summary | |
abstract def
|
apply
(fixture : FixtureParam) : Unit
Run the test, using the passed
FixtureParam . |
abstract def
|
configMap
: scala.collection.immutable.Map[java.lang.String, Any]
Return a
Map[String, Any] containing objects that can be used
to configure the fixture and test. |
abstract def
|
name
: java.lang.String
The name of this test.
|
Methods inherited from scala.Function1 | |
scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
abstract
def
name : java.lang.String
abstract
def
apply(fixture : FixtureParam) : Unit
FixtureParam
.abstract
def
configMap : scala.collection.immutable.Map[java.lang.String, Any]
Map[String, Any]
containing objects that can be used
to configure the fixture and test.
ScalaTest 1.1
|
|