desruisseaux commented on code in PR #985:
URL: 
https://github.com/apache/maven-compiler-plugin/pull/985#discussion_r2460125942


##########
src/it/jdk16-annotation/src/test/java/com/mycompany/jdk16annotation/AppTest.java:
##########
@@ -18,35 +18,20 @@
  */
 package com.mycompany.jdk16annotation;
 
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
 /**
  * Unit test for simple App.
  */
 @ServiceProvider(service = App.class, path = "xxx", position = 1)
-public class AppTest extends TestCase {
+public class AppTest {
     /**
      * Create the test case
      *
      * @param testName name of the test case
      */
-    public AppTest(String testName) {
-        super(testName);
-    }
-
-    /**
-     * @return the suite of tests being tested
-     */
-    public static Test suite() {
-        return new TestSuite(AppTest.class);
-    }
+    public AppTest(String testName) {}
 
     /**
      * Rigourous Test :-)
      */
-    public void testApp() {
-        assertTrue(true);

Review Comment:
   Keep this line after adding a `import static 
org.junit.jupiter.api.Assertions.assertTrue`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to