X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.slc.core%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fcore%2Ftest%2FTestResult.java;fp=org.argeo.slc.core%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fcore%2Ftest%2FTestResult.java;h=860fe1caf5bb46deb584c03024f1106854c8264d;hb=faf680e212bf3e18837c4f798587856e061273b3;hp=0000000000000000000000000000000000000000;hpb=5764eb4717599e8df700094e7f0360a155e2a3bb;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.slc.core/src/main/java/org/argeo/slc/core/test/TestResult.java b/org.argeo.slc.core/src/main/java/org/argeo/slc/core/test/TestResult.java new file mode 100644 index 000000000..860fe1caf --- /dev/null +++ b/org.argeo.slc.core/src/main/java/org/argeo/slc/core/test/TestResult.java @@ -0,0 +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(); +}