12 references to Expectation
Microsoft.AspNetCore.WebSockets.ConformanceTests (12)
Autobahn\AutobahnExpectations.cs (12)
11
private readonly Dictionary<string,
Expectation
> _expectations = new Dictionary<string,
Expectation
>();
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)
43
Expectation
expectation;
46
expectation =
Expectation
.Ok;
51
case
Expectation
.Fail:
57
case
Expectation
.NonStrict:
63
case
Expectation
.Ok:
69
case
Expectation
.OkOrFail: