11 references to TestResources
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (11)
KestrelServerTests.cs (7)
66
options.TestOverrideDefaultCertificate =
TestResources
.GetTestCertificate();
382
c.UseHttps(
TestResources
.GetTestCertificate());
404
c.UseHttps(
TestResources
.GetTestCertificate());
428
options.UseHttps(
TestResources
.GetTestCertificate());
455
options.UseHttps(
TestResources
.GetTestCertificate());
486
options.UseHttps(
TestResources
.GetTestCertificate());
514
options.UseHttps(
TestResources
.GetTestCertificate());
SniOptionsSelectorTests.cs (4)
22
private static readonly X509Certificate2 _x509Certificate2 =
TestResources
.GetTestCertificate();
534
ServerCertificate = new X509Certificate2(
TestResources
.GetCertPath("aspnetdevcert.pfx"), "testPassword")
927
var cert =
TestResources
.GetTestCertificate();
930
var fullChain =
TestResources
.GetTestChain();