ScalaTest 1.1
|
|
trait
ConfigMapFixture
extends
AnyRefFixtureSuite
ensures the
configMap
passed to runTest
is passed along
as a fixture into each test.Type Summary | |
type
|
FixtureParam
The type of the
configMap , which is Map[String, Any] . |
Method Summary | |
def
|
withFixture
(test : OneArgTest) : Unit
Invoke the test function, passing to the the test function the
configMap
obtained by invoking configMap on the passed OneArgTest . |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Type Details |
Method Details |
def
withFixture(test : OneArgTest) : Unit
configMap
obtained by invoking configMap
on the passed OneArgTest
.fun -
the OneArgTest
to invoke, passing in the configMap
fixture
ScalaTest 1.1
|
|