]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - cms/org.argeo.slc.api/src/org/argeo/slc/test/TestRun.java
Clarify SLC project structure.
[gpl/argeo-slc.git] / cms / org.argeo.slc.api / src / org / argeo / slc / test / TestRun.java
diff --git a/cms/org.argeo.slc.api/src/org/argeo/slc/test/TestRun.java b/cms/org.argeo.slc.api/src/org/argeo/slc/test/TestRun.java
new file mode 100644 (file)
index 0000000..a3e8aeb
--- /dev/null
@@ -0,0 +1,21 @@
+package org.argeo.slc.test;
+
+import org.argeo.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();
+}