41 references to IsExcluded
Infrastructure.Tests (38)
TestTriggerMap\SelectTestsAcceptanceTests.cs (38)
846
var filtered = changedFiles.Where(path => !filter.
IsExcluded
(path)).ToArray();
867
var filtered = new[] { "THIRD-PARTY-NOTICES.TXT", path }.Where(file => !filter.
IsExcluded
(file)).ToArray();
891
Assert.True(filter.
IsExcluded
("docs/anything.md"));
892
Assert.True(filter.
IsExcluded
("src/Aspire.Cli/README.md")); // **.md matches at any depth
893
Assert.True(filter.
IsExcluded
(".agents/skills/foo/SKILL.md"));
894
Assert.True(filter.
IsExcluded
("Aspire-Core.slnf"));
895
Assert.True(filter.
IsExcluded
("localhive.ps1")); // localhive.* -> localhive\.[^/]*
899
Assert.True(filter.
IsExcluded
(".github/CODEOWNERS"));
900
Assert.True(filter.
IsExcluded
(".github/ISSUE_TEMPLATE/10_bug_report.yml"));
901
Assert.True(filter.
IsExcluded
(".github/dependabot.yml"));
902
Assert.True(filter.
IsExcluded
(".github/policies/labelManagement.prOpened.yml"));
903
Assert.True(filter.
IsExcluded
(".github/extensions/aspire-team-app/extension.mjs"));
904
Assert.True(filter.
IsExcluded
(".vscode/settings.json"));
905
Assert.True(filter.
IsExcluded
("pyrightconfig.json"));
908
Assert.True(filter.
IsExcluded
("eng/Version.Details.xml"));
911
Assert.False(filter.
IsExcluded
(".config/dotnet-tools.json"));
912
Assert.False(filter.
IsExcluded
(".mcp.json"));
916
Assert.True(filter.
IsExcluded
("src/Aspire.Hosting/api/Aspire.Hosting.cs"));
917
Assert.True(filter.
IsExcluded
("src/Aspire.Hosting/api/Aspire.Hosting.ats.txt"));
918
Assert.True(filter.
IsExcluded
("src/Aspire.Hosting.Redis/api/Aspire.Hosting.Redis.cs"));
919
Assert.True(filter.
IsExcluded
("src/Components/Aspire.OpenAI/api/Aspire.OpenAI.cs"));
920
Assert.False(filter.
IsExcluded
("src/Aspire.Hosting/api/Helper.cs"));
921
Assert.False(filter.
IsExcluded
("src/Aspire.Dashboard/api/ApiAuthenticationHandler.cs"));
922
Assert.False(filter.
IsExcluded
("src/Aspire.Hosting/api/Aspire.Hosting.tscompat.suppression.txt"));
923
Assert.False(filter.
IsExcluded
("src/Aspire.Cli/Templating/Templates/java-starter/api/Program.cs"));
930
Assert.False(filter.
IsExcluded
("src/Aspire.Cli/Templating/Templates/ts-starter/.gitignore"));
931
Assert.False(filter.
IsExcluded
(".gitignore"));
932
Assert.False(filter.
IsExcluded
(".vscode/launch.json"));
933
Assert.False(filter.
IsExcluded
(".vscode/tasks.json"));
934
Assert.False(filter.
IsExcluded
(".editorconfig"));
935
Assert.False(filter.
IsExcluded
(".gitattributes"));
938
Assert.False(filter.
IsExcluded
("src/Aspire.Cli/Program.cs"));
939
Assert.False(filter.
IsExcluded
("src/Aspire.Hosting/HostingExtensions.cs"));
942
Assert.False(filter.
IsExcluded
(".github/workflows/backport.yml"));
943
Assert.False(filter.
IsExcluded
("eng/pipelines/azure-pipelines-public.yml"));
944
Assert.False(filter.
IsExcluded
("eng/github-ci/ci-skip-entirely-patterns.txt"));
1189
Assert.True(filter.
IsExcluded
(atsBaseline));
1201
Assert.False(filter.
IsExcluded
(sourceFile));
SelectTests (3)
GraphAffectedProjects.cs (1)
502
normalized = normalized.Where(rel => !filter.
IsExcluded
(rel));
Program.cs (2)
234
.Where(changedFileFilter.
IsExcluded
)
237
.Where(f => !changedFileFilter.
IsExcluded
(f))