Пример #1
0
        public void BuildArgs_ShouldHandleFileType()
        {
            var s = new MsBuildTask().ProjectOrSolutionFilePath(new File(_projectOrSolutionFilePath));

            s.AddSetFieldsToArgumentBuilder();
            Assert.That(s._argumentBuilder.Build(), Is.EqualTo(_projectOrSolutionFilePath));
        }
Пример #2
0
 public void Setup()
 {
     _projectOrSolutionFilePath = "c:\\temp.sln";
     _mockExecutor = MockRepository.GenerateStub <IActionExcecutor>();
     _subject      = new MsBuildTask(_mockExecutor).ProjectOrSolutionFilePath(_projectOrSolutionFilePath);
 }