camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvah...@apache.org
Subject svn commit: r1369495 - in /camel/branches/camel-2.9.x: ./ components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisInsertWithRollbackTest.java
Date Sat, 04 Aug 2012 22:22:16 GMT
Author: bvahdat
Date: Sat Aug  4 22:22:16 2012
New Revision: 1369495

URL: http://svn.apache.org/viewvc?rev=1369495&view=rev
Log:
Merged revisions 1369492 via svnmerge from 
https://svn.apache.org/repos/asf/camel/branches/camel-2.10.x

................
  r1369492 | bvahdat | 2012-08-05 00:18:41 +0200 (So, 05 Aug 2012) | 9 lines
  
  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.9.x/   (props changed)
    camel/branches/camel-2.9.x/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisInsertWithRollbackTest.java

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

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

Modified: camel/branches/camel-2.9.x/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisInsertWithRollbackTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisInsertWithRollbackTest.java?rev=1369495&r1=1369494&r2=1369495&view=diff
==============================================================================
--- camel/branches/camel-2.9.x/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisInsertWithRollbackTest.java
(original)
+++ camel/branches/camel-2.9.x/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisInsertWithRollbackTest.java
Sat Aug  4 22:22:16 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



Mime
View raw message