1 instantiation of AutobahnExpectations
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
Autobahn\AutobahnTester.cs (1)
174
var expectations = new
AutobahnExpectations
(server, ssl, environment);
9 references to AutobahnExpectations
Microsoft.AspNetCore.WebSockets.ConformanceTests (9)
Autobahn\AutobahnExpectations.cs (4)
23
public
AutobahnExpectations
Fail(params string[] caseSpecs) => Expect(Expectation.Fail, caseSpecs);
24
public
AutobahnExpectations
NonStrict(params string[] caseSpecs) => Expect(Expectation.NonStrict, caseSpecs);
25
public
AutobahnExpectations
OkOrFail(params string[] caseSpecs) => Expect(Expectation.OkOrFail, caseSpecs);
27
public
AutobahnExpectations
Expect(Expectation expectation, params string[] caseSpecs)
Autobahn\AutobahnTester.cs (5)
17
private readonly List<
AutobahnExpectations
> _expectations = new List<
AutobahnExpectations
>();
112
var
serverExpectation = _expectations.FirstOrDefault(e => e.Server == serverResult.Server && e.Ssl == serverResult.Ssl);
126
public async Task DeployTestAndAddToSpec(ServerType server, bool ssl, string environment, CancellationToken cancellationToken, Action<
AutobahnExpectations
> expectationConfig = null)
174
var
expectations = new AutobahnExpectations(server, ssl, environment);