From 97308fe0ec3fc73fe89e3192e7c46560e0403291 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 13 Oct 2016 22:07:24 +0200 Subject: [PATCH] Add interface to mark dirty code --- src/test/java/net/pterodactylus/sone/test/Dirty.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/test/java/net/pterodactylus/sone/test/Dirty.java 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 ""; + +} -- 2.7.4