Add interface to mark dirty code
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 13 Oct 2016 20:07:24 +0000 (22:07 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 13 Oct 2016 20:07:24 +0000 (22:07 +0200)
src/test/java/net/pterodactylus/sone/test/Dirty.java [new file with mode: 0644]

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 (file)
index 0000000..def311a
--- /dev/null
@@ -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 <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
+ */
+@Retention(SOURCE)
+@Target(METHOD)
+public @interface Dirty {
+
+       String value() default "";
+
+}