org.junitext
Annotation Type XMLParameters


@Retention(value=RUNTIME)
@Target(value=CONSTRUCTOR)
public @interface XMLParameters

Marks a test class constructor as being paramaterized by the given XML file. The XMLParameters annotation also optionally allows a user to specify the ParameterFactory implementation to use when creating the parameters.


Required Element Summary
 java.lang.String value
          The XML File to create the JavaBeans from.
 
Optional Element Summary
 java.lang.Class<? extends ParameterFactory> beanFactory
          Specifies the ParameterFactory implementation to use when creating the beans.
 

Element Detail

value

public abstract java.lang.String value
The XML File to create the JavaBeans from.

Returns:
the file name

beanFactory

public abstract java.lang.Class<? extends ParameterFactory> beanFactory
Specifies the ParameterFactory implementation to use when creating the beans. If this parameter is not specified, then the default is to use DigesterParameterFactory.

Returns:
the factory class
Default:
org.junitext.runners.parameters.factory.DigesterParameterFactory.class