sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1457680 - in /sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis: internal/converter/PathConverterTest.java util/collection/TreeTablesTest.java
Date Mon, 18 Mar 2013 09:21:37 GMT
Author: desruisseaux
Date: Mon Mar 18 09:21:37 2013
New Revision: 1457680

URL: http://svn.apache.org/r1457680
Log:
Fixed a build failure on Windows platform.

Modified:
    sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/internal/converter/PathConverterTest.java
    sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/TreeTablesTest.java

Modified: sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/internal/converter/PathConverterTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/internal/converter/PathConverterTest.java?rev=1457680&r1=1457679&r2=1457680&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/internal/converter/PathConverterTest.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/internal/converter/PathConverterTest.java
[UTF-8] Mon Mar 18 09:21:37 2013
@@ -73,7 +73,7 @@ public final strictfp class PathConverte
     @Test
     public void testFile_String() {
         final ObjectConverter<File,String> c = new StringConverter.File().inverse();
-        runInvertibleConversion(c, new File("home/user/index.txt"), "home/user/index.txt".replace("/",
File.separator));
+        runInvertibleConversion(c, new File("home/user/index.txt"), "home/user/index.txt".replace('/',
File.separatorChar));
         assertSerializedEquals(c);
     }
 

Modified: sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/TreeTablesTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/TreeTablesTest.java?rev=1457680&r1=1457679&r2=1457680&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/TreeTablesTest.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/TreeTablesTest.java
[UTF-8] Mon Mar 18 09:21:37 2013
@@ -82,12 +82,12 @@ public final strictfp class TreeTablesTe
                 "  │       └─document\n" +
                 "  └─lib\n", NAME);
         ((DefaultTreeTable) table).setRoot(concatenateSingletons(table.getRoot()));
-        assertMultilinesEquals(
+        assertMultilinesEquals((
                 "root\n" +
                 "  ├─users/alice\n" +
                 "  │   ├─data/mercator\n" +
                 "  │   └─document\n" +
-                "  └─lib\n".replace("/", File.separator), table.toString());
+                "  └─lib\n").replace('/', File.separatorChar), table.toString());
     }
 
     /**



Mime
View raw message