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

com.tngtech.jgiven.impl.util.ThrowableUtil Maven / Gradle / Ivy

The newest version!
package com.tngtech.jgiven.impl.util;

public class ThrowableUtil {
    public static boolean isAssumptionException(Throwable t) {
        return t.getClass().getName().equals("org.junit.AssumptionViolatedException")
                || t.getClass().getName().equals("org.opentest4j.TestAbortedException")
                || t.getClass().getName().equals("org.testng.SkipException");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy