TestResultPart testResultPart) {\r
if (onlyOnClose)\r
return;\r
- \r
+\r
try {\r
- if (testResult.getResultParts().size() == 1) {\r
+ if (testResult.getResultParts().size() == 1\r
+ && testResult.getResultParts().values().iterator().next()\r
+ .getParts().size() == 1) {\r
CreateTreeTestResultRequest req = new CreateTreeTestResultRequest(\r
testResult);\r
\r