Beispiel #1
0
 public static TestCaseSet <TCase> FromStream(Stream stream)
 {
     using (var reader = new TestCaseReader <TCase>(stream))
     {
         var set = new TestCaseSet <TCase>();
         set.AddRange(reader.ReadAllTestCaseGroups());
         return(set);
     }
 }
Beispiel #2
0
 public static TestCaseSet <TCase> FromFile(string path)
 {
     using (var reader = new TestCaseReader <TCase>(path))
     {
         var set = new TestCaseSet <TCase>();
         set.AddRange(reader.ReadAllTestCaseGroups());
         return(set);
     }
 }