]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.core/src/main/java/org/argeo/slc/core/test/TestRun.java
Inhtroduce basedon context
[gpl/argeo-slc.git] / org.argeo.slc.core / src / main / java / org / argeo / slc / core / test / TestRun.java
index 073acb5b2023dd3f3cdd60c37cd5aec314eb17fd..9991e20c3bf65289a197ee9f67bf45de95a99bf8 100644 (file)
@@ -5,14 +5,14 @@ import org.argeo.slc.core.deploy.DeployedSystem;
 /** The actual run of a test */\r
 public interface TestRun {\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