ScalaTest 1.0
|
|
trait
JMockCycleFixture
extends
AnyRefJMockCycle
into any test that needs one.
This trait, which must be mixed into a FixtureSuite
, defines the
Fixture
type to be JMockCycle
and defines a
withFixture
method that instantiates a new JMockCycle
and passes it to the test function.
Type Summary | |
type
|
FixtureParam
Defines the
Fixture type to be JMockCycle . |
Method Summary | |
def
|
withFixture
(test : OneArgTest) : Unit
Instantiates a new
JMockCycle and passes it to the test function. |
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
JMockCycle
and passes it to the test function.test -
the test function to which to pass a new JMockCycle
ScalaTest 1.0
|
|