@Test
public void makeAbsoluteURLFile_root() throws Exception {

	File root = new File(File.separator+"myroot");  //$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("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$
}