if (classes.isEmpty()) {
Description description = Description.createSuiteDescription(testClass);
xmlResultFormatter.testRunStarted(description);
xmlResultFormatter.testRunFinished(new Result());
} else {
junitcore.run(new FilterRequest(Request.classes(classes
.toArray(new Class[classes.size()])), new Filter() {
@Override
public boolean shouldRun(Description description) {
return !ignoreTests.contains(description.getDisplayName());