You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2009/08/27 03:32:37 UTC
svn commit: r808247 -
/camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileTest.java
Author: ningjiang
Date: Thu Aug 27 01:32:36 2009
New Revision: 808247
URL: http://svn.apache.org/viewvc?rev=808247&view=rev
Log:
CAMEL-1934 Fixed the assert parameter issue as Christian suggested
Modified:
camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileTest.java
Modified: camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileTest.java?rev=808247&r1=808246&r2=808247&view=diff
==============================================================================
--- camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileTest.java (original)
+++ camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileTest.java Thu Aug 27 01:32:36 2009
@@ -51,7 +51,7 @@
// the temporary files should have been deleted
File file = new File("./target/cachedir");
String[] files = file.list();
- assertEquals("There should be no files", files.length, 0);
+ assertEquals("There should be no files", 0, files.length);
}
@Test
@@ -68,7 +68,7 @@
// the temporary files should have been deleted
File file = new File("./target/cachedir");
String[] files = file.list();
- assertEquals("There should be no files", files.length, 0);
+ assertEquals("There should be no files", 0, files.length);
}
@Override