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

Source code of the class BooleanSupplier.java part of junit version 4.12

Go to download Show more of this group Show artifacts with the name junit
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