All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Search JAR files by class name

Source code: Class BooleanSupplier.java part of junit version 4.12

package org.junit.experimental.theories.internal;

import java.util.Arrays;
import java.util.List;

import org.junit.experimental.theories.ParameterSignature;
import org.junit.experimental.theories.ParameterSupplier;
import org.junit.experimental.theories.PotentialAssignment;

public class BooleanSupplier extends ParameterSupplier {

    @Override
    public List getValueSources(ParameterSignature sig) {
        return Arrays.asList(PotentialAssignment.forValue("true", true),
                             PotentialAssignment.forValue("false", false));
    }

}




© 2018 Weber Informatics LLC