* Test setting classpath in many different ways.
*/
@Test
public void settingClassPaths() {
logger.info("settingClassPaths");
FileClassLoader2 fcl = new FileClassLoader2(Const.CLASSPATH);
assertEquals(1, fcl.getClassPaths().size());
assertEquals(CLASSPATH + DIRSEP, fcl.getClassPaths().get(0));
fcl = new FileClassLoader2(CLASSPATH + DIRSEP);
assertEquals(1, fcl.getClassPaths().size());
assertEquals(CLASSPATH + DIRSEP, fcl.getClassPaths().get(0));
fcl = new FileClassLoader2(CLASSPATH + PATHSEP + CLASSPATH_TESTPROJEKT);
assertEquals(2, fcl.getClassPaths().size());
assertEquals(CLASSPATH + DIRSEP, fcl.getClassPaths().get(0));
assertEquals(CLASSPATH_TESTPROJEKT + DIRSEP, fcl.getClassPaths().get(1));
fcl = new FileClassLoader2(CLASSPATH_TESTPROJEKT + DIRSEP + PATHSEP
+ CLASSPATH + DIRSEP);
assertEquals(2, fcl.getClassPaths().size());
assertEquals(CLASSPATH_TESTPROJEKT + DIRSEP, fcl.getClassPaths().get(0));
assertEquals(CLASSPATH + DIRSEP, fcl.getClassPaths().get(1));
}