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:
parent
369dcc6193
commit
8fd8a7000b
@ -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
|
||||
a single file - project.xml
|
||||
|
||||
@ -56,6 +56,7 @@
|
||||
<!-- build information for the project -->
|
||||
<build>
|
||||
<sourceDirectory>src/java</sourceDirectory>
|
||||
<unitTestSourceDirectory>src/test</unitTestSourceDirectory>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
||||
@ -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() {
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user