org.junit.internal.runners.statements.Fail Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of truffle-tck Show documentation
Show all versions of truffle-tck Show documentation
A collection of tests that can certify language implementation to be compliant
with most recent requirements of the Truffle infrastructure and tooling.
The newest version!
package org.junit.internal.runners.statements;
import org.junit.runners.model.Statement;
public class Fail extends Statement {
private final Throwable fError;
public Fail(Throwable e) {
fError = e;
}
@Override
public void evaluate() throws Throwable {
throw fError;
}
}