commit a60f98a7a3d04de74dea8965736c2dff69dc28a2 Author: wdt <2134772300@qq.com> Date: Mon Dec 16 14:14:23 2024 +0800 init diff --git a/sky/sky-pojo/src/main/resources/archetype-resources/src/main/java/App.java b/sky/sky-pojo/src/main/resources/archetype-resources/src/main/java/App.java new file mode 100644 index 0000000..eebb89b --- /dev/null +++ b/sky/sky-pojo/src/main/resources/archetype-resources/src/main/java/App.java @@ -0,0 +1,13 @@ +package $com; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/sky/sky-pojo/src/main/resources/archetype-resources/src/test/java/AppTest.java b/sky/sky-pojo/src/main/resources/archetype-resources/src/test/java/AppTest.java new file mode 100644 index 0000000..9d9855b --- /dev/null +++ b/sky/sky-pojo/src/main/resources/archetype-resources/src/test/java/AppTest.java @@ -0,0 +1,38 @@ +package $com; + +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 ); + } +}