package org.argeo.slc.core.test;\r
\r
+import java.util.Date;\r
+\r
/** The result of a test */\r
public interface TestResult {\r
+ /** Gets the id of the related test result. */\r
public TestResultId getTestResultId();\r
+\r
+ /** Adds a part of the result. */\r
+ public void addResultPart(TestResultPart part);\r
+\r
+ /**\r
+ * Marks that the collection of test results is completed and free the\r
+ * related resources (also closing listeners).\r
+ */\r
+ public void close();\r
+\r
+ /**\r
+ * The date when this test result was closed. Can be null, which means the\r
+ * result is not closed.\r
+ */\r
+ public Date getCloseDate();\r
}\r