From a60f98a7a3d04de74dea8965736c2dff69dc28a2 Mon Sep 17 00:00:00 2001 From: wdt <2134772300@qq.com> Date: Mon, 16 Dec 2024 14:14:23 +0800 Subject: [PATCH] init --- .../src/main/java/App.java | 13 +++++++ .../src/test/java/AppTest.java | 38 +++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 sky/sky-pojo/src/main/resources/archetype-resources/src/main/java/App.java create mode 100644 sky/sky-pojo/src/main/resources/archetype-resources/src/test/java/AppTest.java 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 ); + } +}