org.junit.experimental.theories.internal
Class Assignments
java.lang.Object
org.junit.experimental.theories.internal.Assignments
public class Assignments
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Assignments
public Assignments(java.util.List<PotentialAssignment> assigned,
java.util.List<ParameterSignature> unassigned,
TestClass testClass)
allUnassigned
public static Assignments allUnassigned(java.lang.reflect.Method testMethod,
TestClass testClass)
throws java.lang.Exception
- Throws:
java.lang.Exception
isComplete
public boolean isComplete()
nextUnassigned
public ParameterSignature nextUnassigned()
assignNext
public Assignments assignNext(PotentialAssignment source)
getActualValues
public java.lang.Object[] getActualValues(int start,
int stop,
boolean nullsOk)
throws PotentialAssignment.CouldNotGenerateValueException
- Throws:
PotentialAssignment.CouldNotGenerateValueException
potentialsForNextUnassigned
public java.util.List<PotentialAssignment> potentialsForNextUnassigned()
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
getSupplier
public ParameterSupplier getSupplier(ParameterSignature unassigned)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
getAnnotatedSupplier
public ParameterSupplier getAnnotatedSupplier(ParameterSignature unassigned)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
getConstructorArguments
public java.lang.Object[] getConstructorArguments(boolean nullsOk)
throws PotentialAssignment.CouldNotGenerateValueException
- Throws:
PotentialAssignment.CouldNotGenerateValueException
getMethodArguments
public java.lang.Object[] getMethodArguments(boolean nullsOk)
throws PotentialAssignment.CouldNotGenerateValueException
- Throws:
PotentialAssignment.CouldNotGenerateValueException
getAllArguments
public java.lang.Object[] getAllArguments(boolean nullsOk)
throws PotentialAssignment.CouldNotGenerateValueException
- Throws:
PotentialAssignment.CouldNotGenerateValueException
getArgumentStrings
public java.lang.Object[] getArgumentStrings(boolean nullsOk)
throws PotentialAssignment.CouldNotGenerateValueException
- Throws:
PotentialAssignment.CouldNotGenerateValueException