p.waitForResults();
Map<String, Result> results = p.getResults();
assertTrue(results.isEmpty());
Errors e = p.getErrors();
assertNull("Caught a compile time error", e.getCompiletime());
assertNull("Caught a runtime error", e.getRuntime());
assertNull("Caught a registration error", e.getRegistration());
assertNull("Caught a system error", e.getSystem());
}
finally
{
p.destroyProcess();
}