Beispiel #1
0
        public void ProjectIgnoringAssemblyFilesShouldNotReturnAssemblyFilesInSourcesToValidate()
        {
            _project = new CalidusProject(@"C:\src\test.project", _provider);

            Expect.Call(_provider.GetFiles()).Return(_files).Repeat.Once();

            Mocker.ReplayAll();

            _project.IgnoreAssemblyFiles = true;
            CollectionAssert.DoesNotContain(_project.GetSourceFilesToValidate(), @"C:\src\main\AssemblyInfo.cs");
            Mocker.VerifyAll();
        }
Beispiel #2
0
 /// <summary>
 /// Gets a list of all source files
 /// </summary>
 /// <returns></returns>
 public IEnumerable <String> GetAllSourceFiles()
 {
     return(_provider.GetFiles());
 }