camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvah...@apache.org
Subject svn commit: r1465102 - /camel/trunk/components/camel-aws/src/test/java/org/apache/camel/component/aws/s3/S3ComponentFileTest.java
Date Fri, 05 Apr 2013 19:36:52 GMT
Author: bvahdat
Date: Fri Apr  5 19:36:52 2013
New Revision: 1465102

URL: http://svn.apache.org/r1465102
Log:
Be more precise with the code comment.

Modified:
    camel/trunk/components/camel-aws/src/test/java/org/apache/camel/component/aws/s3/S3ComponentFileTest.java

Modified: camel/trunk/components/camel-aws/src/test/java/org/apache/camel/component/aws/s3/S3ComponentFileTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-aws/src/test/java/org/apache/camel/component/aws/s3/S3ComponentFileTest.java?rev=1465102&r1=1465101&r2=1465102&view=diff
==============================================================================
--- camel/trunk/components/camel-aws/src/test/java/org/apache/camel/component/aws/s3/S3ComponentFileTest.java
(original)
+++ camel/trunk/components/camel-aws/src/test/java/org/apache/camel/component/aws/s3/S3ComponentFileTest.java
Fri Apr  5 19:36:52 2013
@@ -120,7 +120,8 @@ public class S3ComponentFileTest extends
         assertIsInstanceOf(InputStream.class, resultExchange.getIn().getBody());
 
         if (!"sendFileAndDelete".equals(getTestMethodName())) {
-            // as we delete the file using the "deleteAfterWrite=true" option here we can
not assert on it's content anymore
+            // assert on the file content only in case the "deleteAfterWrite" option is NOT
enabled
+            // in which case we would still have the file and thereby could assert on it's
content
             assertEquals("This is my bucket content.", resultExchange.getIn().getBody(String.class));
         }
 



Mime
View raw message