+ if (deployedSystemArg != null){\r
+ testRun.setDeployedSystem(deployedSystemArg.getDeployedSystem());\r
+ log.trace("Overrides deployed system");\r
+ }\r
+ \r
+ if (testResultArg != null){\r
+ testRun.setTestResult(testResultArg.getTestResult());\r
+ log.trace("Overrides test result");\r
+ }\r
+\r
+ // notify path to test result\r
+ TestResult result = testRun.getTestResult();\r
+ if (result != null && result instanceof StructureAware) {\r
+ ((StructureAware) result).notifyCurrentPath(getRegistry(),\r
+ getPath());\r
+ }\r
+\r
+ testRun.execute();\r