Skip navigation links
A B C D E F G H I J L M N P R S T V W Z 

A

addComponentGenerators(List<Generator<?>>) - Method in class com.pholser.junit.quickcheck.generator.ComponentizedGenerator
 
addComponentGenerators(List<Generator<?>>) - Method in class com.pholser.junit.quickcheck.generator.Generator
Adds component generators to this generator.
addConstraint(ForAll) - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
Deprecated.
 
addConstraint(When) - Method in class com.pholser.junit.quickcheck.internal.PropertyParameterContext
 
addQuantifier(ForAll) - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
Deprecated.
 
addQuantifier(When) - Method in class com.pholser.junit.quickcheck.internal.PropertyParameterContext
 
allAnnotations(AnnotatedElement) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
allAnnotationsByType(AnnotatedElement, Class<T>) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
allDeclaredFieldsOf(Class<?>) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
allowMixedTypes(boolean) - Method in class com.pholser.junit.quickcheck.internal.ParameterTypeContext
 
allowMixedTypes() - Method in class com.pholser.junit.quickcheck.internal.ParameterTypeContext
 
annotate(AnnotatedElement) - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
Deprecated.
 
annotate(AnnotatedElement) - Method in class com.pholser.junit.quickcheck.internal.ParameterTypeContext
 
annotate(AnnotatedElement) - Method in class com.pholser.junit.quickcheck.internal.PropertyParameterContext
 
annotatedComponentTypes(AnnotatedType) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
annotatedElement() - Method in class com.pholser.junit.quickcheck.internal.ParameterTypeContext
Deprecated.
This will likely go away when languages whose compilers and interpreters produce class files that support annotations on type uses.
annotatedType() - Method in class com.pholser.junit.quickcheck.internal.ParameterTypeContext
 
annotatedWith(Class<? extends Annotation>) - Method in class com.pholser.junit.quickcheck.internal.ParameterTypeContext
 
arrayComponentContext() - Method in class com.pholser.junit.quickcheck.internal.ParameterTypeContext
 
ArrayGenerator - Class in com.pholser.junit.quickcheck.internal.generator
 
ArrayGenerator(Class<?>, Generator<?>) - Constructor for class com.pholser.junit.quickcheck.internal.generator.ArrayGenerator
 
attempts() - Method in interface com.pholser.junit.quickcheck.generator.GenerationStatus
 
attempts() - Method in class com.pholser.junit.quickcheck.internal.generator.GenerationContext
Deprecated.
 
attempts() - Method in class com.pholser.junit.quickcheck.internal.generator.PropertyParameterGenerationContext
 

B

bind(Object) - Method in class com.pholser.junit.quickcheck.internal.constraint.ConstraintEvaluator
 

C

canGenerateForParametersOfTypes(List<TypeParameter<?>>) - Method in class com.pholser.junit.quickcheck.generator.ComponentizedGenerator
 
canGenerateForParametersOfTypes(List<TypeParameter<?>>) - Method in class com.pholser.junit.quickcheck.generator.Generator
 
canRegisterAsType(Class<?>) - Method in class com.pholser.junit.quickcheck.generator.ComponentizedGenerator
Tells whether this generator is allowed to be used for property parameters of the given type.
canRegisterAsType(Class<?>) - Method in class com.pholser.junit.quickcheck.generator.Ctor
Deprecated.
 
canRegisterAsType(Class<?>) - Method in class com.pholser.junit.quickcheck.generator.Fields
Deprecated.
 
canRegisterAsType(Class<?>) - Method in class com.pholser.junit.quickcheck.generator.Generator
Tells whether this generator is allowed to be used for property parameters of the given type.
canShrink(Object) - Method in class com.pholser.junit.quickcheck.generator.Generator
Tells whether this generator is allowed to participate in the Shrink process for the given "larger" value.
canShrink(Object) - Method in class com.pholser.junit.quickcheck.internal.generator.ArrayGenerator
 
canShrink(Object) - Method in class com.pholser.junit.quickcheck.internal.generator.CompositeGenerator
 
canShrink(Object) - Method in class com.pholser.junit.quickcheck.internal.generator.EnumGenerator
 
