X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=cms%2Forg.argeo.slc.api%2Fsrc%2Forg%2Fargeo%2Fslc%2Ftest%2FTestResult.java;fp=cms%2Forg.argeo.slc.api%2Fsrc%2Forg%2Fargeo%2Fslc%2Ftest%2FTestResult.java;h=767b28613291262703096d78d11fce8c494f3296;hb=ecc22e604e47533c79de9cecdcdeacbc752cbff1;hp=0000000000000000000000000000000000000000;hpb=e07ded4632e53f8b8869763bc1f1f4091361e76e;p=gpl%2Fargeo-slc.git diff --git a/cms/org.argeo.slc.api/src/org/argeo/slc/test/TestResult.java b/cms/org.argeo.slc.api/src/org/argeo/slc/test/TestResult.java new file mode 100644 index 000000000..767b28613 --- /dev/null +++ b/cms/org.argeo.slc.api/src/org/argeo/slc/test/TestResult.java @@ -0,0 +1,27 @@ +package org.argeo.slc.test; + +import java.util.Date; +import java.util.Map; + +/** The result of a test */ +public interface TestResult extends TestStatus, TestRunAware { + public String getUuid(); + + /** 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(); + + /** Additional arbitrary meta data */ + public Map getAttributes(); +}