Import an invalid static field - non-public.
()
| 224 | * Import an invalid static field - non-public. |
| 225 | */ |
| 226 | @Test |
| 227 | public void testImportStatic03() { |
| 228 | ImportHandler handler = new ImportHandler(); |
| 229 | |
| 230 | handler.importStatic("org.apache.tomcat.util.buf.Ascii.toLower"); |
| 231 | |
| 232 | Class<?> result = handler.resolveStatic("toLower"); |
| 233 | |
| 234 | Assert.assertEquals(org.apache.tomcat.util.buf.Ascii.class, result); |
| 235 | } |
| 236 | |
| 237 | |
| 238 | /** |
nothing calls this directly
no test coverage detected