checkRange(Ranges.Type, T, T) - Static method in class com.pholser.junit.quickcheck.internal.Ranges
 
choose(Collection<T>, SourceOfRandomness) - Static method in class com.pholser.junit.quickcheck.internal.Items
 
choose(SourceOfRandomness, BigInteger, BigInteger) - Static method in class com.pholser.junit.quickcheck.internal.Ranges
 
choose(Collection<T>) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random element of the given collection.
choose(T[]) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random element of the given array.
chooseWeighted(Collection<Weighted<T>>, SourceOfRandomness) - Static method in class com.pholser.junit.quickcheck.internal.Items
 
com.pholser.junit.quickcheck - package com.pholser.junit.quickcheck
 
com.pholser.junit.quickcheck.generator - package com.pholser.junit.quickcheck.generator
 
com.pholser.junit.quickcheck.internal - package com.pholser.junit.quickcheck.internal
 
com.pholser.junit.quickcheck.internal.constraint - package com.pholser.junit.quickcheck.internal.constraint
 
com.pholser.junit.quickcheck.internal.generator - package com.pholser.junit.quickcheck.internal.generator
 
com.pholser.junit.quickcheck.random - package com.pholser.junit.quickcheck.random
 
com.pholser.junit.quickcheck.runner - package com.pholser.junit.quickcheck.runner
 
compatibleWithTypeParameter(TypeParameter<?>, Class<?>) - Static method in class com.pholser.junit.quickcheck.generator.Generator
 
componentGenerators() - Method in class com.pholser.junit.quickcheck.generator.ComponentizedGenerator
 
ComponentizedGenerator<T> - Class in com.pholser.junit.quickcheck.generator
Produces values for property parameters of types that have parameterizations that would also need generation, such as collections, maps, and predicates.
ComponentizedGenerator(Class<T>) - Constructor for class com.pholser.junit.quickcheck.generator.ComponentizedGenerator
 
composed(int) - Method in class com.pholser.junit.quickcheck.internal.generator.CompositeGenerator
 
CompositeGenerator - Class in com.pholser.junit.quickcheck.internal.generator
 
CompositeGenerator(List<Weighted<Generator<?>>>) - Constructor for class com.pholser.junit.quickcheck.internal.generator.CompositeGenerator
 
computeTestMethods() - Method in class com.pholser.junit.quickcheck.runner.JUnitQuickcheck
 
configurationAnnotationsOn(AnnotatedElement) - Static method in class com.pholser.junit.quickcheck.generator.Generator
Gives a list of the GeneratorConfiguration annotations present on the given program element.
configure(AnnotatedType) - Method in class com.pholser.junit.quickcheck.generator.ComponentizedGenerator
 
configure(AnnotatedType) - Method in class com.pholser.junit.quickcheck.generator.Ctor
Deprecated.
 
configure(AnnotatedType) - Method in class com.pholser.junit.quickcheck.generator.Fields
Deprecated.
 
configure(AnnotatedType) - Method in class com.pholser.junit.quickcheck.generator.Generator
Configures this generator using annotations from a given annotated type.
configure(AnnotatedElement) - Method in class com.pholser.junit.quickcheck.generator.Generator
Deprecated.
This will likely go away when languages whose compilers and interpreters produce class files that support annotations on type uses.
configure(Size) - Method in class com.pholser.junit.quickcheck.internal.generator.ArrayGenerator
Tells this generator to produce values with a length within a specified minimum and/or maximum, inclusive, chosen with uniform distribution.
configure(AnnotatedType) - Method in class com.pholser.junit.quickcheck.internal.generator.ArrayGenerator
 
configure(AnnotatedType) - Method in class com.pholser.junit.quickcheck.internal.generator.CompositeGenerator
 
configure(AnnotatedElement) - Method in class com.pholser.junit.quickcheck.internal.generator.CompositeGenerator
 
configure(ValuesOf) - Method in class com.pholser.junit.quickcheck.internal.generator.EnumGenerator
 
constraint() - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
Deprecated.
 
constraint() - Method in class com.pholser.junit.quickcheck.internal.PropertyParameterContext
 
