camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1456992 - in /camel/branches/camel-2.10.x: ./ camel-core/src/test/java/org/apache/camel/util/FileUtilTest.java
Date Fri, 15 Mar 2013 15:43:09 GMT
Author: davsclaus
Date: Fri Mar 15 15:43:09 2013
New Revision: 1456992

URL: http://svn.apache.org/r1456992
Log:
Added test

Modified:
    camel/branches/camel-2.10.x/   (props changed)
    camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/util/FileUtilTest.java

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

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

Modified: camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/util/FileUtilTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/util/FileUtilTest.java?rev=1456992&r1=1456991&r2=1456992&view=diff
==============================================================================
--- camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/util/FileUtilTest.java
(original)
+++ camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/util/FileUtilTest.java
Fri Mar 15 15:43:09 2013
@@ -29,9 +29,11 @@ public class FileUtilTest extends TestCa
         if (FileUtil.isWindows()) {
             assertEquals("foo\\bar", FileUtil.normalizePath("foo/bar"));
             assertEquals("foo\\bar\\baz", FileUtil.normalizePath("foo/bar\\baz"));
+            assertEquals("movefile\\sub\\sub2\\.done\\goodday.txt", FileUtil.normalizePath("movefile/sub/sub2\\.done\\goodday.txt"));
         } else {
             assertEquals("foo/bar", FileUtil.normalizePath("foo/bar"));
             assertEquals("foo/bar/baz", FileUtil.normalizePath("foo/bar\\baz"));
+            assertEquals("movefile/sub/sub2/.done/goodday.txt", FileUtil.normalizePath("movefile/sub/sub2\\.done\\goodday.txt"));
         }
     }
 



Mime
View raw message