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=5764eb4717599e8df700094e7f0360a155e2a3bb;hp=6e4cb7d8f3c03a11d20a277f4dd2c41b4b888905;hpb=65b673fc73112c65788ad8863c9c7be36766d737;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 6e4cb7d8f..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; +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(); }