Merge tag 'v2.3.15' into testing
[gpl/argeo-slc.git] / org.argeo.api.slc / src / org / argeo / api / slc / test / TestRun.java
diff --git a/org.argeo.api.slc/src/org/argeo/api/slc/test/TestRun.java b/org.argeo.api.slc/src/org/argeo/api/slc/test/TestRun.java
new file mode 100644 (file)
index 0000000..f0d3b98
--- /dev/null
@@ -0,0 +1,21 @@
+package org.argeo.api.slc.test;
+
+import org.argeo.api.slc.deploy.DeployedSystem;
+
+/** The actual run of a test */
+public interface TestRun {
+       /** Gets UUID */
+       public String getUuid();
+
+       /** Gets the related test definition. */
+       public <T extends TestDefinition> T getTestDefinition();
+
+       /** Gets the related test data */
+       public <T extends TestData> T getTestData();
+
+       /** Gets the related deployed system. */
+       public <T extends DeployedSystem> T getDeployedSystem();
+
+       /** Gets the related result where to record results. */
+       public <T extends TestResult> T getTestResult();
+}