[Arakhnę-Dev] [89] Add convertion function. |
[ Thread Index |
Date Index
| More arakhne.org/dev Archives
]
Revision: 89
Author: galland
Date: 2009-11-27 22:21:48 +0100 (Fri, 27 Nov 2009)
Log Message:
-----------
Add convertion function.
Modified Paths:
--------------
trunk/arakhneVmutils/java/src/test/java/org/arakhne/vmutil/FileSystemTest.java
Modified: trunk/arakhneVmutils/java/src/test/java/org/arakhne/vmutil/FileSystemTest.java
===================================================================
--- trunk/arakhneVmutils/java/src/test/java/org/arakhne/vmutil/FileSystemTest.java 2009-11-27 21:21:34 UTC (rev 88)
+++ trunk/arakhneVmutils/java/src/test/java/org/arakhne/vmutil/FileSystemTest.java 2009-11-27 21:21:48 UTC (rev 89)
@@ -272,6 +272,8 @@
catch(IllegalArgumentException _) {
//
}
+ assertEquals(new File("toto"), //$NON-NLS-1$
+ FileSystem.convertUrlToFile(new URL("file:./toto"))); //$NON-NLS-1$
}
}