Ejemplo n.º 1
0
 public NormalIterator(ITestList list)
 {
     if (list == null)
     {
         throw new ArgumentNullException("list");
     }
     m_list = list;
 }
Ejemplo n.º 2
0
 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);
         }
     }
 }
Ejemplo n.º 3
0
 public EntryTestList(FileTestList home, string referenceName, ITestList list) : base(home, TestListEntryType.TestList, referenceName)
 {
     m_list = list;
 }
Ejemplo n.º 4
0
 public void AddTestList(string name, ITestList list)
 {
     m_entries.Add(new EntryTestList(this, name, list));
 }