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

Method testResolveClass05

test/jakarta/el/TestImportHandler.java:96–105  ·  view source on GitHub ↗

Attempting to resolve something that isn't a simple class name https://bz.apache.org/bugzilla/show_bug.cgi?id=57132

()

Source from the content-addressed store, hash-verified

94 * https://bz.apache.org/bugzilla/show_bug.cgi?id=57132
95 */
96 @Test
97 public void testResolveClass05() {
98 ImportHandler handler = new ImportHandler();
99
100 handler.importPackage("java.nio");
101
102 Class<?> clazz = handler.resolveClass("charset.StandardCharsets");
103
104 Assert.assertNull(clazz);
105 }
106
107 /**
108 * Attempting to resolve something that isn't a simple class name

Callers

nothing calls this directly

Calls 2

importPackageMethod · 0.95
resolveClassMethod · 0.95

Tested by

no test coverage detected