RAT-244: Fix adding test annotations to actually run tests
diff --git a/apache-rat-tasks/src/test/java/org/apache/rat/anttasks/ReportTest.java b/apache-rat-tasks/src/test/java/org/apache/rat/anttasks/ReportTest.java
index 0690574..a55d0fb 100644
--- a/apache-rat-tasks/src/test/java/org/apache/rat/anttasks/ReportTest.java
+++ b/apache-rat-tasks/src/test/java/org/apache/rat/anttasks/ReportTest.java
@@ -29,6 +29,7 @@
 import javax.xml.parsers.DocumentBuilder;
 import javax.xml.parsers.DocumentBuilderFactory;
 import org.apache.rat.document.impl.guesser.BinaryGuesser;
+import org.junit.Test;
 import org.w3c.dom.Document;
 
 import static org.junit.Assert.*;
@@ -41,11 +42,13 @@
         return antFile;
     }
 
+    @Test
     public void testWithReportSentToAnt() throws Exception {
         buildRule.executeTarget("testWithReportSentToAnt");
         assertLogMatches("AL +\\Q" + getAntFileName() + "\\E");
     }
 
+    @Test
     public void testWithReportSentToFile() throws Exception {
         final File reportFile = new File(getTempDir(), "selftest.report");
         if (!getTempDir().mkdirs() && !getTempDir().isDirectory()) {
@@ -61,18 +64,21 @@
         assertFileMatches(reportFile, alLine);
     }
 
+    @Test
     public void testWithALUnknown() throws Exception {
         buildRule.executeTarget("testWithALUnknown");
         assertLogDoesNotMatch("AL +\\Q" + getAntFileName() + "\\E");
         assertLogMatches("\\!\\?\\?\\?\\?\\? +\\Q" + getAntFileName() + "\\E");
     }
 
+    @Test
     public void testCustomMatcher() throws Exception {
         buildRule.executeTarget("testCustomMatcher");
         assertLogDoesNotMatch("AL +\\Q" + getAntFileName() + "\\E");
         assertLogMatches("EXMPL +\\Q" + getAntFileName() + "\\E");
     }
 
+    @Test
     public void testNoResources() throws Exception {
         try {
             buildRule.executeTarget("testNoResources");
@@ -84,6 +90,7 @@
         }
     }
 
+    @Test
     public void testNoLicenseMatchers() throws Exception {
         try {
             buildRule.executeTarget("testNoLicenseMatchers");
@@ -117,6 +124,7 @@
         }
     }
 
+    @Test
     public void testAddLicenseHeaders() throws Exception {
         buildRule.executeTarget("testAddLicenseHeaders");
 
@@ -133,6 +141,7 @@
     /**
      * Test correct generation of string result if non-UTF8 file.encoding is set.
      */
+    @Test
     public void testISO88591() throws Exception {
         String origEncoding = overrideFileEncoding("ISO-8859-1");
         buildRule.executeTarget("testISO88591");
@@ -143,6 +152,7 @@
     /**
      * Test correct generation of XML file if non-UTF8 file.encoding is set.
      */
+    @Test
     public void testISO88591WithFile() throws Exception {
         Charset.defaultCharset();
         String outputDir = System.getProperty("output.dir", "target/anttasks");