From 9e744e0ad3d2c889c7fc8780571edd8d9546bdba Mon Sep 17 00:00:00 2001 From: slaws Date: Wed, 9 Jun 2010 09:58:52 +0000 Subject: Add more ws callback test cases git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@952934 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/test/CallBackBasicClientImpl.java | 2 + .../src/main/resources/CallBackBasicTest.composite | 46 ++++++++++++++++++---- 2 files changed, 41 insertions(+), 7 deletions(-) (limited to 'sca-java-2.x/trunk/itest/callback-basic-ws/src/main') diff --git a/sca-java-2.x/trunk/itest/callback-basic-ws/src/main/java/org/apache/tuscany/sca/test/CallBackBasicClientImpl.java b/sca-java-2.x/trunk/itest/callback-basic-ws/src/main/java/org/apache/tuscany/sca/test/CallBackBasicClientImpl.java index 4bb6b29a8d..f98a70e5cc 100644 --- a/sca-java-2.x/trunk/itest/callback-basic-ws/src/main/java/org/apache/tuscany/sca/test/CallBackBasicClientImpl.java +++ b/sca-java-2.x/trunk/itest/callback-basic-ws/src/main/java/org/apache/tuscany/sca/test/CallBackBasicClientImpl.java @@ -27,6 +27,7 @@ public class CallBackBasicClientImpl implements CallBackBasicClient, CallBackBas @Reference protected CallBackBasicService aCallBackService; + private static String returnMessage = null; private static int callBackCount = 0; private static Object monitor = new Object(); @@ -34,6 +35,7 @@ public class CallBackBasicClientImpl implements CallBackBasicClient, CallBackBas public void run() { // This tests basic callback patterns. + callBackCount = 0; // Test1 is the basic callback where the target calls back prior to // returning to the client. diff --git a/sca-java-2.x/trunk/itest/callback-basic-ws/src/main/resources/CallBackBasicTest.composite b/sca-java-2.x/trunk/itest/callback-basic-ws/src/main/resources/CallBackBasicTest.composite index 5e77ac2b91..8389be6fad 100644 --- a/sca-java-2.x/trunk/itest/callback-basic-ws/src/main/resources/CallBackBasicTest.composite +++ b/sca-java-2.x/trunk/itest/callback-basic-ws/src/main/resources/CallBackBasicTest.composite @@ -20,24 +20,56 @@ + + + + + + + + + + + + + - + + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3