MCPcopy Create free account
hub / github.com/apache/tomcat / testResolveClass04

Method testResolveClass04

test/jakarta/el/TestImportHandler.java:79–89  ·  view source on GitHub ↗

Multiple package imports with a single match. https://bz.apache.org/bugzilla/show_bug.cgi?id=57113

()

Source from the content-addressed store, hash-verified

77 * Multiple package imports with a single match. https://bz.apache.org/bugzilla/show_bug.cgi?id=57113
78 */
79 @Test
80 public void testResolveClass04() {
81 ImportHandler handler = new ImportHandler();
82
83 handler.importPackage("java.util");
84 handler.importPackage("java.net");
85
86 Class<?> clazz = handler.resolveClass("ArrayList");
87
88 Assert.assertEquals(ArrayList.class, clazz);
89 }
90
91
92 /**

Callers

nothing calls this directly

Calls 2

importPackageMethod · 0.95
resolveClassMethod · 0.95

Tested by

no test coverage detected