Class SimpleGenerationStatus
java.lang.Object
com.pholser.junit.quickcheck.internal.generator.AbstractGenerationStatus
com.pholser.junit.quickcheck.internal.generator.SimpleGenerationStatus
- All Implemented Interfaces:
GenerationStatus
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.pholser.junit.quickcheck.generator.GenerationStatus
GenerationStatus.Key<T> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSimpleGenerationStatus(GeometricDistribution distro, SourceOfRandomness random, int attempts) -
Method Summary
Methods inherited from class com.pholser.junit.quickcheck.internal.generator.AbstractGenerationStatus
random, setValue, size, valueOfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.pholser.junit.quickcheck.generator.GenerationStatus
semiAttempt
-
Field Details
-
attempts
private final int attempts
-
-
Constructor Details
-
SimpleGenerationStatus
public SimpleGenerationStatus(GeometricDistribution distro, SourceOfRandomness random, int attempts)
-
-
Method Details
-
attempts
public int attempts()- Returns:
- how many attempts have been made to generate a value for a property parameter
-