summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/emailgateway-contribution/test/scatours/emailgateway/EmailGatewayTestCase.java
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-12-08 14:22:21 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-12-08 14:22:21 +0000
commiteb86a871567d9a370eb63ae1f4689e389ee99584 (patch)
treef9d4a969aa9d9366456247911e7438a3b827a0c3 /sandbox/travelsample/emailgateway-contribution/test/scatours/emailgateway/EmailGatewayTestCase.java
parentbbda2f487281f9eb119900a675db721a24b2a0be (diff)
The BPEL payment process now successfully calls the payment service
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@724355 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/emailgateway-contribution/test/scatours/emailgateway/EmailGatewayTestCase.java')
-rw-r--r--sandbox/travelsample/emailgateway-contribution/test/scatours/emailgateway/EmailGatewayTestCase.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/sandbox/travelsample/emailgateway-contribution/test/scatours/emailgateway/EmailGatewayTestCase.java b/sandbox/travelsample/emailgateway-contribution/test/scatours/emailgateway/EmailGatewayTestCase.java
index a39127653b..7445aa41c3 100644
--- a/sandbox/travelsample/emailgateway-contribution/test/scatours/emailgateway/EmailGatewayTestCase.java
+++ b/sandbox/travelsample/emailgateway-contribution/test/scatours/emailgateway/EmailGatewayTestCase.java
@@ -50,6 +50,16 @@ public class EmailGatewayTestCase {
EmailType email = objectFactory.createEmailType();
System.out.println(cc.sendEmail(email));
}
+
+ @Test
+ public void testWaitForInput() {
+ System.out.println("Press a key to end");
+ try {
+ System.in.read();
+ } catch (Exception ex) {
+ }
+ System.out.println("Shutting down");
+ }
/**
* @throws java.lang.Exception