1 package org
.argeo
.slc
.core
.test
;
5 import java
.util
.Vector
;
7 import org
.apache
.commons
.logging
.Log
;
8 import org
.apache
.commons
.logging
.LogFactory
;
11 * Basic implementation of a test result containing only a list of result parts.
13 public class SimpleTestResult
implements TestResult
{
14 private static Log log
= LogFactory
.getLog(SimpleTestResult
.class);
16 private TestResultId testResultId
;
17 private Date closeDate
;
18 private List
<TestResultPart
> parts
= new Vector
<TestResultPart
>();
20 public void addResultPart(TestResultPart part
) {
22 if (log
.isDebugEnabled())
28 closeDate
= new Date();
31 public TestResultId
getTestResultId() {
35 /** Sets the test result id. */
36 public void setTestResultId(TestResultId testResultId
) {
37 this.testResultId
= testResultId
;
40 public List
<TestResultPart
> getParts() {
44 public Date
getCloseDate() {