7 references to TestHeaders
Microsoft.AspNetCore.SignalR.Common.Tests (7)
Internal\Protocol\MessagePackHubProtocolTestBase.cs (3)
117
message: AddHeaders(
TestHeaders
, CompletionMessage.WithError("xyz", error: "Error not found!")),
125
message: AddHeaders(
TestHeaders
, CompletionMessage.Empty("xyz")),
173
message: AddHeaders(
TestHeaders
, new CancelInvocationMessage("xyz")),
Internal\Protocol\MessagePackHubProtocolTests.cs (4)
109
message: AddHeaders(
TestHeaders
, CompletionMessage.WithResult("xyz", payload: new[] { new CustomObject(), new CustomObject() })),
135
message: AddHeaders(
TestHeaders
, new InvocationMessage("method", new object[] { new CustomObject(), new CustomObject() })),
157
message: AddHeaders(
TestHeaders
, new StreamItemMessage("xyz", item: new[] { new CustomObject(), new CustomObject() })),
179
message: AddHeaders(
TestHeaders
, new StreamInvocationMessage("xyz", "method", new object[] { new CustomObject(), new CustomObject() })),