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

com.cedarsoft.test.utils.DisableIfHeadless Maven / Gradle / Ivy

The newest version!
package com.cedarsoft.test.utils;

import org.apiguardian.api.API;
import org.junit.jupiter.api.extension.*;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static org.apiguardian.api.API.Status.STABLE;

/**
 * Disables tests when run headless
 *
 * @author Johannes Schneider ([email protected])
 */
@ExtendWith(DisableIfHeadlessCondition.class)
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@API(status = STABLE, since = "5.1")
public @interface DisableIfHeadless {
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy