You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by as...@apache.org on 2006/11/08 20:04:44 UTC
svn commit: r472594 -
/incubator/ode/trunk/bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/ActivityRecoveryTest.java
Author: assaf
Date: Wed Nov 8 11:04:44 2006
New Revision: 472594
URL: http://svn.apache.org/viewvc?view=rev&rev=472594
Log:
Removed printlns now that all tests but one pass, and I know why the last one is failing
Modified:
incubator/ode/trunk/bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/ActivityRecoveryTest.java
Modified: incubator/ode/trunk/bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/ActivityRecoveryTest.java
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/ActivityRecoveryTest.java?view=diff&rev=472594&r1=472593&r2=472594
==============================================================================
--- incubator/ode/trunk/bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/ActivityRecoveryTest.java (original)
+++ incubator/ode/trunk/bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/ActivityRecoveryTest.java Wed Nov 8 11:04:44 2006
@@ -114,7 +114,6 @@
return new MessageExchangeContext() {
public void invokePartner(final PartnerRoleMessageExchange mex) throws ContextException {
-System.out.println("-- Invoke: " + mex.getOperation().getName());
if (mex.getOperation().getName().equals("invoke")) {
// Failing invocation.
++_invoked;
@@ -123,7 +122,6 @@
response.setMessage(DOMUtils.newDocument().createElementNS(NAMESPACE, "tns:ResponseElement"));
mex.reply(response);
} else {
-System.out.println("-- Failed: " + _invoked);
mex.replyWithFailure(MessageExchange.FailureType.COMMUNICATION_ERROR, "BangGoesInvoke", null);
}
} else if (mex.getOperation().getName().equals("respond"))
@@ -136,7 +134,6 @@
};
_server.deploy(new File(new URI(this.getClass().getResource("/recovery").toString())));
_management = _server.getBpelManagementFacade();
-System.out.println("-- Start test");
}
protected void tearDown() throws Exception {
@@ -166,8 +163,6 @@
TInstanceInfo instance = _management.listAllInstances().getInstanceInfoList().getInstanceInfoArray(0);
TInstanceInfo.Failures failures = instance.getFailures();
assertTrue(failures == null || failures.getCount() == 0);
-System.out.println("-- Status: " + instance.getStatus());
-System.out.println("-- Fault: " + instance.getFaultInfo());
if (successful) {
assertTrue(instance.getStatus() == TInstanceStatus.COMPLETED);
assertTrue(_responseSent);
@@ -192,7 +187,6 @@
assertFalse(_responseSent);
TInstanceInfo.Failures failures = instance.getFailures();
assertTrue(failures != null && failures.getCount() == 1);
-System.out.println("-- Failures count: " + failures.getCount());
// Look for individual activities inside the process instance.
@SuppressWarnings("unused")
TScopeInfo rootScope = _management.getScopeInfoWithActivity(instance.getRootScope().getSiid(), true).getScopeInfo();