}
}
}
private void executeTestCases(Map<String, Object> parameters) {
OSGiBDTTest annotation = testClass.getAnnotation(OSGiBDTTest.class);
OSGiBDTTestWrapper testArguments = null;
try {
if (args.length > 0) {
loadRepository(args[0]);
testArguments = new OSGiBDTTestWrapper(annotation, new String[] { args[0] });
} else {
loadRepository(annotation.repositories()[0]);
testArguments = new OSGiBDTTestWrapper(annotation);
}
} catch (IOException e) {
exception(getCell(0, 0), new RuntimeException("Repository cannot be loaded: " + e.getMessage()));
return;