public SessionGenerationInfo(ITestProject testProject) { this.Session = CommonConst.TestGroupSession; this.Status = GenerationStatus.Idle; this.SequenceStatus = new SerializableMap <int, GenerationStatus>(2); SequenceStatus.Add(CommonConst.SetupIndex, GenerationStatus.Idle); SequenceStatus.Add(CommonConst.TeardownIndex, GenerationStatus.Idle); }
public SessionGenerationInfo(ISequenceGroup sequenceGroup, int session) { this.Session = session; this.Status = GenerationStatus.Idle; this.SequenceStatus = new SerializableMap <int, GenerationStatus>(sequenceGroup.Sequences.Count + 2); SequenceStatus.Add(CommonConst.SetupIndex, GenerationStatus.Idle); SequenceStatus.Add(CommonConst.TeardownIndex, GenerationStatus.Idle); for (int i = 0; i < sequenceGroup.Sequences.Count; i++) { SequenceStatus.Add(i, GenerationStatus.Idle); } }