Title: [751] trunk/core/src/test/java/org/servicemix/jbi/messaging: Modified the wrong test case.
- Revision
- 751
- Author
- gnt
- Date
- 2005-11-04 11:48:11 -0500 (Fri, 04 Nov 2005)
Log Message
Modified the wrong test case.
Modified Paths
Diff
Modified: trunk/core/src/test/java/org/servicemix/jbi/messaging/AbstractTransactionTest.java (750 => 751)
--- trunk/core/src/test/java/org/servicemix/jbi/messaging/AbstractTransactionTest.java 2005-11-04 16:36:52 UTC (rev 750)
+++ trunk/core/src/test/java/org/servicemix/jbi/messaging/AbstractTransactionTest.java 2005-11-04 16:48:11 UTC (rev 751)
@@ -123,12 +123,7 @@
}
public void testSyncSendSyncReceive() throws Exception {
- try {
- runSimpleTest(true, true);
- fail("sendSync can not be used");
- } catch (IllegalStateException e) {
- // sendSync can not be used
- }
+ runSimpleTest(true, true);
}
public void testAsyncSendSyncReceive() throws Exception {
@@ -136,12 +131,7 @@
}
public void testSyncSendAsyncReceive() throws Exception {
- try {
- runSimpleTest(true, false);
- fail("sendSync can not be used");
- } catch (IllegalStateException e) {
- // sendSync can not be used
- }
+ runSimpleTest(true, false);
}
public void testAsyncSendAsyncReceive() throws Exception {
Modified: trunk/core/src/test/java/org/servicemix/jbi/messaging/JmsFlowTransactionTest.java (750 => 751)
--- trunk/core/src/test/java/org/servicemix/jbi/messaging/JmsFlowTransactionTest.java 2005-11-04 16:36:52 UTC (rev 750)
+++ trunk/core/src/test/java/org/servicemix/jbi/messaging/JmsFlowTransactionTest.java 2005-11-04 16:48:11 UTC (rev 751)
@@ -29,4 +29,22 @@
return new JMSFlow();
}
+ public void testSyncSendSyncReceive() throws Exception {
+ try {
+ runSimpleTest(true, true);
+ fail("sendSync can not be used");
+ } catch (IllegalStateException e) {
+ // sendSync can not be used
+ }
+ }
+
+ public void testSyncSendAsyncReceive() throws Exception {
+ try {
+ runSimpleTest(true, false);
+ fail("sendSync can not be used");
+ } catch (IllegalStateException e) {
+ // sendSync can not be used
+ }
+ }
+
}