Class NonTrackingGenerationStatus
java.lang.Object
edu.berkeley.cs.jqf.fuzz.junit.quickcheck.NonTrackingGenerationStatus
- All Implemented Interfaces:
GenerationStatus
Provides a generation status that does not track the number of trials
generated so far. This is useful for guided fuzzing where the burden
of making choices is on the guidance system rather than on quickcheck.
- Author:
- Rohan Padhye
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.pholser.junit.quickcheck.generator.GenerationStatus
GenerationStatus.Key<T extends Object> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintattempts()<T> GenerationStatussetValue(GenerationStatus.Key<T> key, T value) intsize()<T> Optional<T>valueOf(GenerationStatus.Key<T> key) Methods 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
-
MEAN_SIZE
public static final int MEAN_SIZE- See Also:
-
-
Constructor Details
-
NonTrackingGenerationStatus
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceGenerationStatus
-
attempts
public int attempts()- Specified by:
attemptsin interfaceGenerationStatus
-
setValue
- Specified by:
setValuein interfaceGenerationStatus
-
valueOf
- Specified by:
valueOfin interfaceGenerationStatus
-