return suite.countErredChecks();
}
private void copyCheckResults(SanityCheckSuite suite, SchemaChange schemaChange) {
if (suite instanceof SanityCheckFile) {
SanityCheckFile file = (SanityCheckFile) suite;
for (SanityCheck check : file.getChecks(true)) {
StructuralChange<?> change = schemaChange.getSubChangeByCheckName(check.getName());
if (change != null)
change.setCheck(check);
}
}