diff --git a/javamemories-concurrency/pom.xml b/javamemories-concurrency/pom.xml new file mode 100644 index 0000000..b3f09f4 --- /dev/null +++ b/javamemories-concurrency/pom.xml @@ -0,0 +1,28 @@ + + 4.0.0 + + cn.mayiming + javamemories-parent + 1.0-SNAPSHOT + + + javamemories-concurrency + jar + + javamemories-concurrency + http://maven.apache.org + + + UTF-8 + + + + + junit + junit + 3.8.1 + test + + + diff --git a/javamemories-concurrency/src/main/java/cn/mayiming/App.java b/javamemories-concurrency/src/main/java/cn/mayiming/App.java new file mode 100644 index 0000000..93abe3a --- /dev/null +++ b/javamemories-concurrency/src/main/java/cn/mayiming/App.java @@ -0,0 +1,13 @@ +package cn.mayiming; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/javamemories-concurrency/src/test/java/cn/mayiming/AppTest.java b/javamemories-concurrency/src/test/java/cn/mayiming/AppTest.java new file mode 100644 index 0000000..2244532 --- /dev/null +++ b/javamemories-concurrency/src/test/java/cn/mayiming/AppTest.java @@ -0,0 +1,38 @@ +package cn.mayiming; + +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 ); + } +} diff --git a/pom.xml b/pom.xml index c913cdc..51f7104 100644 --- a/pom.xml +++ b/pom.xml @@ -130,6 +130,7 @@ request-test pay-service stock-service + javamemories-concurrency