@Test
public void makeAbsoluteURLURL_httpAsRoot() throws Exception {

	URL root = new URL("http://maven.arakhne.org");  //$NON-NLS-1$
	assertNull(FileSystem.makeAbsolute((URL)null, root));
	assertEquals(new URL("http://www.arakhne.org/toto"),  //$NON-NLS-1$
			FileSystem.makeAbsolute(new URL("http://www.arakhne.org/toto"), root));  //$NON-NLS-1$
	assertEquals(new URL("http://www.arakhne.org/./toto"),  //$NON-NLS-1$
			FileSystem.makeAbsolute(new URL("http://www.arakhne.org/./toto"), root));  //$NON-NLS-1$
	assertEquals(new URL("https://www.arakhne.org/toto"),  //$NON-NLS-1$
			FileSystem.makeAbsolute(new URL("https://www.arakhne.org/toto"), root));  //$NON-NLS-1$
	assertEquals(new URL("https://www.arakhne.org/./toto"),  //$NON-NLS-1$
			FileSystem.makeAbsolute(new URL("https://www.arakhne.org/./toto"), root));  //$NON-NLS-1$
	assertEquals(new URL("ftp://www.arakhne.org/toto"),  //$NON-NLS-1$
			FileSystem.makeAbsolute(new URL("ftp://www.arakhne.org/toto"), root));  //$NON-NLS-1$
	assertEquals(new URL("ftp://www.arakhne.org/./toto"),  //$NON-NLS-1$
			FileSystem.makeAbsolute(new URL("ftp://www.arakhne.org/./toto"), root));  //$NON-NLS-1$
	assertEquals(new URL("jar:http://maven.arakhne.org/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"), root));  //$NON-NLS-1$
}