]>
git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.agent/src/main/java/org/argeo/slc/core/test/tree/PartSubList.java
1 package org
.argeo
.slc
.core
.test
.tree
;
4 import java
.util
.Vector
;
6 import org
.argeo
.slc
.core
.test
.TestResultPart
;
7 import org
.argeo
.slc
.core
.test
.TestStatus
;
10 * List of <code>TestResultPart</code>. It can be used to build complex
11 * <code>TestResult</code> affording the possibility to a
12 * <code>TestDefinition</code> to add a list of result part under the same
13 * <code>StructurePath</code>.
17 public class PartSubList
{
22 private List
<TestResultPart
> parts
= new Vector
<TestResultPart
>();
24 /** Gets the result parts. */
25 public List
<TestResultPart
> getParts() {
29 /** Sets the result parts. */
30 public void setParts(List
<TestResultPart
> parts
) {
38 void setTid(Long tid
) {
42 public Boolean
getIsPassed() {
43 for (TestResultPart part
: parts
) {
44 if (part
.getStatus() != TestStatus
.PASSED
) {