All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.junit.internal.runners.statements.Fail Maven / Gradle / Ivy

Go to download

JUnit is a unit testing framework for Java, created by Erich Gamma and Kent Beck.

There is a newer version: 4.13.2
Show newest version
package org.junit.internal.runners.statements;

import org.junit.runners.model.Statement;

public class Fail extends Statement {
    private final Throwable error;

    public Fail(Throwable e) {
        error = e;
    }

    @Override
    public void evaluate() throws Throwable {
        throw error;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy