Exemplo n.º 1
0
 protected override void Given()
 {
     projectTaskFileRepo = Substitute.For<TaskFileFinder>();
     nunitTaskDetecttor = new NUnitTaskDetector(projectTaskFileRepo);
     projectTaskFileRepo.FindFiles("basefolder").Returns(As.List(Os.DirChars("l1\\l2\\l3\\fle.test.csproj"),
                                                              Os.DirChars("l1\\l2\\l4\\fle.test.csproj"),
                                                              Os.DirChars("l1\\l2\\l3\\flo.tests.csproj")));
 }
Exemplo n.º 2
0
 protected override void SetupDependencies()
 {
     taskFileFinder = Substitute.For<TaskFileFinder>();
 }
Exemplo n.º 3
0
 public CustomTasksDetector(TaskFileFinder taskFileFinder, Func<string, string> getContent)
 {
     this.taskFileFinder = taskFileFinder;
     this.getContent = getContent;
 }
Exemplo n.º 4
0
 protected override void Given()
 {
     pathFinder = Substitute.For<PathFinder>();
     _taskFileFinder = new SolutionTaskFileFinder(pathFinder);
 }
Exemplo n.º 5
0
 public NUnitTaskDetector(TaskFileFinder _projectTaskFileRepo)
 {
     this._projectTaskFileRepo = _projectTaskFileRepo;
 }
Exemplo n.º 6
0
 public MSBuildDetector(TaskFileFinder taskFileFinder, OS os)
 {
     this.taskFileFinder = taskFileFinder;
     this.os = os;
 }
Exemplo n.º 7
0
 public TestTaskDetector(TaskFileFinder taskFileFinder)
 {
     this.taskFileFinder = taskFileFinder;
 }