]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.core/src/main/java/org/argeo/slc/core/test/TestResult.java
5de69700ce93ca919dab6cee9b7b4f8cd14c14e8
[gpl/argeo-slc.git] / org.argeo.slc.core / src / main / java / org / argeo / slc / core / test / TestResult.java
1 package org.argeo.slc.core.test;
2
3 import java.util.Date;
4 import java.util.Map;
5
6 /** The result of a test */
7 public interface TestResult extends TestStatus, TestRunAware {
8 public String getUuid();
9
10 /** Adds a part of the result. */
11 public void addResultPart(TestResultPart part);
12
13 /**
14 * Marks that the collection of test results is completed and free the
15 * related resources (also closing listeners).
16 */
17 public void close();
18
19 /**
20 * The date when this test result was closed. Can be null, which means the
21 * result is not closed.
22 */
23 public Date getCloseDate();
24
25 /** Additional arbitrary meta data */
26 public Map<String, String> getAttributes();
27 }