chore: remove junit3 references (#166)
Signed-off-by: Sandra Parsick <sandra@parsick.dev>
diff --git a/src/test/resources/test-build-should-fail/src/test/java/org/apache/maven/shared/invoker/AppTest.java b/src/test/resources/test-build-should-fail/src/test/java/org/apache/maven/shared/invoker/AppTest.java
index 785d70c..e2ecdd0 100644
--- a/src/test/resources/test-build-should-fail/src/test/java/org/apache/maven/shared/invoker/AppTest.java
+++ b/src/test/resources/test-build-should-fail/src/test/java/org/apache/maven/shared/invoker/AppTest.java
@@ -19,39 +19,13 @@
* under the License.
*/
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
+import org.junit.Test;
-/**
- * Unit test for simple App.
- */
-public class AppTest
- extends TestCase
+public class AppTest
{
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest( String testName )
+ @Test
+ public void testApp() throws InterruptedException
{
- super( testName );
- }
- /**
- * @return the suite of tests being tested
- */
- public static Test suite()
- {
- return new TestSuite( AppTest.class );
- }
-
- /**
- * Rigourous Test :-)
- */
- public void testApp()
- {
- assertTrue( true );
}
}
diff --git a/src/test/resources/test-build-should-succeed/src/test/java/org/apache/maven/shared/invoker/AppTest.java b/src/test/resources/test-build-should-succeed/src/test/java/org/apache/maven/shared/invoker/AppTest.java
index 785d70c..e2ecdd0 100644
--- a/src/test/resources/test-build-should-succeed/src/test/java/org/apache/maven/shared/invoker/AppTest.java
+++ b/src/test/resources/test-build-should-succeed/src/test/java/org/apache/maven/shared/invoker/AppTest.java
@@ -19,39 +19,13 @@
* under the License.
*/
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
+import org.junit.Test;
-/**
- * Unit test for simple App.
- */
-public class AppTest
- extends TestCase
+public class AppTest
{
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest( String testName )
+ @Test
+ public void testApp() throws InterruptedException
{
- super( testName );
- }
- /**
- * @return the suite of tests being tested
- */
- public static Test suite()
- {
- return new TestSuite( AppTest.class );
- }
-
- /**
- * Rigourous Test :-)
- */
- public void testApp()
- {
- assertTrue( true );
}
}