testRunUuid = testRun.getUuid();\r
\r
if (testRun.getTestResult() != null)\r
- testResultUuid = testRun.<TestResult>getTestResult().getUuid();\r
+ testResultUuid = testRun.<TestResult> getTestResult().getUuid();\r
\r
if (testRun.getDeployedSystem() != null)\r
- deployedSytemId = testRun.<DeployedSystem>getDeployedSystem().getDeployedSystemId();\r
+ deployedSytemId = testRun.<DeployedSystem> getDeployedSystem()\r
+ .getDeployedSystemId();\r
\r
if (testRun instanceof SimpleTestRun) {\r
slcExecutionUuid = ((SimpleTestRun) testRun).getSlcExecutionUuid();\r
this.deployedSytemId = deploymentId;\r
}\r
\r
+ @Override\r
+ public boolean equals(Object obj) {\r
+ if (obj instanceof TestRunDescriptor) {\r
+ return getTestRunUuid().equals(\r
+ ((TestRunDescriptor) obj).getTestRunUuid());\r
+ }\r
+ return false;\r
+ }\r
}\r