Add ant target to install to maven, sample maven program.
This commit is contained in:
24
examples/maven/src/test/java/acme/AppTest.java
Normal file
24
examples/maven/src/test/java/acme/AppTest.java
Normal file
@@ -0,0 +1,24 @@
|
||||
package acme;
|
||||
|
||||
import junit.framework.Test;
|
||||
import junit.framework.TestCase;
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
/**
|
||||
* Skeleton unit test for App, required for maven to be used to build the app.
|
||||
*/
|
||||
public class AppTest
|
||||
extends TestCase
|
||||
{
|
||||
public AppTest( String testName ) {
|
||||
super( testName );
|
||||
}
|
||||
|
||||
public static Test suite() {
|
||||
return new TestSuite( AppTest.class );
|
||||
}
|
||||
|
||||
public void testAppCanBeExecuted() {
|
||||
App.main(new String[0]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user