JUnit 4.13.2 Source Code Files

JUnit Source Code Files are provided in the source package file, junit-4.13.2-sources.jar.

You can browse JUnit Source Code files below:

✍: FYIcenter.com


package org.junit.experimental.theories.suppliers;

import static java.lang.annotation.ElementType.PARAMETER;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.junit.experimental.theories.ParametersSuppliedBy;

 * Annotating a {@link org.junit.experimental.theories.Theory Theory} method int
 * parameter with @TestedOn causes it to be supplied with values from the
 * ints array given when run as a theory by the
 * {@link org.junit.experimental.theories.Theories Theories} runner. For
 * example, the below method would be called three times by the Theories runner,
 * once with each of the int parameters specified.
 * <pre>
 * &#064;Theory
 * public void shouldPassForSomeInts(&#064;TestedOn(ints={1, 2, 3}) int param) {
 *     ...
 * }
 * </pre>
public @interface TestedOn {
    int[] ints();



Or download all of them as a single archive file:

File name: junit-4.13.2-sources.jar
File size: 234540 bytes
Release date: 2021-02-13


Download and Install junit-4.12.jar

Download and Install junit-4.13.2.jar

Download and Install JUnit (Java Unit) Testing

⇑⇑ FAQ for JUnit (Java Unit) Testing

2016-03-28, 11192👍, 0💬