Example #1
0
 public static IEnumerable <RemoteTaskPacket> GetAllTasks(this IUnitTestRun run)
 {
     return(run.GetTasks().SelectMany(t => t.GetAllTasksRecursive()));
 }
Example #2
0
 public static IList <RemoteTaskPacket> GetRootTasks(this IUnitTestRun run)
 {
     return((run.GetTasks() as IList <RemoteTaskPacket>) ?? new List <RemoteTaskPacket>());
 }