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.internal.runners;

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

 * Use the published version:
 * {@link org.junit.runners.model.InitializationError}
 * This may disappear as soon as 1 April 2009
public class InitializationError extends Exception {
    private static final long serialVersionUID = 1L;

     * We have to use the f prefix until the next major release to ensure
     * serialization compatibility. 
     * See https://github.com/junit-team/junit4/issues/976
    private final List<Throwable> fErrors;

    public InitializationError(List<Throwable> errors) {
        this.fErrors = errors;

    public InitializationError(Throwable... errors) {

    public InitializationError(String string) {
        this(new Exception(string));

    public List<Throwable> getCauses() {
        return fErrors;



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