11 references to TestResources
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (11)
KestrelServerTests.cs (7)
66
options.TestOverrideDefaultCertificate =
TestResources
.GetTestCertificate();
384
c.UseHttps(
TestResources
.GetTestCertificate());
406
c.UseHttps(
TestResources
.GetTestCertificate());
430
options.UseHttps(
TestResources
.GetTestCertificate());
457
options.UseHttps(
TestResources
.GetTestCertificate());
488
options.UseHttps(
TestResources
.GetTestCertificate());
516
options.UseHttps(
TestResources
.GetTestCertificate());
SniOptionsSelectorTests.cs (4)
22
private static readonly X509Certificate2 _x509Certificate2 =
TestResources
.GetTestCertificate();
534
ServerCertificate = new X509Certificate2(
TestResources
.GetCertPath("aspnetdevcert.pfx"), "testPassword")
939
var cert =
TestResources
.GetTestCertificate();
942
var fullChain =
TestResources
.GetTestChain();