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