类 AllMembersSupplier
- java.lang.Object
- org.junit.experimental.theories.ParameterSupplier
- org.junit.experimental.theories.internal.AllMembersSupplier
- 直接已知子类:
SpecificDataPointsSupplier
public class AllMembersSupplier extends ParameterSupplier
Supplies Theory parameters based on all public members of the target class.
构造器概要
构造器 构造器 说明 AllMembersSupplier(TestClass type)
Constructs a new supplier fortype
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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)
构造器详细资料
AllMembersSupplier
public AllMembersSupplier(TestClass type)
Constructs a new supplier fortype
方法详细资料
getValueSources
public List<PotentialAssignment> getValueSources(ParameterSignature sig) throws Throwable
- 指定者:
getValueSources
在类中ParameterSupplier
- 抛出:
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)