package org.argeo.slc.core.test;\r
\r
import org.argeo.slc.core.deploy.DeployedSystem;\r
+import org.argeo.slc.core.process.SlcExecutionAware;\r
\r
/** The actual run of a test */\r
-public interface TestRun {\r
+public interface TestRun extends SlcExecutionAware{\r
+ /** Gets UUID */\r
+ public String getUuid();\r
+\r
/** Gets the related test definition. */\r
- public TestDefinition getTestDefinition();\r
+ public <T extends TestDefinition> T getTestDefinition();\r
\r
/** Gets the related test data */\r
- public TestData getTestData();\r
+ public <T extends TestData> T getTestData();\r
\r
/** Gets the related deployed system. */\r
- public DeployedSystem getDeployedSystem();\r
+ public <T extends DeployedSystem> T getDeployedSystem();\r
\r
/** Gets the related result where to record results. */\r
- public TestResult getTestResult();\r
+ public <T extends TestResult> T getTestResult();\r
}\r