Uses of Class
com.pholser.junit.quickcheck.random.SourceOfRandomness
Packages that use SourceOfRandomness
Package
Description
-
Uses of SourceOfRandomness in com.pholser.junit.quickcheck.generator
Methods in com.pholser.junit.quickcheck.generator with parameters of type SourceOfRandomnessModifier and TypeMethodDescriptiondefault TGen._gen(SourceOfRandomness random, GenerationStatus status) Deprecated.private Object[]Ctor.arguments(SourceOfRandomness random, GenerationStatus status) DecimalGenerator.doShrink(SourceOfRandomness random, T largestGeneric) Generator.doShrink(SourceOfRandomness random, T larger) Gives some objects that are "smaller" than a given "larger" object.IntegralGenerator.doShrink(SourceOfRandomness random, T larger) protected GeneratorsGenerator.gen(SourceOfRandomness random) Ctor.generate(SourceOfRandomness random, GenerationStatus status) Fields.generate(SourceOfRandomness random, GenerationStatus status) Gen.generate(SourceOfRandomness random, GenerationStatus status) Generates a value, possibly influenced by a source of randomness and metadata about the generation.VoidGenerator.generate(SourceOfRandomness random, GenerationStatus status) Generator.shrink(SourceOfRandomness random, Object larger) Gives some objects that are "smaller" than a given object.Shrink.shrink(SourceOfRandomness random, Object larger) Gives some objects that are "smaller" than a given object.Generators.withRandom(SourceOfRandomness random) Makes a generator access point just like the receiver, but which uses the given source of randomness for making random choices. -
Uses of SourceOfRandomness in com.pholser.junit.quickcheck.generator.java.lang
Methods in com.pholser.junit.quickcheck.generator.java.lang with parameters of type SourceOfRandomnessModifier and TypeMethodDescriptionAbstractStringGenerator.doShrink(SourceOfRandomness random, String larger) BooleanGenerator.doShrink(SourceOfRandomness random, Boolean larger) CharacterGenerator.doShrink(SourceOfRandomness random, Character larger) AbstractStringGenerator.generate(SourceOfRandomness random, GenerationStatus status) BooleanGenerator.generate(SourceOfRandomness random, GenerationStatus status) ByteGenerator.generate(SourceOfRandomness random, GenerationStatus status) CharacterGenerator.generate(SourceOfRandomness random, GenerationStatus status) DoubleGenerator.generate(SourceOfRandomness random, GenerationStatus status) FloatGenerator.generate(SourceOfRandomness random, GenerationStatus status) IntegerGenerator.generate(SourceOfRandomness random, GenerationStatus status) LongGenerator.generate(SourceOfRandomness random, GenerationStatus status) ShortGenerator.generate(SourceOfRandomness random, GenerationStatus status) protected abstract intAbstractStringGenerator.nextCodePoint(SourceOfRandomness random) protected intEncoded.nextCodePoint(SourceOfRandomness random) protected intStringGenerator.nextCodePoint(SourceOfRandomness random) CodePointShrink.shrink(SourceOfRandomness random, Object larger) -
Uses of SourceOfRandomness in com.pholser.junit.quickcheck.generator.java.math
Methods in com.pholser.junit.quickcheck.generator.java.math with parameters of type SourceOfRandomnessModifier and TypeMethodDescriptionBigDecimalGenerator.generate(SourceOfRandomness random, GenerationStatus status) BigIntegerGenerator.generate(SourceOfRandomness random, GenerationStatus status) -
Uses of SourceOfRandomness in com.pholser.junit.quickcheck.generator.java.nio.charset
Methods in com.pholser.junit.quickcheck.generator.java.nio.charset with parameters of type SourceOfRandomnessModifier and TypeMethodDescriptionCharsetGenerator.generate(SourceOfRandomness random, GenerationStatus status) -
Uses of SourceOfRandomness in com.pholser.junit.quickcheck.generator.java.time
Methods in com.pholser.junit.quickcheck.generator.java.time with parameters of type SourceOfRandomnessModifier and TypeMethodDescriptionClockGenerator.generate(SourceOfRandomness random, GenerationStatus status) DurationGenerator.generate(SourceOfRandomness random, GenerationStatus status) InstantGenerator.generate(SourceOfRandomness random, GenerationStatus status) LocalDateGenerator.generate(SourceOfRandomness random, GenerationStatus status) LocalDateTimeGenerator.generate(SourceOfRandomness random, GenerationStatus status) LocalTimeGenerator.generate(SourceOfRandomness random, GenerationStatus status) MonthDayGenerator.generate(SourceOfRandomness random, GenerationStatus status) OffsetDateTimeGenerator.generate(SourceOfRandomness random, GenerationStatus status) OffsetTimeGenerator.generate(SourceOfRandomness random, GenerationStatus status) PeriodGenerator.generate(SourceOfRandomness random, GenerationStatus status) YearGenerator.generate(SourceOfRandomness random, GenerationStatus status) YearMonthGenerator.generate(SourceOfRandomness random, GenerationStatus status) ZonedDateTimeGenerator.generate(SourceOfRandomness random, GenerationStatus status) ZoneIdGenerator.generate(SourceOfRandomness random, GenerationStatus status) ZoneOffsetGenerator.generate(SourceOfRandomness random, GenerationStatus status) -
Uses of SourceOfRandomness in com.pholser.junit.quickcheck.generator.java.util
Methods in com.pholser.junit.quickcheck.generator.java.util with parameters of type SourceOfRandomnessModifier and TypeMethodDescriptionBitSetGenerator.doShrink(SourceOfRandomness random, BitSet larger) CollectionGenerator.doShrink(SourceOfRandomness random, T larger) MapGenerator.doShrink(SourceOfRandomness random, T larger) OptionalDoubleGenerator.doShrink(SourceOfRandomness random, OptionalDouble larger) OptionalGenerator.doShrink(SourceOfRandomness random, Optional larger) OptionalIntGenerator.doShrink(SourceOfRandomness random, OptionalInt larger) OptionalLongGenerator.doShrink(SourceOfRandomness random, OptionalLong larger) BitSetGenerator.generate(SourceOfRandomness random, GenerationStatus status) CollectionGenerator.generate(SourceOfRandomness random, GenerationStatus status) DateGenerator.generate(SourceOfRandomness random, GenerationStatus status) LocaleGenerator.generate(SourceOfRandomness random, GenerationStatus status) MapGenerator.generate(SourceOfRandomness random, GenerationStatus status) OptionalDoubleGenerator.generate(SourceOfRandomness random, GenerationStatus status) Optional<?>OptionalGenerator.generate(SourceOfRandomness random, GenerationStatus status) OptionalIntGenerator.generate(SourceOfRandomness random, GenerationStatus status) OptionalLongGenerator.generate(SourceOfRandomness random, GenerationStatus status) PropertiesGenerator.generate(SourceOfRandomness random, GenerationStatus status) RFC4122.NameBasedUUIDGenerator.generate(SourceOfRandomness random, GenerationStatus status) RFC4122.Version4.generate(SourceOfRandomness random, GenerationStatus status) TimeZoneGenerator.generate(SourceOfRandomness random, GenerationStatus status) private intCollectionGenerator.size(SourceOfRandomness random, GenerationStatus status) private intMapGenerator.size(SourceOfRandomness random, GenerationStatus status) -
Uses of SourceOfRandomness in com.pholser.junit.quickcheck.generator.java.util.concurrent
Methods in com.pholser.junit.quickcheck.generator.java.util.concurrent with parameters of type SourceOfRandomnessModifier and TypeMethodDescriptionCallableGenerator.generate(SourceOfRandomness random, GenerationStatus status) -
Uses of SourceOfRandomness in com.pholser.junit.quickcheck.generator.java.util.function
Methods in com.pholser.junit.quickcheck.generator.java.util.function with parameters of type SourceOfRandomnessModifier and TypeMethodDescriptionBiFunction<T,U, R> BiFunctionGenerator.generate(SourceOfRandomness random, GenerationStatus status) BinaryOperatorGenerator.generate(SourceOfRandomness random, GenerationStatus status) BiPredicateGenerator.generate(SourceOfRandomness random, GenerationStatus status) DoubleFunctionGenerator.generate(SourceOfRandomness random, GenerationStatus status) FunctionGenerator.generate(SourceOfRandomness random, GenerationStatus status) IntFunctionGenerator.generate(SourceOfRandomness random, GenerationStatus status) LongFunctionGenerator.generate(SourceOfRandomness random, GenerationStatus status) PredicateGenerator.generate(SourceOfRandomness random, GenerationStatus status) SupplierGenerator.generate(SourceOfRandomness random, GenerationStatus status) ToDoubleBiFunctionGenerator.generate(SourceOfRandomness random, GenerationStatus status) ToDoubleFunctionGenerator.generate(SourceOfRandomness random, GenerationStatus status) ToIntBiFunctionGenerator.generate(SourceOfRandomness random, GenerationStatus status) ToIntFunctionGenerator.generate(SourceOfRandomness random, GenerationStatus status) ToLongBiFunctionGenerator.generate(SourceOfRandomness random, GenerationStatus status) ToLongFunctionGenerator.generate(SourceOfRandomness random, GenerationStatus status) UnaryOperatorGenerator.generate(SourceOfRandomness random, GenerationStatus status) -
Uses of SourceOfRandomness in com.pholser.junit.quickcheck.guava.generator
Methods in com.pholser.junit.quickcheck.guava.generator with parameters of type SourceOfRandomnessModifier and TypeMethodDescriptionList<com.google.common.base.Optional>OptionalGenerator.doShrink(SourceOfRandomness random, com.google.common.base.Optional larger) FunctionGenerator.generate(SourceOfRandomness random, GenerationStatus status) com.google.common.base.Optional<?>OptionalGenerator.generate(SourceOfRandomness random, GenerationStatus status) com.google.common.base.Predicate<T>PredicateGenerator.generate(SourceOfRandomness random, GenerationStatus status) com.google.common.base.Supplier<T>SupplierGenerator.generate(SourceOfRandomness random, GenerationStatus status) -
Uses of SourceOfRandomness in com.pholser.junit.quickcheck.internal
Methods in com.pholser.junit.quickcheck.internal with parameters of type SourceOfRandomnessModifier and TypeMethodDescriptionprivate voidParameterTypeContext.addSuperTypeParameterContext(SourceOfRandomness random, List<ParameterTypeContext> typeParameterContexts, io.arxila.javaruntype.type.TypeParameter<?> p, AnnotatedType a) static <T> TItems.choose(Collection<T> items, SourceOfRandomness random) static longRanges.choose(SourceOfRandomness random, long min, long max) static BigIntegerRanges.choose(SourceOfRandomness random, BigInteger min, BigInteger max) static <T> TItems.chooseWeighted(Collection<Weighted<T>> items, SourceOfRandomness random) (package private) intGeometricDistribution.sample(double p, SourceOfRandomness random) intGeometricDistribution.sampleWithMean(double mean, SourceOfRandomness random) Lists.shrinksOfOneItem(SourceOfRandomness random, List<T> target, Shrink<T> shrink) ParameterTypeContext.typeParameterContexts(SourceOfRandomness random) -
Uses of SourceOfRandomness in com.pholser.junit.quickcheck.internal.generator
Fields in com.pholser.junit.quickcheck.internal.generator declared as SourceOfRandomnessModifier and TypeFieldDescriptionprivate final SourceOfRandomnessAbstractGenerationStatus.randomprivate final SourceOfRandomnessGeneratorRepository.randomMethods in com.pholser.junit.quickcheck.internal.generator that return SourceOfRandomnessModifier and TypeMethodDescriptionprivate static SourceOfRandomnessPropertyParameterGenerationContext.initializeRandomness(PropertyParameterContext p, SourceOfRandomness r) protected final SourceOfRandomnessAbstractGenerationStatus.random()Methods in com.pholser.junit.quickcheck.internal.generator with parameters of type SourceOfRandomnessModifier and TypeMethodDescriptionArrayGenerator.doShrink(SourceOfRandomness random, Object larger) CompositeGenerator.doShrink(SourceOfRandomness random, Object larger) NullableGenerator.doShrink(SourceOfRandomness random, T larger) ArrayGenerator.generate(SourceOfRandomness random, GenerationStatus status) CompositeGenerator.generate(SourceOfRandomness random, GenerationStatus status) Enum<?>EnumGenerator.generate(SourceOfRandomness random, GenerationStatus status) ExhaustiveDomainGenerator.generate(SourceOfRandomness random, GenerationStatus status) GuaranteeValuesGenerator.generate(SourceOfRandomness random, GenerationStatus status) LambdaGenerator.generate(SourceOfRandomness random, GenerationStatus status) MarkerInterfaceGenerator.generate(SourceOfRandomness random, GenerationStatus status) NullableGenerator.generate(SourceOfRandomness random, GenerationStatus status) SamplingDomainGenerator.generate(SourceOfRandomness random, GenerationStatus status) ZilchGenerator.generate(SourceOfRandomness random, GenerationStatus status) private static SourceOfRandomnessPropertyParameterGenerationContext.initializeRandomness(PropertyParameterContext p, SourceOfRandomness r) private intArrayGenerator.length(SourceOfRandomness random, GenerationStatus status) final GeneratorsGeneratorRepository.withRandom(SourceOfRandomness other) Constructors in com.pholser.junit.quickcheck.internal.generator with parameters of type SourceOfRandomnessModifierConstructorDescription(package private)AbstractGenerationStatus(GeometricDistribution distro, SourceOfRandomness random) privateGeneratorRepository(SourceOfRandomness random, Map<Class<?>, Set<Generator<?>>> generators) PropertyParameterGenerationContext(PropertyParameterContext parameter, GeneratorRepository repository, GeometricDistribution distro, SourceOfRandomness random, ParameterSampler sampler) SimpleGenerationStatus(GeometricDistribution distro, SourceOfRandomness random, int attempts)
private.