ConstraintEvaluator - Class in com.pholser.junit.quickcheck.internal.constraint
 
ConstraintEvaluator(String) - Constructor for class com.pholser.junit.quickcheck.internal.constraint.ConstraintEvaluator
 
ConstraintEvaluator.EvaluationException - Exception in com.pholser.junit.quickcheck.internal.constraint
 
Ctor<T> - Class in com.pholser.junit.quickcheck.generator
Deprecated.
This was introduced to alleviate the difficulties of old Theory methods with many parameters, and will likely go away.
Ctor(Class<T>) - Constructor for class com.pholser.junit.quickcheck.generator.Ctor
Deprecated.
 

D

defaultValueOf(Class<? extends Annotation>, String) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
discardRatio() - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
Deprecated.
 
discardRatio() - Method in class com.pholser.junit.quickcheck.internal.PropertyParameterContext
 
doShrink(SourceOfRandomness, T) - Method in class com.pholser.junit.quickcheck.generator.Generator
Gives some objects that are "smaller" than a given "larger" object.
doShrink(SourceOfRandomness, Object) - Method in class com.pholser.junit.quickcheck.internal.generator.ArrayGenerator
 
doShrink(SourceOfRandomness, Object) - Method in class com.pholser.junit.quickcheck.internal.generator.CompositeGenerator
 

E

EnumGenerator - Class in com.pholser.junit.quickcheck.internal.generator
 
EnumGenerator(Class<?>) - Constructor for class com.pholser.junit.quickcheck.internal.generator.EnumGenerator
 
evaluate() - Method in class com.pholser.junit.quickcheck.internal.constraint.ConstraintEvaluator
 
explicitGenerators() - Method in class com.pholser.junit.quickcheck.internal.ParameterTypeContext
 

F

Fields<T> - Class in com.pholser.junit.quickcheck.generator
Deprecated.
This was introduced to alleviate the difficulties of old Theory methods with many parameters, and will likely go away.
Fields(Class<T>) - Constructor for class com.pholser.junit.quickcheck.generator.Fields
Deprecated.
 
findConstructor(Class<T>, Class<?>...) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
findDeclaredConstructor(Class<T>, Class<?>...) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
findMethod(Class<?>, String, Class<?>...) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
fixedSeed() - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
Deprecated.
 
fixedSeed() - Method in class com.pholser.junit.quickcheck.internal.PropertyParameterContext
 
ForAll - Annotation Type in com.pholser.junit.quickcheck
Deprecated.
Rather than writing property-based tests as Theory methods with parameters marked with this annotation, write them as Property methods on classes run with the JUnitQuickcheck runner.
From - Annotation Type in com.pholser.junit.quickcheck
Mark a parameter of a Property method with this annotation to have random values supplied to it via the specified Generator.

G

generate(SourceOfRandomness, GenerationStatus) - Method in class com.pholser.junit.quickcheck.generator.Ctor
Deprecated.
 
generate(SourceOfRandomness, GenerationStatus) - Method in class com.pholser.junit.quickcheck.generator.Fields
Deprecated.
 
generate(SourceOfRandomness, GenerationStatus) - Method in class com.pholser.junit.quickcheck.generator.Generator
Produces a value for a property parameter.
generate(SourceOfRandomness, GenerationStatus) - Method in class com.pholser.junit.quickcheck.internal.generator.ArrayGenerator
 
generate(SourceOfRandomness, GenerationStatus) - Method in class com.pholser.junit.quickcheck.internal.generator.CompositeGenerator
 
generate(SourceOfRandomness, GenerationStatus) - Method in class com.pholser.junit.quickcheck.internal.generator.EnumGenerator
 
generate(SourceOfRandomness) - Method in class com.pholser.junit.quickcheck.internal.generator.GenerationContext
Deprecated.
 
generate(SourceOfRandomness, GenerationStatus) - Method in class com.pholser.junit.quickcheck.internal.generator.LambdaGenerator
 
generate() - Method in class com.pholser.junit.quickcheck.internal.generator.PropertyParameterGenerationContext
 
