2
// Copyright (C) 2002. James W. Newkirk, Michael C. Two, Alexei A. Vorontsov. All Rights Reserved.
7
using System.Collections;
14
public class TestSuiteResult : TestResult
16
private ArrayList results = new ArrayList();
17
private bool executed;
18
private string message;
20
public TestSuiteResult(Test test, string name) : base(test, name)
27
get { return executed; }
28
set { executed = value; }
31
public void AddResult(TestResult result)
36
public override bool IsSuccess
41
foreach(TestResult testResult in results)
42
result &= testResult.IsSuccess;
47
public override bool IsFailure
52
foreach(TestResult testResult in results)
53
result |= testResult.IsFailure;
58
public override void NotRun(string message)
60
this.Executed = false;
61
this.message = message;
65
public override string Message
67
get { return message; }
70
public override string StackTrace
78
get { return results; }
81
public override void Accept(ResultVisitor visitor)