org.scalatest.fixture

trait ConfigMapFixture

[source: org/scalatest/fixture/ConfigMapFixture.scala]

trait ConfigMapFixture
extends AnyRef
Trait that when mixed into a FixtureSuite ensures the configMap passed to runTest is passed along as a fixture into each test.
Direct Known Subclasses:
MultipleFixtureFeatureSpec, MultipleFixtureFlatSpec, MultipleFixtureFunSuite, MultipleFixtureSpec, MultipleFixtureWordSpec

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
type FixtureParam
The type of the configMap, which is Map[String, Any].

Method Details
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.
Parameters
fun - the OneArgTest to invoke, passing in the configMap fixture


Copyright (C) 2001-2010 Artima, Inc. All rights reserved.