generate(ParameterContext) - Method in class com.pholser.junit.quickcheck.internal.generator.RandomTheoryParameterGenerator
Deprecated.
 
generate(SourceOfRandomness, GenerationStatus) - Method in class com.pholser.junit.quickcheck.internal.generator.ZilchGenerator
 
GenerationContext - Class in com.pholser.junit.quickcheck.internal.generator
Deprecated.
GenerationContext(ParameterContext, GeneratorRepository, GeometricDistribution, SourceOfRandomness) - Constructor for class com.pholser.junit.quickcheck.internal.generator.GenerationContext
Deprecated.
 
GenerationContext.DiscardRatioExceededException - Exception in com.pholser.junit.quickcheck.internal.generator
Deprecated.
 
GenerationStatus - Interface in com.pholser.junit.quickcheck.generator
Generators are fed instances of this interface on each generation so that, if they choose, they can use these instances to influence the results of a generation for a particular property parameter.
Generator<T> - Class in com.pholser.junit.quickcheck.generator
Produces values for property parameters.
Generator(Class<T>) - Constructor for class com.pholser.junit.quickcheck.generator.Generator
 
Generator(List<Class<T>>) - Constructor for class com.pholser.junit.quickcheck.generator.Generator
Used for generators of primitives and their wrappers.
GeneratorConfiguration - Annotation Type in com.pholser.junit.quickcheck.generator
Apply this annotation to an annotation that marks property parameters, in order that the marked annotation can be used to configure generators for values of the parameter's type.
GeneratorConfigurationException - Exception in com.pholser.junit.quickcheck.generator
Raised if a problem arises when attempting to configure a generator with annotations from a property parameter.
GeneratorConfigurationException(String) - Constructor for exception com.pholser.junit.quickcheck.generator.GeneratorConfigurationException
 
GeneratorConfigurationException(String, Throwable) - Constructor for exception com.pholser.junit.quickcheck.generator.GeneratorConfigurationException
 
generatorFor(ParameterTypeContext) - Method in class com.pholser.junit.quickcheck.internal.generator.GeneratorRepository
 
GeneratorRepository - Class in com.pholser.junit.quickcheck.internal.generator
 
GeneratorRepository(SourceOfRandomness) - Constructor for class com.pholser.junit.quickcheck.internal.generator.GeneratorRepository
 
GeometricDistribution - Class in com.pholser.junit.quickcheck.internal
 
GeometricDistribution() - Constructor for class com.pholser.junit.quickcheck.internal.GeometricDistribution
 
getRawClass() - Method in class com.pholser.junit.quickcheck.internal.ParameterTypeContext
 
getTypeParameters() - Method in class com.pholser.junit.quickcheck.internal.ParameterTypeContext
 
getValueSources(ParameterSignature) - Method in class com.pholser.junit.quickcheck.internal.RandomValueSupplier
Deprecated.
 

H

halving(int) - Static method in class com.pholser.junit.quickcheck.internal.Sequences
 
halvingDecimal(BigDecimal, BigDecimal) - Static method in class com.pholser.junit.quickcheck.internal.Sequences
 
halvingIntegral(BigInteger, BigInteger) - Static method in class com.pholser.junit.quickcheck.internal.Sequences
 
hasComponents() - Method in class com.pholser.junit.quickcheck.generator.ComponentizedGenerator
 
hasComponents() - Method in class com.pholser.junit.quickcheck.generator.Generator
 

I

INSTANCE - Static variable in class com.pholser.junit.quickcheck.internal.Zilch
 
instantiate(Class<T>) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
instantiate(Constructor<T>, Object...) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
invoke(Method, Object, Object...) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
isArray() - Method in class com.pholser.junit.quickcheck.internal.ParameterTypeContext
 
isEnum() - Method in class com.pholser.junit.quickcheck.internal.ParameterTypeContext
 
item - Variable in class com.pholser.junit.quickcheck.internal.Weighted
 
Items - Class in com.pholser.junit.quickcheck.internal
 
iterator() - Method in class com.pholser.junit.quickcheck.internal.generator.ServiceLoaderGeneratorSource
 

J

