From: David ‘Bombe’ Roden Date: Thu, 13 Oct 2016 20:07:24 +0000 (+0200) Subject: Add interface to mark dirty code X-Git-Tag: 0.9.6^2~20 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=97308fe0ec3fc73fe89e3192e7c46560e0403291;p=Sone.git Add interface to mark dirty code --- diff --git a/src/test/java/net/pterodactylus/sone/test/Dirty.java b/src/test/java/net/pterodactylus/sone/test/Dirty.java new file mode 100644 index 0000000..def311a --- /dev/null +++ b/src/test/java/net/pterodactylus/sone/test/Dirty.java @@ -0,0 +1,20 @@ +package net.pterodactylus.sone.test; + +import static java.lang.annotation.ElementType.METHOD; +import static java.lang.annotation.RetentionPolicy.SOURCE; + +import java.lang.annotation.Retention; +import java.lang.annotation.Target; + +/** + * This annotation marks test methods that are somehow not good test methods. + * + * @author David ‘Bombe’ Roden + */ +@Retention(SOURCE) +@Target(METHOD) +public @interface Dirty { + + String value() default ""; + +}