public TestBlock reportResultsAndGetTestBlock(
HashMap<TestInfo, JUnitResult> results, int testBlock, String userAgent)
throws TimeoutException {
for (JUnitResult result : results.values()) {
initResult(getThreadLocalRequest(), result);
ExceptionWrapper ew = result.getExceptionWrapper();
result.setException(deserialize(ew));
}
JUnitMessageQueue host = getHost();
String clientId = getClientId(getThreadLocalRequest());
host.reportResults(clientId, userAgent, results);