commit 2e6df15dec953b3cfa310e9ff24e796b0eb5e7d6 Author: YaFedImYaEatIm Date: Mon Jul 25 14:41:56 2016 +1200 Add Maven Setup diff --git a/SENG202/pom.xml b/SENG202/pom.xml new file mode 100644 index 0000000..d19badb --- /dev/null +++ b/SENG202/pom.xml @@ -0,0 +1,51 @@ + + 4.0.0 + seng202.group9 + SENG202 + jar + 1.0-SNAPSHOT + SENG202 + http://maven.apache.org + + + junit + junit + 3.8.1 + test + + + com.google.code.gson + gson + 2.5 + + + + + + org.apache.maven.plugins + maven-shade-plugin + 2.4.1 + + + + + seng202.group9.App + 1.8 + 1.8 + + + + + + + package + + shade + + + + + + + diff --git a/SENG202/src/main/java/seng202/group9/App.java b/SENG202/src/main/java/seng202/group9/App.java new file mode 100644 index 0000000..2a29905 --- /dev/null +++ b/SENG202/src/main/java/seng202/group9/App.java @@ -0,0 +1,13 @@ +package seng202.group9; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/SENG202/src/test/java/seng202/group9/AppTest.java b/SENG202/src/test/java/seng202/group9/AppTest.java new file mode 100644 index 0000000..c275403 --- /dev/null +++ b/SENG202/src/test/java/seng202/group9/AppTest.java @@ -0,0 +1,38 @@ +package seng202.group9; + +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 ); + } +}