Author: mriou
Date: Wed Dec 10 14:12:51 2008
New Revision: 725461
URL: http://svn.apache.org/viewvc?rev=725461&view=rev
Log:
No need to generate all those soups anymore.
Modified:
ode/trunk/runtimes/src/test/java/org/apache/ode/bpel/rtrep/v1/CoreBpelTest.java
Modified:
ode/trunk/runtimes/src/test/java/org/apache/ode/bpel/rtrep/v1/CoreBpelTest.java
URL:
http://svn.apache.org/viewvc/ode/trunk/runtimes/src/test/java/org/apache/ode/bpel/rtrep/v1/CoreBpelTest.java?rev=725461&r1=725460&r2=725461&view=diff
==============================================================================
---
ode/trunk/runtimes/src/test/java/org/apache/ode/bpel/rtrep/v1/CoreBpelTest.java
(original)
+++
ode/trunk/runtimes/src/test/java/org/apache/ode/bpel/rtrep/v1/CoreBpelTest.java
Wed Dec 10 14:12:51 2008
@@ -314,24 +314,9 @@
_vpu.inject(new PROCESS(proc));
for (int i = 0; i < 100000 && !_completedOk && _fault == null &&
!_terminate; ++i) {
_vpu.execute();
- try {
- _soup.write(new FileOutputStream("soup-" + count++));
- } catch (IOException e) {
- e.printStackTrace();
- }
}
Assert.assertTrue(_soup.isComplete());
-
- ByteArrayOutputStream bos = new ByteArrayOutputStream();
-
- try {
- _soup.write(bos);
- _soup.read(new ByteArrayInputStream(bos.toByteArray()));
- // check empty soup.
- } catch (Exception ex) {
-
- }
}
public long genId() {
@@ -468,4 +453,4 @@
return null;
}
-}
\ No newline at end of file
+}