# HG changeset patch # User Dirk Olmes # Date 1213511284 -7200 # Node ID 3417db828923c5d64dc526101ae7696531d06479 # Parent 8ed422ce2c503ece64e0a6f4fcaa8355cc562259 adding sample maven project diff -r 8ed422ce2c50 -r 3417db828923 sample-maven-project/pom.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sample-maven-project/pom.xml Sun Jun 15 08:28:04 2008 +0200 @@ -0,0 +1,18 @@ + + 4.0.0 + de.iobjects.test + sample-maven-project + jar + 1.0-SNAPSHOT + sample-maven-project + http://maven.apache.org + + + junit + junit + 3.8.1 + test + + + diff -r 8ed422ce2c50 -r 3417db828923 sample-maven-project/src/main/java/de/iobjects/test/App.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sample-maven-project/src/main/java/de/iobjects/test/App.java Sun Jun 15 08:28:04 2008 +0200 @@ -0,0 +1,13 @@ +package de.iobjects.test; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff -r 8ed422ce2c50 -r 3417db828923 sample-maven-project/src/test/java/de/iobjects/test/AppTest.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sample-maven-project/src/test/java/de/iobjects/test/AppTest.java Sun Jun 15 08:28:04 2008 +0200 @@ -0,0 +1,38 @@ +package de.iobjects.test; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * 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 ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +}