Package de.gebit.integrity.fixtures
Interface ArbitraryParameterFixture
-
public interface ArbitraryParameterFixture
Interface for fixtures that allow for arbitrary, non-predetermined parameters to be specified. Fixtures that want to use the arbitrary parameter system must implement this interface class.
Fixture methods with arbitrary parameters generally look like normal fixture methods and may contain fixed parameters as well, but they are required to add a singleMap
parameter, which will be used to supply the arbitrary parameters. That map doesn't have to have an attached FixtureParameter
annotation like fixed parameters.
Usually, arbitrary parameter fixture classes are used in conjunction with anArbitraryParameterEnumerator
for each. The enumerator class gets linked to its fixture class and is responsible for providing information about valid parameters for content assist during test script editing, while the fixture class provides information about valid parameters for type conversion purposes at runtime.- Author:
- Rene Schneider - initial API and implementation