From fc62b20ee0a09014dc7437aaef42615fe22787ed Mon Sep 17 00:00:00 2001 From: aheritier Date: Thu, 20 Jan 2005 23:24:51 +0000 Subject: [PATCH] Rename test class to match the POM git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@125856 13f79535-47bb-0310-9956-ffa450edef68 --- .../{ATestCaseClass.java => AClassTest.java} | 36 +++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) rename ant/src/plugin-test/src/test/{ATestCaseClass.java => AClassTest.java} (59%) diff --git a/ant/src/plugin-test/src/test/ATestCaseClass.java b/ant/src/plugin-test/src/test/AClassTest.java similarity index 59% rename from ant/src/plugin-test/src/test/ATestCaseClass.java rename to ant/src/plugin-test/src/test/AClassTest.java index 37ef2daa..d699670a 100644 --- a/ant/src/plugin-test/src/test/ATestCaseClass.java +++ b/ant/src/plugin-test/src/test/AClassTest.java @@ -15,12 +15,44 @@ * ==================================================================== */ +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + /** * A simple class * * @author Carlos Sanchez - * @version $Id: ATestCaseClass.java,v 1.1 2004/08/16 10:50:26 carlos Exp $ + * @version $Id$ */ -public class ATestCaseClass { +public class AClassTest extends TestCase { + + /** + * List tests classes + * + * @return the suite of tests being tested + */ + public static Test suite() { + return new TestSuite(AClassTest.class); + } + + /** + * Create the test case + * + * @param testName name of the test case + */ + public AClassTest(final String testName) { + super(testName); + } + + /** + * Test to do. + */ + public void testNothing() { + assertEquals( + "test", + "test" + ); + } }