Re-enable exceptions tests that were causing ExpectedExceptionsTest to fail
diff --git a/test-14/testng-single.xml b/test-14/testng-single.xml
index 58a1ca5..0c31db7 100644
--- a/test-14/testng-single.xml
+++ b/test-14/testng-single.xml
@@ -5,7 +5,7 @@
<test name="Regression2">
<classes>
- <class name="test.annotationtransformer.AnnotationTransformerTest" />
+ <class name="test.expectedannotations.SampleExceptions" />
</classes>
</test>
diff --git a/test/src/test/expectedexceptions/SampleExceptions.java b/test/src/test/expectedexceptions/SampleExceptions.java
index 035585b..6d22a99 100644
--- a/test/src/test/expectedexceptions/SampleExceptions.java
+++ b/test/src/test/expectedexceptions/SampleExceptions.java
@@ -27,6 +27,11 @@
public void shouldFail2() {
}
+// @Test(expectedExceptions = NumberFormatException.class)
+// public void throwWrongException() {
+// throw new NullPointerException();
+// }
+
// @Test
// @ExpectedExceptions({ FileNotFoundException.class, IOException.class })
// public void shouldPass2() throws Exception {
diff --git a/test/src/test/expectedexceptions/SampleExceptions2.java b/test/src/test/expectedexceptions/SampleExceptions2.java
index 0af6d5a..b279c42 100644
--- a/test/src/test/expectedexceptions/SampleExceptions2.java
+++ b/test/src/test/expectedexceptions/SampleExceptions2.java
@@ -1,6 +1,5 @@
package test.expectedexceptions;
-import org.testng.annotations.ExpectedExceptions;
import org.testng.annotations.Test;
/**
diff --git a/test/testng-single.xml b/test/testng-single.xml
index 27b6355..c0bb398 100644
--- a/test/testng-single.xml
+++ b/test/testng-single.xml
@@ -26,7 +26,7 @@
<class name="test.CommandLineTest" ></class>
-->
<classes>
- <class name="test.annotationtransformer.AnnotationTransformerTest" />
+ <class name="test.expectedexceptions.ExpectedExceptionsTest" />
</classes>
</test>