예제 #1
0
 public IEnumerable <TTestCase> OrderTestCases <TTestCase>(IEnumerable <TTestCase> testCases) where TTestCase : ITestCase
 {
     return(DependencySorter
            .Sort(testCases.Select(x => new TestCaseWrapper(x)))
            .Select(x => x.TestCase)
            .Cast <TTestCase>());
 }
 public IEnumerable <ITestCollection> OrderTestCollections(IEnumerable <ITestCollection> testCollections)
 {
     return(DependencySorter.Sort(testCollections.Select(x => new TestCollectionWrapper(x))).Select(x => x.TestCollection));
 }