JUnitQuickcheck - Class in com.pholser.junit.quickcheck.runner
JUnit test runner for junit-quickcheck property-based tests.
JUnitQuickcheck(Class<?>) - Constructor for class com.pholser.junit.quickcheck.runner.JUnitQuickcheck
Invoked reflectively by JUnit.

L

LambdaGenerator<T,U> - Class in com.pholser.junit.quickcheck.internal.generator
 
LambdaGenerator(Class<T>, Generator<U>) - Constructor for class com.pholser.junit.quickcheck.internal.generator.LambdaGenerator
 
Lambdas - Class in com.pholser.junit.quickcheck.generator
Helper class for creating instances of "functional interfaces".
Lists - Class in com.pholser.junit.quickcheck.internal
 

M

makeLambda(Class<T>, Generator<U>, GenerationStatus) - Static method in class com.pholser.junit.quickcheck.generator.Lambdas
Creates an instance of a given "functional interface" type, whose single abstract method returns values of the type produced by the given generator.
maxShrinkDepth() - Method in class com.pholser.junit.quickcheck.internal.ShrinkControl
 
maxShrinks() - Method in class com.pholser.junit.quickcheck.internal.ShrinkControl
 
maxShrinkTime() - Method in class com.pholser.junit.quickcheck.internal.ShrinkControl
 
maybeWrap(Class<?>) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
methodBlock(FrameworkMethod) - Method in class com.pholser.junit.quickcheck.runner.JUnitQuickcheck
 

N

name() - Method in class com.pholser.junit.quickcheck.internal.ParameterTypeContext
 
narrow(Object) - Method in class com.pholser.junit.quickcheck.generator.Generator
Attempts to "narrow" the given object to the type this generator produces.
nextBigInteger(int) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random BigInteger representable by the given number of bits.
nextBoolean() - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
 
nextByte(byte, byte) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random byte value, uniformly distributed across the interval [min, max].
nextBytes(byte[]) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
 
nextBytes(int) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives an array of a given length containing random bytes.
nextChar(char, char) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random char value, uniformly distributed across the interval [min, max].
nextDouble() - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
 
nextDouble(double, double) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random double value in the interval [min, max).
nextDuration(Duration, Duration) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random Duration value, uniformly distributed across the interval [min, max].
nextFloat() - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
 
nextFloat(float, float) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random float value in the interval [min, max).
nextGaussian() - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
 
nextInstant(Instant, Instant) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random Instant value, uniformly distributed across the interval [min, max].
nextInt() - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
 
nextInt(int) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
 
nextInt(int, int) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random int value, uniformly distributed across the interval [min, max].
nextLong() - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
 
nextLong(long, long) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random long value, uniformly distributed across the interval [min, max].
nextShort(short, short) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random short value, uniformly distributed across the interval [min, max].
numberOfComposedGenerators() - Method in class com.pholser.junit.quickcheck.internal.generator.CompositeGenerator
 
numberOfNeededComponents() - Method in class com.pholser.junit.quickcheck.generator.Generator
 

P

ParameterContext - Class in com.pholser.junit.quickcheck.internal
Deprecated.
ParameterContext(ParameterTypeContext) - Constructor for class com.pholser.junit.quickcheck.internal.ParameterContext
Deprecated.
 
ParameterTypeContext - Class in com.pholser.junit.quickcheck.internal
 
ParameterTypeContext(String, AnnotatedType, String) - Constructor for class com.pholser.junit.quickcheck.internal.ParameterTypeContext
 
ParameterTypeContext(String, AnnotatedType, String, Map<String, Type>) - Constructor for class com.pholser.junit.quickcheck.internal.ParameterTypeContext
 
ParameterTypeContext(String, AnnotatedType, String, Type<?>, Map<String, Type<?>>) - Constructor for class com.pholser.junit.quickcheck.internal.ParameterTypeContext
 
Produced - Annotation Type in com.pholser.junit.quickcheck
Mark a parameter of a Property method with this annotation to have random values supplied to it via one of the Generators specified by the aggregated From annotations.
produceGenerator(ParameterTypeContext) - Method in class com.pholser.junit.quickcheck.internal.generator.GeneratorRepository
 
