Ensures the module performs the commands consistent with visitors.
(Module module, ElementVisitor<?>... visitors)
| 1351 | |
| 1352 | /** Ensures the module performs the commands consistent with {@code visitors}. */ |
| 1353 | protected void checkModule(Module module, ElementVisitor<?>... visitors) { |
| 1354 | List<Element> elements = Elements.getElements(module); |
| 1355 | assertEquals(elements.size(), visitors.length); |
| 1356 | checkElements(elements, visitors); |
| 1357 | } |
| 1358 | |
| 1359 | protected void checkElements(List<Element> elements, ElementVisitor<?>... visitors) { |
| 1360 | for (int i = 0; i < visitors.length; i++) { |
no test coverage detected