]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc/src/main/java/org/argeo/slc/core/test/SimpleTestRun.java
Introduce unit tests framework
[gpl/argeo-slc.git] / org.argeo.slc / src / main / java / org / argeo / slc / core / test / SimpleTestRun.java
index 33880d4ae3b366ab34f9b5ba47e9dc0de623f0bd..9cb14ac04bda997be129ebecdd40309b8dc8598c 100644 (file)
@@ -2,16 +2,21 @@ package org.argeo.slc.core.test;
 \r
 import org.argeo.slc.core.deploy.DeployedSystem;\r
 \r
-public class SimpleTestRun implements TestRun {\r
+/**\r
+ * A basic bean implementation of a <code>WritableTestRun</code>, holding\r
+ * references to the various parts of a test run.\r
+ */\r
+public class SimpleTestRun implements WritableTestRun {\r
        private DeployedSystem deployedSystem;\r
        private TestData testData;\r
        private TestDefinition testDefinition;\r
        private TestResult testResult;\r
 \r
-       public void execute(){\r
+       /** Executes the underlying test definition. */\r
+       public void execute() {\r
                testDefinition.execute(this);\r
        }\r
-       \r
+\r
        public DeployedSystem getDeployedSystem() {\r
                return deployedSystem;\r
        }\r