11 references to TestResources
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (11)
KestrelServerTests.cs (7)
66
options.TestOverrideDefaultCertificate =
TestResources
.GetTestCertificate();
383
c.UseHttps(
TestResources
.GetTestCertificate());
405
c.UseHttps(
TestResources
.GetTestCertificate());
429
options.UseHttps(
TestResources
.GetTestCertificate());
456
options.UseHttps(
TestResources
.GetTestCertificate());
487
options.UseHttps(
TestResources
.GetTestCertificate());
515
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();