From 6ddf96b55d5daf451d5e1a9426bd5376de1a62e4 Mon Sep 17 00:00:00 2001 From: "burak.yuce" Date: Fri, 12 Sep 2014 12:08:51 +0300 Subject: [PATCH] initial commit --- .gitignore | 4 +++ pom.xml | 25 ++++++++++++++++ src/main/java/com/burakyuce/App.java | 11 +++++++ src/test/java/com/burakyuce/AppTest.java | 38 ++++++++++++++++++++++++ 4 files changed, 78 insertions(+) create mode 100644 .gitignore create mode 100644 pom.xml create mode 100644 src/main/java/com/burakyuce/App.java create mode 100644 src/test/java/com/burakyuce/AppTest.java diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2cb6974 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/target +/.settings/ +*.classpath +*.project diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..e8b54b7 --- /dev/null +++ b/pom.xml @@ -0,0 +1,25 @@ + + 4.0.0 + + com.burakyuce + java-algorithms + 1.0-SNAPSHOT + jar + + java-algorithms + http://maven.apache.org + + + UTF-8 + + + + + junit + junit + 3.8.1 + test + + + diff --git a/src/main/java/com/burakyuce/App.java b/src/main/java/com/burakyuce/App.java new file mode 100644 index 0000000..2d9fa5a --- /dev/null +++ b/src/main/java/com/burakyuce/App.java @@ -0,0 +1,11 @@ +package com.burakyuce; + +/** + * Hello world! + * + */ +public class App { + public static void main(String[] args) { + System.out.println("Hello World!."); + } +} diff --git a/src/test/java/com/burakyuce/AppTest.java b/src/test/java/com/burakyuce/AppTest.java new file mode 100644 index 0000000..5c1ed98 --- /dev/null +++ b/src/test/java/com/burakyuce/AppTest.java @@ -0,0 +1,38 @@ +package com.burakyuce; + +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 ); + } +}