private Vector<PartStruct> partStructs = new Vector<PartStruct>();\r
private Thread thread;\r
\r
- private Boolean synchronous = false;\r
- \r
- protected AsynchronousTreeTestResultListener(){\r
- this(false);\r
+ private Boolean synchronous = true;\r
+\r
+ protected AsynchronousTreeTestResultListener() {\r
+ this(true);\r
}\r
\r
- protected AsynchronousTreeTestResultListener(Boolean synchronousByDefault){\r
+ protected AsynchronousTreeTestResultListener(Boolean synchronousByDefault) {\r
synchronous = synchronousByDefault;\r
}\r
\r
public final void resultPartAdded(TestResult testResult,\r
TestResultPart testResultPart) {\r
TreeTestResult result = (TreeTestResult) testResult;\r
- PartStruct partStruct = new PartStruct(result.getCurrentPath(),\r
- (NumericTRId) result.getTestResultId(), testResultPart, result);\r
+ PartStruct partStruct = new PartStruct(result.getCurrentPath(), result\r
+ .getUuid(), testResultPart, result);\r
\r
if (!synchronous) {\r
synchronized (partStructs) {\r
/** The tree path of this part. */\r
public final TreeSPath path;\r
/** The test result id of the related test result */\r
- public final NumericTRId resultId;\r
+ public final String uuid;\r
/** The part itself */\r
public final TestResultPart part;\r
/** The tree test result itself. */\r
public final TreeTestResult result;\r
\r
/** Constructor */\r
- public PartStruct(TreeSPath path, NumericTRId resultId,\r
- TestResultPart part, TreeTestResult result) {\r
+ public PartStruct(TreeSPath path, String uuid, TestResultPart part,\r
+ TreeTestResult result) {\r
super();\r
this.path = path;\r
- this.resultId = resultId;\r
+ this.uuid = uuid;\r
this.part = part;\r
this.result = result;\r
}\r