Interface
caplin.testing

FixtureFactory

An implementing FixtureFactory can have an optional setUp method which will be called before each test is executed and can be used to reset the state of a test and its stubs.

Constructor Summary

Attributes Name and Description
caplin.testing.FixtureFactory()

Constructs a FixtureFactory .

Method Summary

Attributes Name and Description
void addFixtures(caplin.testing.FixtureRegistry oFixtureRegistry)

This method is called once by the test-runner after the FixtureFactory is constructed.

Constructor Detail

caplin.testing.FixtureFactory()

Constructs a FixtureFactory .

Method Detail

void addFixtures(caplin.testing.FixtureRegistry oFixtureRegistry)

This method is called once by the test-runner after the FixtureFactory is constructed. The implementation should add to the test runner all the fixtures that are needed by the tests.

Parameters
caplin.testing.FixtureRegistry oFixtureRegistry The registry to which the fixtures should be registered.