Class AllMembersSupplier
- java.lang.Object
- org.junit.experimental.theories.ParameterSupplier
- org.junit.experimental.theories.internal.AllMembersSupplier
- Direct Known Subclasses:
SpecificDataPointsSupplier
public class AllMembersSupplier extends ParameterSupplier
Supplies Theory parameters based on all public members of the target class.
Constructor Summary
Constructors Constructor Description AllMembersSupplier(TestClass type)
Constructs a new supplier fortype
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Collection<Field>
getDataPointsFields(ParameterSignature sig)
protected Collection<FrameworkMethod>
getDataPointsMethods(ParameterSignature sig)
protected Collection<Field>
getSingleDataPointFields(ParameterSignature sig)
protected Collection<FrameworkMethod>
getSingleDataPointMethods(ParameterSignature sig)
List<PotentialAssignment>
getValueSources(ParameterSignature sig)
Constructor Detail
AllMembersSupplier
public AllMembersSupplier(TestClass type)
Constructs a new supplier fortype
Method Detail
getValueSources
public List<PotentialAssignment> getValueSources(ParameterSignature sig) throws Throwable
- Specified by:
getValueSources
in classParameterSupplier
- Throws:
Throwable
getDataPointsMethods
protected Collection<FrameworkMethod> getDataPointsMethods(ParameterSignature sig)
getSingleDataPointFields
protected Collection<Field> getSingleDataPointFields(ParameterSignature sig)
getDataPointsFields
protected Collection<Field> getDataPointsFields(ParameterSignature sig)
getSingleDataPointMethods
protected Collection<FrameworkMethod> getSingleDataPointMethods(ParameterSignature sig)