Exemplo n.º 1
0
 public ScriptLoader(
     IFileWrapper file,
     IDirectoryWrapper directory,
     IProjectFileAnalyzer projectFileAnalyzer,
     IScriptAnalyzer scriptAnalyzer,
     IBuildScriptLocator buildScriptLocator,
     INugetPackageResolver nugetPackageResolver,
     ILogger <ScriptLoader> log)
 {
     _file                = file;
     _directory           = directory;
     _projectFileAnalyzer = projectFileAnalyzer;
     _scriptAnalyzer      = scriptAnalyzer;
     _log = log;
     _buildScriptLocator   = buildScriptLocator;
     _nugetPackageResolver = nugetPackageResolver;
 }
 public ProjectFileAnalyzerTests()
 {
     _analyzer = new ProjectFileAnalyzer(new FileWrapper());
 }
Exemplo n.º 3
0
 public ProjectFileAnalyzerTests()
 {
     _buildScriptLocator = new Mock <IBuildScriptLocator>();
     _analyzer           = new ProjectFileAnalyzer(new FileWrapper(), _buildScriptLocator.Object);
 }