diff --git a/.gitignore b/.gitignore index 6a03ed1..7c82083 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ *.log output/ build/ +target/ diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..ee791be --- /dev/null +++ b/pom.xml @@ -0,0 +1,18 @@ + + 4.0.0 + com.ambientideas + egitdemo + jar + 1.0-SNAPSHOT + egitdemo + http://maven.apache.org + + + junit + junit + 3.8.1 + test + + + diff --git a/src/main/java/com/ambientideas/App.java b/src/main/java/com/ambientideas/App.java new file mode 100644 index 0000000..f13d52a --- /dev/null +++ b/src/main/java/com/ambientideas/App.java @@ -0,0 +1,17 @@ +package com.ambientideas; + +/** + * Hello again + * Hello world! + * Hello + */ +public class App +{ + public static void main( String[] args ) + { + //Comment + System.out.println( "Hello World!" ); + } +} + +//foo \ No newline at end of file diff --git a/src/test/java/com/ambientideas/AppTest.java b/src/test/java/com/ambientideas/AppTest.java new file mode 100644 index 0000000..c1ea083 --- /dev/null +++ b/src/test/java/com/ambientideas/AppTest.java @@ -0,0 +1,43 @@ +package com.ambientideas; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +//Pending comments + +//Some comments on the master branch +//Added some comments on the branch for the egit demo + +/** + * 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 ); + } +}