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

hr.fer.junit.grading.SuppressMessage Maven / Gradle / Ivy

The newest version!
package hr.fer.junit.grading;

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

import org.junit.jupiter.api.extension.ExtendWith;

/**
 * Annotation that defines alternative message for failing test in grading test.
 *
 */
@ExtendWith(GradingExtension.class)
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface SuppressMessage {
  /**
   * Alternative message
   *
   * @return message
   */
  String value() default "";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy