public NormalIterator(ITestList list) { if (list == null) { throw new ArgumentNullException("list"); } m_list = list; }
private static void GetTestCases(ITestList list, List <ITestListEntryTestCase> collected) { foreach (var entry in list.ListEntries()) { if (entry.Type == TestListEntryType.TestCase) { collected.Add(entry as ITestListEntryTestCase); } else if (entry.Type == TestListEntryType.TestList) { GetTestCases((entry as ITestListEntryTestList).TestListReference, collected); } } }
public EntryTestList(FileTestList home, string referenceName, ITestList list) : base(home, TestListEntryType.TestList, referenceName) { m_list = list; }
public void AddTestList(string name, ITestList list) { m_entries.Add(new EntryTestList(this, name, list)); }