public void IgnoresRelativePath() { finder.IgnorePatterns("Theirs"); projectFiles = finder.FindAllProjectFiles(SampleFileSystemPath); AssertFilesMatching(new[] { @"MyProject\MyProject.csproj", @"Ours\OurProject1\OurProject1.csproj", @"Ours\OurProject2\OurProject2.csproj" }); }
public void IgnoresFileName() { _finder.IgnorePatterns("TheirProject3.csproj"); _projectFiles = _finder.FindAllProjectFiles(SampleFileSystemPath); AssertFilesMatching(new[] { @"MyProject\MyProject.csproj", @"Ours\OurProject1\OurProject1.csproj", @"Ours\OurProject2\OurProject2.csproj", @"Theirs\TheirProject1\TheirProject1.csproj", @"Theirs\TheirProject2\TheirProject2.csproj" }); }