diff options
Diffstat (limited to 'scl/src')
| -rw-r--r-- | scl/src/main/java/bjc/App.java | 13 | ||||
| -rw-r--r-- | scl/src/test/java/bjc/AppTest.java | 38 |
2 files changed, 51 insertions, 0 deletions
diff --git a/scl/src/main/java/bjc/App.java b/scl/src/main/java/bjc/App.java new file mode 100644 index 0000000..ff1c4f9 --- /dev/null +++ b/scl/src/main/java/bjc/App.java @@ -0,0 +1,13 @@ +package bjc; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/scl/src/test/java/bjc/AppTest.java b/scl/src/test/java/bjc/AppTest.java new file mode 100644 index 0000000..8d8ca91 --- /dev/null +++ b/scl/src/test/java/bjc/AppTest.java @@ -0,0 +1,38 @@ +package bjc; + +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 ); + } +} |
