org.junit.contrib.theories.internal
Class Assignments

java.lang.Object
  extended by org.junit.contrib.theories.internal.Assignments

public class Assignments
extends Object


Method Summary
static Assignments allUnassigned(Method testMethod, org.junit.runners.model.TestClass testClass)
           
 Assignments assignNext(PotentialAssignment source)
           
 Object[] getActualValues(int start, int stop)
           
 Object[] getArgumentStrings()
           
 Object[] getConstructorArguments()
           
 Object[] getMethodArguments()
           
 boolean isComplete()
           
 ParameterSignature nextUnassigned()
           
 List<PotentialAssignment> potentialsForNextUnassigned()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

allUnassigned

public static Assignments allUnassigned(Method testMethod,
                                        org.junit.runners.model.TestClass testClass)
                                 throws Exception
Throws:
Exception

isComplete

public boolean isComplete()

nextUnassigned

public ParameterSignature nextUnassigned()

assignNext

public Assignments assignNext(PotentialAssignment source)

getActualValues

public Object[] getActualValues(int start,
                                int stop)
                         throws PotentialAssignment.CouldNotGenerateValueException
Throws:
PotentialAssignment.CouldNotGenerateValueException

potentialsForNextUnassigned

public List<PotentialAssignment> potentialsForNextUnassigned()
                                                      throws Throwable
Throws:
Throwable

getConstructorArguments

public Object[] getConstructorArguments()
                                 throws PotentialAssignment.CouldNotGenerateValueException
Throws:
PotentialAssignment.CouldNotGenerateValueException

getMethodArguments

public Object[] getMethodArguments()
                            throws PotentialAssignment.CouldNotGenerateValueException
Throws:
PotentialAssignment.CouldNotGenerateValueException

getArgumentStrings

public Object[] getArgumentStrings()
                            throws PotentialAssignment.CouldNotGenerateValueException
Throws:
PotentialAssignment.CouldNotGenerateValueException


Copyright © 2014. All Rights Reserved.