X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.slc%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fcore%2Ftest%2FTestResult.java;h=860fe1caf5bb46deb584c03024f1106854c8264d;hb=875f97b054c6e996fa2d03c299c83cc80d336b54;hp=d88d2de567e98fe216e896a8296bcb266b6af080;hpb=6e6998e19852f8209f955c0d2c773feca161d4d0;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.slc/src/main/java/org/argeo/slc/core/test/TestResult.java b/org.argeo.slc/src/main/java/org/argeo/slc/core/test/TestResult.java index d88d2de56..860fe1caf 100644 --- a/org.argeo.slc/src/main/java/org/argeo/slc/core/test/TestResult.java +++ b/org.argeo.slc/src/main/java/org/argeo/slc/core/test/TestResult.java @@ -1,6 +1,24 @@ package org.argeo.slc.core.test; -/** The result of a test (NOT YET IMPLEMENTED)*/ +import java.util.Date; + +/** The result of a test */ public interface TestResult { + /** Gets the id of the related test result. */ + public TestResultId getTestResultId(); + + /** Adds a part of the result. */ + public void addResultPart(TestResultPart part); + + /** + * Marks that the collection of test results is completed and free the + * related resources (also closing listeners). + */ + public void close(); + /** + * The date when this test result was closed. Can be null, which means the + * result is not closed. + */ + public Date getCloseDate(); }