Collection<VerifierComponent> all = verifierData.getAll();
assertNotNull(all);
SubPattern test1SubPattern = null;
SubPattern test2SubPattern = null;
SubRule test1SubRule = null;
SubRule test2SubRule = null;
for (VerifierComponent verifierComponent : all) {
// System.out.println( verifierComponent );
System.out.println("-" + verifierComponent);
if (verifierComponent.getDescr() != null) {
System.out.println(" \n\t\t => " + verifierComponent.getDescr().getLine() + ":" + +verifierComponent.getDescr().getEndLine() + " " + verifierComponent.getDescr().getText());
} else { System.out.println(" \n\t\t => null for " + verifierComponent.getClass().getSimpleName()); }
if (verifierComponent.getVerifierComponentType().equals(VerifierComponentType.SUB_PATTERN)) {
SubPattern subPattern = (SubPattern) verifierComponent;
if ("Test 1".equals(subPattern.getRuleName())) {
assertNull(test1SubPattern);
test1SubPattern = subPattern;
} else if ("Test 2".equals(subPattern.getRuleName())) {
assertNull(test2SubPattern);
test2SubPattern = subPattern;
}
}
if (verifierComponent.getVerifierComponentType().equals(VerifierComponentType.SUB_RULE)) {