Author: bvahdat
Date: Sat Aug  4 22:18:41 2012
New Revision: 1369492

URL: http://svn.apache.org/viewvc?rev=1369492&view=rev
Log:
Merged revisions 1369490 via svnmerge from 
https://svn.apache.org/repos/asf/camel/trunk

........
  r1369490 | bvahdat | 2012-08-05 00:10:29 +0200 (So, 05 Aug 2012) | 1 line
  
  CAMEL-5485: More assert by MyBatisInsertWithRollbackTest. 
........

Modified:
    camel/branches/camel-2.10.x/   (props changed)
    
camel/branches/camel-2.10.x/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisInsertWithRollbackTest.java

Propchange: camel/branches/camel-2.10.x/
------------------------------------------------------------------------------
  Merged /camel/trunk:r1369490

Propchange: camel/branches/camel-2.10.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: 
camel/branches/camel-2.10.x/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisInsertWithRollbackTest.java
URL: 
http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisInsertWithRollbackTest.java?rev=1369492&r1=1369491&r2=1369492&view=diff
==============================================================================
--- 
camel/branches/camel-2.10.x/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisInsertWithRollbackTest.java
 (original)
+++ 
camel/branches/camel-2.10.x/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisInsertWithRollbackTest.java
 Sat Aug  4 22:18:41 2012
@@ -33,6 +33,10 @@ public class MyBatisInsertWithRollbackTe
         template.sendBody("direct:start", null);
 
         assertMockEndpointsSatisfied();
+
+        // there should be still 2 rows
+        Integer rows = 
template.requestBody("mybatis:count?statementType=SelectOne", null, 
Integer.class);
+        assertEquals("There should be 2 rows", 2, rows.intValue());
     }
 
     @Override


Reply via email to