summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples/applications/store/src
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-01-04 15:17:31 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-01-04 15:17:31 +0000
commitb175edffceb282100b0359db6d90715ce70b4864 (patch)
treebd5026659741a726bfd2df71e415a88e710a86a2 /sca-java-2.x/trunk/samples/applications/store/src
parent1f252b24441ebdf6df3ce2ca16bca0d8eff935b4 (diff)
Update to support being run with mvn exec:java
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1055077 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/applications/store/src')
-rw-r--r--sca-java-2.x/trunk/samples/applications/store/src/test/java/store/StoreTestCase.java10
1 files changed, 7 insertions, 3 deletions
diff --git a/sca-java-2.x/trunk/samples/applications/store/src/test/java/store/StoreTestCase.java b/sca-java-2.x/trunk/samples/applications/store/src/test/java/store/StoreTestCase.java
index 883aaa76f6..7fa866d1c6 100644
--- a/sca-java-2.x/trunk/samples/applications/store/src/test/java/store/StoreTestCase.java
+++ b/sca-java-2.x/trunk/samples/applications/store/src/test/java/store/StoreTestCase.java
@@ -52,6 +52,12 @@ import com.gargoylesoftware.htmlunit.html.HtmlPage;
public class StoreTestCase {
private static Node nodeStore;
+ public static void main(String[] args) throws Exception {
+ setUp();
+ testWaitForInput();
+ tearDown();
+ }
+
@BeforeClass
public static void setUp() throws Exception {
String storeLocation = ContributionLocationHelper.getContributionLocation("store.composite");
@@ -66,9 +72,7 @@ public class StoreTestCase {
nodeStore.stop();
}
- @Test
- @Ignore
- public void testWaitForInput() {
+ public static void testWaitForInput() {
try {
System.out.println("press enter to continue)");
System.in.read();