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

Method testImportStatic02

test/jakarta/el/TestImportHandler.java:215–220  ·  view source on GitHub ↗

Import an invalid static field - does not exist.

()

Source from the content-addressed store, hash-verified

213 * Import an invalid static field - does not exist.
214 */
215 @Test(expected = ELException.class)
216 public void testImportStatic02() {
217 ImportHandler handler = new ImportHandler();
218
219 handler.importStatic("org.apache.tomcat.util.buf.Constants.PackageXX");
220 }
221
222
223 /**

Callers

nothing calls this directly

Calls 1

importStaticMethod · 0.95

Tested by

no test coverage detected