Package com.pholser.junit.quickcheck.internal.generator

Examples of com.pholser.junit.quickcheck.internal.generator.RandomTheoryParameterGenerator


public class RandomValueSupplier extends ParameterSupplier {
    private final RandomTheoryParameterGenerator generator;

    /* Called by JUnit reflectively. */
    public RandomValueSupplier() {
        generator = new RandomTheoryParameterGenerator(
            new SourceOfRandomness(new SecureRandom()),
            new GeneratorRepository(new SourceOfRandomness(new SecureRandom()))
                .register(new ServiceLoaderGeneratorSource()));
    }
View Full Code Here

TOP

Related Classes of com.pholser.junit.quickcheck.internal.generator.RandomTheoryParameterGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.