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

com.googlecode.junittoolbox.ExcludeCategories Maven / Gradle / Ivy

There is a newer version: 2.4
Show newest version
package com.googlecode.junittoolbox;

import org.junit.experimental.categories.Category;
import org.junit.experimental.categories.Categories.ExcludeCategory;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * This annotation can be used with the {@link WildcardPatternSuite}
 * and the {@link ParallelSuite} runner to exclude tests if they are
 * annotated with {@link Category @Category}. In contrast to the standard
 * JUnit {@link ExcludeCategory @ExcludeCategory} annotation
 * this annotation allows you to specify not only one but several classes.
 */
@Retention(RetentionPolicy.RUNTIME)
public @interface ExcludeCategories {
    public Class[] value();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy