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

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

There is a newer version: 2.12.15
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