Property - Annotation Type in com.pholser.junit.quickcheck
Mark a method on a class that is run with the JUnitQuickcheck runner with this annotation to have it run as a property-based test.
PropertyParameterContext - Class in com.pholser.junit.quickcheck.internal
 
PropertyParameterContext(ParameterTypeContext, int) - Constructor for class com.pholser.junit.quickcheck.internal.PropertyParameterContext
 
PropertyParameterGenerationContext - Class in com.pholser.junit.quickcheck.internal.generator
 
PropertyParameterGenerationContext(PropertyParameterContext, GeneratorRepository, GeometricDistribution, SourceOfRandomness, Logger) - Constructor for class com.pholser.junit.quickcheck.internal.generator.PropertyParameterGenerationContext
 
PropertyParameterGenerationContext.DiscardRatioExceededException - Exception in com.pholser.junit.quickcheck.internal.generator
 
provideRepository(GeneratorRepository) - Method in class com.pholser.junit.quickcheck.generator.ComponentizedGenerator
 
provideRepository(GeneratorRepository) - Method in class com.pholser.junit.quickcheck.generator.Ctor
Deprecated.
 
provideRepository(GeneratorRepository) - Method in class com.pholser.junit.quickcheck.generator.Fields
Deprecated.
 
provideRepository(GeneratorRepository) - Method in class com.pholser.junit.quickcheck.generator.Generator
Used to supply the available generators to this one.
provideRepository(GeneratorRepository) - Method in class com.pholser.junit.quickcheck.internal.generator.ArrayGenerator
 
provideRepository(GeneratorRepository) - Method in class com.pholser.junit.quickcheck.internal.generator.CompositeGenerator
 

R

RandomTheoryParameterGenerator - Class in com.pholser.junit.quickcheck.internal.generator
Deprecated.
RandomTheoryParameterGenerator(SourceOfRandomness, GeneratorRepository, GeometricDistribution, Logger) - Constructor for class com.pholser.junit.quickcheck.internal.generator.RandomTheoryParameterGenerator
Deprecated.
 
RandomValueSupplier - Class in com.pholser.junit.quickcheck.internal
Deprecated.
RandomValueSupplier() - Constructor for class com.pholser.junit.quickcheck.internal.RandomValueSupplier
Deprecated.
 
Ranges - Class in com.pholser.junit.quickcheck.internal
 
Ranges.Type - Enum in com.pholser.junit.quickcheck.internal
 
Reflection - Class in com.pholser.junit.quickcheck.internal
 
ReflectionException - Exception in com.pholser.junit.quickcheck.internal
 
ReflectionException(String) - Constructor for exception com.pholser.junit.quickcheck.internal.ReflectionException
 
ReflectionException(Throwable) - Constructor for exception com.pholser.junit.quickcheck.internal.ReflectionException
 
register(Generator<?>) - Method in class com.pholser.junit.quickcheck.internal.generator.GeneratorRepository
 
register(Iterable<Generator<?>>) - Method in class com.pholser.junit.quickcheck.internal.generator.GeneratorRepository
 
removeFrom(List<T>, int) - Static method in class com.pholser.junit.quickcheck.internal.Lists
 

S

sampleSize() - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
Deprecated.
 
sampleSize() - Method in class com.pholser.junit.quickcheck.internal.PropertyParameterContext
 
sampleWithMean(double, SourceOfRandomness) - Method in class com.pholser.junit.quickcheck.internal.GeometricDistribution
 
seed() - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
Deprecated.
 
seed() - Method in class com.pholser.junit.quickcheck.internal.PropertyParameterContext
 
seed() - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
 
Sequences - Class in com.pholser.junit.quickcheck.internal
 
ServiceLoaderGeneratorSource - Class in com.pholser.junit.quickcheck.internal.generator
 
ServiceLoaderGeneratorSource() - Constructor for class com.pholser.junit.quickcheck.internal.generator.ServiceLoaderGeneratorSource
 
setField(Field, Object, Object, boolean) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
setSeed(long) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
 
shouldContinue() - Method in class com.pholser.junit.quickcheck.internal.generator.GenerationContext
Deprecated.
 
shouldShrink() - Method in class com.pholser.junit.quickcheck.internal.ShrinkControl
 
shrink(SourceOfRandomness, Object) - Method in class com.pholser.junit.quickcheck.generator.Generator
Gives some objects that are "smaller" than a given object.
Shrink<T> - Interface in com.pholser.junit.quickcheck.generator
Represents a strategy for producing objects "smaller than" a given object.
shrink(SourceOfRandomness, Object) - Method in interface com.pholser.junit.quickcheck.generator.Shrink
Gives some objects that are "smaller" than a given object.
shrink(Object) - Method in class com.pholser.junit.quickcheck.internal.generator.PropertyParameterGenerationContext
 
ShrinkControl - Class in com.pholser.junit.quickcheck.internal
 
ShrinkControl(boolean, int, int, int) - Constructor for class com.pholser.junit.quickcheck.internal.ShrinkControl
 
shrinksOfOneItem(SourceOfRandomness, List<T>, Shrink<T>) - Static method in class com.pholser.junit.quickcheck.internal.Lists
 
singleAbstractMethodOf(Class<?>) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
singleAccessibleConstructor(Class<T>) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
size() - Method in interface com.pholser.junit.quickcheck.generator.GenerationStatus
 
Size - Annotation Type in com.pholser.junit.quickcheck.generator
Mark a parameter of a Property method with this annotation to constrain the size of values generated for the parameter.
size() - Method in class com.pholser.junit.quickcheck.internal.generator.GenerationContext
Deprecated.
 
size() - Method in class com.pholser.junit.quickcheck.internal.generator.PropertyParameterGenerationContext
 
SourceOfRandomness - Class in com.pholser.junit.quickcheck.random
A source of randomness, fed to generators so they can produce random values for property parameters.
SourceOfRandomness(Random) - Constructor for class com.pholser.junit.quickcheck.random.SourceOfRandomness
Makes a new source of randomness.
supertypes(Type<?>) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 

T

token(Type) - Static method in class com.pholser.junit.quickcheck.internal.generator.GeneratorRepository
 
topLevel() - Method in class com.pholser.junit.quickcheck.internal.ParameterTypeContext
Deprecated.
This will likely go away when languages whose compilers and interpreters produce class files that support annotations on type uses.
type() - Method in class com.pholser.junit.quickcheck.internal.ParameterTypeContext
 
typeContext() - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
Deprecated.
 
typeContext() - Method in class com.pholser.junit.quickcheck.internal.PropertyParameterContext
 
typeParameterContexts(SourceOfRandomness) - Method in class com.pholser.junit.quickcheck.internal.ParameterTypeContext
 
types() - Method in class com.pholser.junit.quickcheck.generator.Generator
 

V

validateTestMethods(List<Throwable>) - Method in class com.pholser.junit.quickcheck.runner.JUnitQuickcheck
 
valueOf(String) - Static method in enum com.pholser.junit.quickcheck.internal.Ranges.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.pholser.junit.quickcheck.internal.Ranges.Type
Returns an array containing the constants of this enum type, in the order they are declared.
ValuesOf - Annotation Type in com.pholser.junit.quickcheck.generator
Mark a parameter of a Property method with this annotation to generate all the parameter type's values in turn, rather than at random.

W

weight - Variable in class com.pholser.junit.quickcheck.internal.Weighted
 
Weighted<T> - Class in com.pholser.junit.quickcheck.internal
 
Weighted(T, int) - Constructor for class com.pholser.junit.quickcheck.internal.Weighted
 
When - Annotation Type in com.pholser.junit.quickcheck
Mark a parameter of a Property method with this annotation to specify metadata about values generated for that parameter.

Z

Zilch - Class in com.pholser.junit.quickcheck.internal
 
ZilchGenerator - Class in com.pholser.junit.quickcheck.internal.generator
 
ZilchGenerator() - Constructor for class com.pholser.junit.quickcheck.internal.generator.ZilchGenerator
 
A B C D E F G H I J L M N P R S T V W Z 
Skip navigation links

Copyright © 2016. All rights reserved.