Esempio n. 1
0
 public E2EProjectDsl(string projectName,
                      ProjectFiles projectFiles,
                      AssemblyReferences assemblyReferences,
                      ProjectDefinition projectDefinition)
 {
     _projectName        = projectName;
     _projectFiles       = projectFiles;
     _assemblyReferences = assemblyReferences;
     _projectDefinition  = projectDefinition;
 }
        public NScanE2EDriver(ITestOutputHelper output)
        {
            ITestSupport testSupport = new ConsoleXUnitTestSupport(output);

            _fixtureSolutionDir      = RelevantPaths.CreateHomeForFixtureSolution(_solutionName);
            _fullFixtureSolutionPath = _fixtureSolutionDir.SolutionFilePath();
            _fullFixtureRulesPath    = _fixtureSolutionDir.PathToFile(RulesFileName);
            _projectFiles            = new ProjectFiles(_fixtureSolutionDir);
            _dotNetExe          = new DotNetExe(_fixtureSolutionDir, testSupport);
            _references         = new AssemblyReferences(_dotNetExe);
            _rules              = new Rules();
            _projectsCollection = new ProjectsCollection(_dotNetExe);
            _analysisResult     = new AnalysisResult();
        }