Subversion Repository Public Repository

litesoft

Diff Revisions 314 vs 315 for /trunk/Java/ScarPlus/test/com/esotericsoftware/utils/FileSupportTest.java

Diff revisions: vs.
  @@ -60,14 +60,13 @@
60 60
61 61 @Override
62 62 public String canonicalizeNormalizedExisting( String path )
63 - throws IOException
64 63 {
65 64 String zPath = findCanonicalExistingPath( path );
66 65 if ( zPath != null )
67 66 {
68 67 return zPath;
69 68 }
70 - throw new FileNotFoundException( path );
69 + throw new WrappedIOException( new FileNotFoundException( path ) );
71 70 }
72 71
73 72 private String findCanonicalExistingPath( String pPath )
  @@ -154,7 +153,6 @@
154 153
155 154 @Test
156 155 public void test_normalizePath()
157 - throws IOException
158 156 {
159 157 IFileSystem zFileSystem = new TestFileSystem( true );
160 158
  @@ -244,7 +242,6 @@
244 242
245 243 @Test
246 244 public void test_isAbsoluteNormalizedPath()
247 - throws IOException
248 245 {
249 246 IFileSystem zFileSystem = new TestFileSystem( true ).setCurrentPath( "C:\\" );
250 247 assertAbsolute( zFileSystem, "C:\\Flintstone", "\\\\TheServer\\Fred" );
  @@ -286,7 +283,6 @@
286 283
287 284 @Test
288 285 public void test_canonicalizeNormalizedPath()
289 - throws IOException
290 286 {
291 287 IFileSystem zFileSystem = new TestFileSystem( false, //
292 288 "/", //