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

com.tngtech.java.junit.dataprovider.common.Preconditions Maven / Gradle / Ivy

Go to download

A TestNG like dataprovider runner for JUnit having a simplified syntax compared to all the existing JUnit4 features.

There is a newer version: 2.10
Show newest version
package com.tngtech.java.junit.dataprovider.common;

public class Preconditions {

    public static  T checkNotNull(T object, String errorMessage) {
        return com.tngtech.junit.dataprovider.Preconditions.checkNotNull(object, errorMessage);
    }

    public static void checkArgument(boolean expression, String errorMessage) {
        com.tngtech.junit.dataprovider.Preconditions.checkArgument(expression, errorMessage);
    }

    public static void checkArgument(boolean expression, String errorMessageFormat, Object... errorMessageArgs) {
        com.tngtech.junit.dataprovider.Preconditions.checkArgument(expression, errorMessageFormat,
                errorMessageArgs);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy