Package org.junit.experimental.theories
-
Class Summary Class Description ParameterSignature ParameterSupplier Abstract parent class for suppliers of input data points for theories.PotentialAssignment Theories The Theories runner allows to test a certain functionality against a subset of an infinite set of data points.Theories.TheoryAnchor -
Exception Summary Exception Description PotentialAssignment.CouldNotGenerateValueException -
Annotation Types Summary Annotation Type Description DataPoint Annotating an field or method with @DataPoint will cause the field value or the value returned by the method to be used as a potential parameter for theories in that class, when run with theTheories
runner.DataPoints Annotating an array or iterable-typed field or method with @DataPoints will cause the values in the array or iterable given to be used as potential parameters for theories in that class when run with theTheories
runner.FromDataPoints Annotating a parameter of a@Theory
method with@FromDataPoints
will limit the datapoints considered as potential values for that parameter to just theDataPoints
with the given name.ParametersSuppliedBy Annotating aTheory
method parameter with @ParametersSuppliedBy causes it to be supplied with values from the namedParameterSupplier
when run as a theory by theTheories
runner.Theory Marks test methods that should be read as theories by theTheories
runner.