From 83be33d982055e2f86a97270dd400f01fb9cb928 Mon Sep 17 00:00:00 2001 From: slaws Date: Fri, 27 Mar 2009 14:21:16 +0000 Subject: TUSCANY-2944 don't raise NPE if the component type model cannot be determined git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@759149 13f79535-47bb-0310-9956-ffa450edef68 --- .../store/store-test/test/StoreSupplierTestCase.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'branches/sca-java-1.x/tutorials/store') diff --git a/branches/sca-java-1.x/tutorials/store/store-test/test/StoreSupplierTestCase.java b/branches/sca-java-1.x/tutorials/store/store-test/test/StoreSupplierTestCase.java index 588c014fdf..69590ee80e 100644 --- a/branches/sca-java-1.x/tutorials/store/store-test/test/StoreSupplierTestCase.java +++ b/branches/sca-java-1.x/tutorials/store/store-test/test/StoreSupplierTestCase.java @@ -19,6 +19,8 @@ package test; +import java.io.IOException; + import junit.framework.Assert; import junit.framework.TestCase; @@ -28,6 +30,7 @@ import org.apache.tuscany.sca.node.launcher.DomainManagerLauncher; import org.apache.tuscany.sca.node.launcher.NodeLauncher; import org.junit.After; import org.junit.Before; +import org.junit.Ignore; import org.junit.Test; import org.junit.Ignore; @@ -76,6 +79,18 @@ public class StoreSupplierTestCase { domainManager.stop(); } +/* + @Test + public void testWaitForInput() { + try { + System.out.println("press enter to continue)"); + System.in.read(); + } catch (IOException e) { + e.printStackTrace(); + } + } +*/ + @Test public void testShop() { SCAClient client = (SCAClient)storeClientNode; -- cgit v1.2.3