summaryrefslogtreecommitdiff
path: root/src/test/java/org/javacs/ClassesTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/javacs/ClassesTest.java')
-rw-r--r--src/test/java/org/javacs/ClassesTest.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/java/org/javacs/ClassesTest.java b/src/test/java/org/javacs/ClassesTest.java
index 1bda15f..323dea4 100644
--- a/src/test/java/org/javacs/ClassesTest.java
+++ b/src/test/java/org/javacs/ClassesTest.java
@@ -49,20 +49,6 @@ public class ClassesTest {
assertNotNull(load);
}
- @Test
- public void loadList() throws Exception {
- var classes = ClassPath.from(ClassLoader.getPlatformClassLoader());
- var found = classes.getTopLevelClasses("java.util");
- assertThat(found, not(empty()));
- assertThat(found, hasItem(hasToString("java.util.List")));
-
- var list = found.stream().filter(c -> c.getName().equals("java.util.List")).findFirst();
- assertTrue(list.isPresent());
-
- var load = list.get().load();
- assertNotNull(load);
- }
-
void ancestors(ClassLoader classLoader) {
while (classLoader != null) {
System.out.println(classLoader.toString());