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

org/junit/runner/OrderWith.java

package org.junit.runner;

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

import org.junit.runner.manipulation.Ordering;
import org.junit.validator.ValidateWith;

/**
 * When a test class is annotated with <code>&#064;OrderWith</code> or extends a class annotated
 * with <code>&#064;OrderWith</code>, JUnit will order the tests in the test class (and child
 * test classes, if any) using the ordering defined by the {@link Ordering} class.
 *
 * @since 4.13
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
@ValidateWith(OrderWithValidator.class)
public @interface OrderWith {
    /**
     * Gets a class that extends {@link Ordering}. The class must have a public no-arg constructor.
     */
    Class<? extends Ordering.Factory> value();
}

org/junit/runner/OrderWith.java

 

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 

 

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, 11177👍, 0💬