@Test
public void makeAbsoluteURLURL_notroot() throws Exception {

	assertNull(FileSystem.makeAbsolute((URL)null, (URL)null));
	assertEquals(new URL("file:/toto"),  //$NON-NLS-1$
			FileSystem.makeAbsolute(new URL("file:/toto"), (URL)null));  //$NON-NLS-1$
	assertEquals(new URL("file:toto"),  //$NON-NLS-1$
			FileSystem.makeAbsolute(new URL("file:toto"), (URL)null));  //$NON-NLS-1$
	assertEquals(new URL("http://www.arakhne.org/toto"),  //$NON-NLS-1$
			FileSystem.makeAbsolute(new URL("http://www.arakhne.org/toto"), (URL)null));  //$NON-NLS-1$
	assertEquals(new URL("http://www.arakhne.org/./toto"),  //$NON-NLS-1$
			FileSystem.makeAbsolute(new URL("http://www.arakhne.org/./toto"), (URL)null));  //$NON-NLS-1$
	assertEquals(new URL("https://www.arakhne.org/toto"),  //$NON-NLS-1$
			FileSystem.makeAbsolute(new URL("https://www.arakhne.org/toto"), (URL)null));  //$NON-NLS-1$
	assertEquals(new URL("https://www.arakhne.org/./toto"),  //$NON-NLS-1$
			FileSystem.makeAbsolute(new URL("https://www.arakhne.org/./toto"), (URL)null));  //$NON-NLS-1$
	assertEquals(new URL("ftp://www.arakhne.org/toto"),  //$NON-NLS-1$
			FileSystem.makeAbsolute(new URL("ftp://www.arakhne.org/toto"), (URL)null));  //$NON-NLS-1$
	assertEquals(new URL("ftp://www.arakhne.org/./toto"),  //$NON-NLS-1$
			FileSystem.makeAbsolute(new URL("ftp://www.arakhne.org/./toto"), (URL)null));  //$NON-NLS-1$
	assertEquals(new URL("jar:file:/home/test/j.jar!/org/arakhne/afc/vmutil/ff.properties"),  //$NON-NLS-1$
			FileSystem.makeAbsolute(new URL("jar:file:/home/test/j.jar!/org/arakhne/afc/vmutil/ff.properties"), (URL)null));  //$NON-NLS-1$
	assertEquals(new URL("jar:file:home/test/j.jar!/org/arakhne/afc/vmutil/ff.properties"),  //$NON-NLS-1$
			FileSystem.makeAbsolute(new URL("jar:file:home/test/j.jar!/org/arakhne/afc/vmutil/ff.properties"), (URL)null));  //$NON-NLS-1$
}