|
|
|
@ -93,6 +93,7 @@ public class JarFileTests {
|
|
|
|
|
assertThat(entries.nextElement().getName()).isEqualTo("special/\u00EB.dat");
|
|
|
|
|
assertThat(entries.nextElement().getName()).isEqualTo("nested.jar");
|
|
|
|
|
assertThat(entries.nextElement().getName()).isEqualTo("another-nested.jar");
|
|
|
|
|
assertThat(entries.nextElement().getName()).isEqualTo("space nested.jar");
|
|
|
|
|
assertThat(entries.hasMoreElements()).isFalse();
|
|
|
|
|
URL jarUrl = new URL("jar:" + this.rootJarFile.toURI() + "!/");
|
|
|
|
|
URLClassLoader urlClassLoader = new URLClassLoader(new URL[] { jarUrl });
|
|
|
|
@ -135,6 +136,7 @@ public class JarFileTests {
|
|
|
|
|
assertThat(entries.nextElement().getName()).isEqualTo("special/\u00EB.dat");
|
|
|
|
|
assertThat(entries.nextElement().getName()).isEqualTo("nested.jar");
|
|
|
|
|
assertThat(entries.nextElement().getName()).isEqualTo("another-nested.jar");
|
|
|
|
|
assertThat(entries.nextElement().getName()).isEqualTo("space nested.jar");
|
|
|
|
|
assertThat(entries.hasMoreElements()).isFalse();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|