summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/mycompany/mydepartment/App.java13
-rw-r--r--src/test/java/com/mycompany/mydepartment/AppTest.java38
2 files changed, 51 insertions, 0 deletions
diff --git a/src/main/java/com/mycompany/mydepartment/App.java b/src/main/java/com/mycompany/mydepartment/App.java
new file mode 100644
index 0000000..e6aeeb8
--- /dev/null
+++ b/src/main/java/com/mycompany/mydepartment/App.java
@@ -0,0 +1,13 @@
+package com.mycompany.mydepartment;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
diff --git a/src/test/java/com/mycompany/mydepartment/AppTest.java b/src/test/java/com/mycompany/mydepartment/AppTest.java
new file mode 100644
index 0000000..aef8aa8
--- /dev/null
+++ b/src/test/java/com/mycompany/mydepartment/AppTest.java
@@ -0,0 +1,38 @@
+package com.mycompany.mydepartment;
+
+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 );
+ }
+}