Inheritance: ITestStream
 public void SetUp()
 {
     runner = new ProjectTestRunner(DataMother.THE_GRAMMAR_FILE);
     usages = new UsageGraph(runner.GetLibary(), new ConsoleUsageGraphListener());
     usages.Rebuild(runner.Hierarchy);
 }
示例#2
0
 public IEnumerable<Test> FindUsages(UsageGraph graph)
 {
     List<Test> tests = new List<Test>();
     foreach(FixtureGraph fixture in _fixtures)
     {
         tests.AddRange(fixture.FindUsages(graph));
     }
     return tests;
 }
 public IEnumerable<Test> FindUsages(UsageGraph graph)
 {
     return graph.TestsFor(Parent.Name, _name);
 }
 public void SetUp()
 {
     runner = DataMother.GrammarsProjectRunner();
     usages = new UsageGraph(runner.GetLibary(), new ConsoleUsageGraphListener());
     usages.Rebuild(runner.Hierarchy);
 }