14 writes to SourceRepository
aspire (1)
Npm\SigstoreNpmProvenanceChecker.cs (1)
320SourceRepository = extensions?.SourceRepositoryUri ?? sourceRepository,
Aspire.Cli.Tests (13)
Agents\PlaywrightCliInstallerTests.cs (1)
586? new NpmProvenanceData { SourceRepository = expectedSourceRepository }
Agents\SigstoreNpmProvenanceCheckerTests.cs (11)
245SourceRepository = "https://github.com/microsoft/playwright-cli", 267SourceRepository = "https://github.com/evil/repo", 287SourceRepository = "https://github.com/microsoft/playwright-cli", 307SourceRepository = "https://github.com/microsoft/playwright-cli", 327SourceRepository = "https://github.com/microsoft/playwright-cli", 501SourceRepository = spoofedUrl, 533SourceRepository = "https://github.com/microsoft/playwright-cli", 559SourceRepository = "https://github.com/microsoft/playwright-cli", 581SourceRepository = "https://github.com/microsoft/playwright-cli", 609SourceRepository = "https://github.com/microsoft/playwright-cli", 629SourceRepository = "https://github.com/microsoft/playwright-cli",
TestServices\FakePlaywrightServices.cs (1)
37Provenance = new NpmProvenanceData { SourceRepository = expectedSourceRepository }
8 references to SourceRepository
aspire (2)
Agents\Playwright\PlaywrightCliInstaller.cs (1)
177provenanceResult.Provenance?.SourceRepository);
Npm\SigstoreNpmProvenanceChecker.cs (1)
340if (!string.Equals(provenance.SourceRepository, expectedSourceRepository, StringComparison.OrdinalIgnoreCase))
Aspire.Cli.Tests (6)
Agents\SigstoreNpmProvenanceCheckerTests.cs (6)
129Assert.Equal("https://github.com/microsoft/playwright-cli", provenance.SourceRepository); 152Assert.Equal("https://github.com/microsoft/playwright-cli", provenance.SourceRepository); 177Assert.Equal("https://github.com/microsoft/playwright-cli", provenance.SourceRepository); 200Assert.Equal("https://github.com/microsoft/playwright-cli", provenance.SourceRepository); 777Assert.Equal("https://github.com/microsoft/playwright-cli", provenance.SourceRepository); 829Assert.Null(provenance.SourceRepository);