You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2013/04/05 21:36:52 UTC

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

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));
         }