17 references to TestResources
InMemory.FunctionalTests (17)
CertificateLoaderTests.cs (4)
19
var certPath =
TestResources
.GetCertPath(testCertName);
32
var certPath =
TestResources
.GetCertPath(testCertName);
47
var certPath =
TestResources
.GetCertPath(testCertName);
62
var certPath =
TestResources
.GetCertPath(testCertName);
EventSourceTests.cs (1)
25
private static readonly X509Certificate2 _x509Certificate2 =
TestResources
.GetTestCertificate();
Http2\TlsTests.cs (1)
27
private static readonly X509Certificate2 _x509Certificate2 =
TestResources
.GetTestCertificate();
HttpsConnectionMiddlewareTests.cs (7)
31
private static readonly X509Certificate2 _x509Certificate2 =
TestResources
.GetTestCertificate();
32
private static readonly X509Certificate2 _x509Certificate2NoExt =
TestResources
.GetTestCertificate("no_extensions.pfx");
417
return
TestResources
.GetTestCertificate("eku.code_signing.pfx");
1309
var certPath =
TestResources
.GetCertPath(testCertName);
1322
var certPath =
TestResources
.GetCertPath(testCertName);
1341
var certPath =
TestResources
.GetCertPath(testCertName);
1362
var certPath =
TestResources
.GetCertPath(testCertName);
HttpsTests.cs (2)
29
private static readonly X509Certificate2 _x509Certificate2 =
TestResources
.GetTestCertificate();
687
listenOptions.UseHttps(
TestResources
.GetTestCertificate("no_extensions.pfx"), httpsOptions =>
KestrelMetricsTests.cs (1)
29
private static readonly X509Certificate2 _x509Certificate2 =
TestResources
.GetTestCertificate();
LoggingConnectionMiddlewareTests.cs (1)
29
listenOptions.UseHttps(
TestResources
.GetTestCertificate());