コード例 #1
0
 public void testReadFromPropertiesWithEmptyProperties() throws Exception {
   Classpath recreatedClasspath = readClasspathFromProperties();
   assertTrue(recreatedClasspath.getClassPath().isEmpty());
 }
コード例 #2
0
 private Classpath createClasspathWithTwoElements() {
   return Classpath.emptyClasspath()
       .addClassPathElementUrl(FIRST_ELEMENT)
       .addClassPathElementUrl(SECOND_ELEMENT);
 }
コード例 #3
0
ファイル: Classpath.java プロジェクト: krosenvold/surefire
 public static Classpath join(Classpath firstClasspath, Classpath secondClasspath) {
   Classpath joinedClasspath = new Classpath();
   joinedClasspath.addElementsOfClasspath(firstClasspath);
   joinedClasspath.addElementsOfClasspath(secondClasspath);
   return joinedClasspath;
 }