Added a junit test example to the simple java sample. Hope it has not become too complex ;-)

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113463 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
vmassol 2003-06-04 17:26:52 +00:00
parent 369dcc6193
commit 8fd8a7000b
3 changed files with 14 additions and 1 deletions

View File

@ -1,4 +1,4 @@
This project is a simple set of java classes. This project is a simple set of java classes and JUnit test classes.
It illustrates what Maven can do for a developer with the addition of It illustrates what Maven can do for a developer with the addition of
a single file - project.xml a single file - project.xml

View File

@ -56,6 +56,7 @@
<!-- build information for the project --> <!-- build information for the project -->
<build> <build>
<sourceDirectory>src/java</sourceDirectory> <sourceDirectory>src/java</sourceDirectory>
<unitTestSourceDirectory>src/test</unitTestSourceDirectory>
</build> </build>
</project> </project>

View File

@ -0,0 +1,12 @@
package org.apache.maven.examples.simplejava;
import junit.framework.TestCase;
/**
* A really simple JUnit test class that tests nothing!
* @author <a href="mailto:vmassol@apache.org">Vincent Massol</a>
*/
public class TestSimpleJava {
public void testNothing() {
}
}