org.scalatest.mock

trait JMockCycleFixture

[source: org/scalatest/mock/JMockCycleFixture.scala]

trait JMockCycleFixture
extends AnyRef
Trait that will pass a new JMockCycle 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.

Author
Bill Venners
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
type FixtureParam
Defines the Fixture type to be JMockCycle.

Method Details
def withFixture(test : OneArgTest) : Unit
Instantiates a new JMockCycle and passes it to the test function.
Parameters
test - the test function to which to pass a new JMockCycle


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