🚧 Add interactions helper for page maker
[Sone.git] / src / test / java / net / pterodactylus / sone / test / Dirty.java
index c7d351c..5d2873f 100644 (file)
@@ -1,16 +1,18 @@
 package net.pterodactylus.sone.test;
 
 import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.TYPE;
 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.
+ * This annotation marks tests or test methods that are dirty,
+ * i.e. written in a way no test should ever be written in.
  */
 @Retention(SOURCE)
-@Target(METHOD)
+@Target(value = { TYPE, METHOD })
 public @interface Dirty {
 
        String value() default "";