summaryrefslogtreecommitdiff
path: root/test/java/src/org/apache/qetest/trax/ErrorListenerAPITest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/java/src/org/apache/qetest/trax/ErrorListenerAPITest.java')
-rw-r--r--test/java/src/org/apache/qetest/trax/ErrorListenerAPITest.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/java/src/org/apache/qetest/trax/ErrorListenerAPITest.java b/test/java/src/org/apache/qetest/trax/ErrorListenerAPITest.java
index 1476ef0..1c80f05 100644
--- a/test/java/src/org/apache/qetest/trax/ErrorListenerAPITest.java
+++ b/test/java/src/org/apache/qetest/trax/ErrorListenerAPITest.java
@@ -32,6 +32,7 @@ import javax.xml.transform.ErrorListener;
import javax.xml.transform.TransformerException;
import org.apache.qetest.FileBasedTest;
+import org.junit.Test;
//-------------------------------------------------------------------------
@@ -177,4 +178,10 @@ public class ErrorListenerAPITest extends FileBasedTest
ErrorListenerAPITest app = new ErrorListenerAPITest();
app.doMain(args);
}
+
+ // Android-added: Run main method as a JUnit test case.
+ @Test
+ public void main() {
+ main(new String[0]);
+ }
}