コード例 #1
0
        public void RefreshUsages()
        {
            // TODO -- show progress
            var usageGraph = new UsageGraph(_context.Library, new ConsoleUsageGraphListener());

            usageGraph.Rebuild(_suite.GetAllTests());

            _view.ShowFixtureUsage(usageGraph.AllFixtures());
        }
コード例 #2
0
 public void SetUp()
 {
     runner = new ProjectTestRunner(DataMother.THE_GRAMMAR_FILE);
     usages = new UsageGraph(runner.GetLibary(), new ConsoleUsageGraphListener());
     usages.Rebuild(runner.Hierarchy);
 }