File to URL conversions.
()
| 27 | |
| 28 | /** File to URL conversions. */ |
| 29 | @Test public void fileToURL() { |
| 30 | final String url = new IOFile("X Y").url(); |
| 31 | assertTrue(url.startsWith("file:/")); |
| 32 | assertTrue(url.endsWith("X%20Y")); |
| 33 | } |
| 34 | |
| 35 | /** Path normalization must preserve non-BMP characters (surrogate pairs). */ |
| 36 | @Test public void surrogatePairPath() { |
nothing calls this directly
no test coverage detected