From d0c7c720c06d7b21cdf8a67ff17c985f97df65e3 Mon Sep 17 00:00:00 2001 From: nmihajlovski Date: Mon, 27 Feb 2017 00:04:46 +0100 Subject: [PATCH] Improved the examples. --- .../hello-world/src/main/resources/config.yml | 0 .../{HelloWorldTest.java => WebTest.java} | 2 +- examples/pom.xml | 18 ++++++++++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 examples/hello-world/src/main/resources/config.yml rename examples/hello-world/src/test/java/com/example/{HelloWorldTest.java => WebTest.java} (92%) create mode 100644 examples/pom.xml diff --git a/examples/hello-world/src/main/resources/config.yml b/examples/hello-world/src/main/resources/config.yml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/examples/hello-world/src/test/java/com/example/HelloWorldTest.java b/examples/hello-world/src/test/java/com/example/WebTest.java similarity index 92% rename from examples/hello-world/src/test/java/com/example/HelloWorldTest.java rename to examples/hello-world/src/test/java/com/example/WebTest.java index eeb2de52b2..1f864d5364 100644 --- a/examples/hello-world/src/test/java/com/example/HelloWorldTest.java +++ b/examples/hello-world/src/test/java/com/example/WebTest.java @@ -12,7 +12,7 @@ * This test will execute the main class specified in the annotation. */ @IntegrationTest(main = Main.class) -public class HelloWorldTest extends RapidoidIntegrationTest { +public class WebTest extends RapidoidIntegrationTest { @Test public void testHelloWorld() { diff --git a/examples/pom.xml b/examples/pom.xml new file mode 100644 index 0000000000..95cdfadb90 --- /dev/null +++ b/examples/pom.xml @@ -0,0 +1,18 @@ + + 4.0.0 + + org.rapidoid + examples + 1.0.0-SNAPSHOT + pom + + + getting-started + guice-integration + hello-world + rest-api + + + +