35 instantiations of MockConnectionContext
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (35)
SniOptionsSelectorTests.cs (35)
72
var (wwwSubdomainOptions, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "www.example.org");
75
var (baSubdomainOptions, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "b.a.example.org");
78
var (aSubdomainOptions, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "a.example.org");
84
var (noSubdomainOptions, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "example.org");
87
var (anotherTldOptions, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "dot.net");
129
var (baSubdomainOptions, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "b.a.example.org");
133
var (aSubdomainOptions, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "a.example.org");
175
var (wwwSubdomainOptions, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "wWw.eXample.oRg");
178
var (baSubdomainOptions, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "B.a.eXample.oRg");
181
var (aSubdomainOptions, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "A.eXample.oRg");
224
var (wwwSubdomainOptions, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "wWw.eXample.oRg");
227
var (baSubdomainOptions, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "B.a.eXample.oRg");
230
var (aSubdomainOptions, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "A.eXample.oRg");
287
var (aSubdomainOptions, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "c.a.example.org");
290
var (bSubdomainOptions, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "c.b.example.org");
345
var authExWithServerName = Assert.Throws<AuthenticationException>(() => sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "example.org"));
348
var authExWithoutServerName = Assert.Throws<AuthenticationException>(() => sniOptionsSelector.GetOptions(new
MockConnectionContext
(), null));
380
var (options, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), null);
406
var (options1, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "www.example.org");
407
var (options2, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "www.example.org");
443
var (options1, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "www.example.org");
446
var (options2, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "www.example.org");
486
var (selectorOptions1, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "selector.example.org");
489
var (selectorOptions2, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "selector.example.org");
495
var (configOptions1, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "config.example.org");
498
var (configOptions2, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "config.example.org");
545
var (options, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "www.example.org");
573
var (options, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "www.example.org");
600
var mockConnectionContext = new
MockConnectionContext
();
633
var (options, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "www.example.org");
663
var mockConnectionContext = new
MockConnectionContext
();
699
var (options, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "www.example.org");
730
var (options, _) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "www.example.org");
760
var (options, certMode) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "www.example.org");
795
var (options, certMode) = sniOptionsSelector.GetOptions(new
MockConnectionContext
(), "www.example.org");
2 references to MockConnectionContext
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
SniOptionsSelectorTests.cs (2)
600
var
mockConnectionContext = new MockConnectionContext();
663
var
mockConnectionContext = new MockConnectionContext();