()
| 50 | } |
| 51 | |
| 52 | @Test |
| 53 | void testIRBuilder() { |
| 54 | targets.forEach(main -> { |
| 55 | buildWorld(main); |
| 56 | JClass mainClass = World.get().getClassHierarchy().getClass(main); |
| 57 | mainClass.getDeclaredMethods() |
| 58 | .stream() |
| 59 | .sorted(Comparator.comparing(JMethod::toString)) |
| 60 | .forEach(m -> |
| 61 | IRPrinter.print(m.getIR(), System.out)); |
| 62 | System.out.println("------------------------------\n"); |
| 63 | }); |
| 64 | } |
| 65 | |
| 66 | @Test |
| 67 | void testDefUse() { |
nothing calls this directly
no test coverage detected