Description description = Description.createSuiteDescription(each);
Failure failure = new Failure(description, e);
missingClasses.add(failure);
}
}
RunListener listener = new TextListener(system);
addListener(listener);
Result result = run(classes.toArray(new Class[0]));
for (Failure each : missingClasses) {
result.getFailures().add(each);
}