import java.util.Iterator; 4
5
/**//*A Composite Outputter*/ 6
7
public class OutputterContainer implements IOutputter
{ 8
9
private Vector
@Override 11
public boolean EndSuite()
{ 12
Iterator
while(it.hasNext())
{ 14
boolean rs = it.next().EndSuite(); 15
if (rs == false) return false; 16
} 17
return true; 18
} 19
20
@Override 21
public boolean StartSuite(String suiteName)
{ 22
// the similar with the first function 23
return false; 24
} 25
26
@Override 27
public boolean TestResult(String result)