Conflict on resolution.
()
| 56 | * Conflict on resolution. |
| 57 | */ |
| 58 | @Test |
| 59 | public void testResolveClass03() { |
| 60 | ImportHandler handler = new ImportHandler(); |
| 61 | |
| 62 | handler.importPackage("org.apache.tomcat.util"); |
| 63 | handler.importPackage("org.apache.jasper.runtime"); |
| 64 | |
| 65 | for (int i = 1; i <= 3; i++) { |
| 66 | try { |
| 67 | Class<?> clazz = handler.resolveClass("ExceptionUtils"); |
| 68 | Assert.fail("Expected ELException but got [" + clazz.getName() + "] on iteration " + i); |
| 69 | } catch (ELException ex) { |
| 70 | // Expected |
| 71 | } |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | |
| 76 | /** |
nothing calls this directly
no test coverage detected