10 instantiations of DummyHubProtocol
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (6)
RedisProtocolTests.cs (6)
145var hubProtocols = new[] { new DummyHubProtocol("p1"), new DummyHubProtocol("p2") }; 177var protocol = new RedisProtocol(CreateHubMessageSerializer(new List<IHubProtocol>() { new DummyHubProtocol("p1"), new DummyHubProtocol("p2") })); 192var hubMessageSerializer = CreateHubMessageSerializer(new List<IHubProtocol>() { new DummyHubProtocol("p1"), new DummyHubProtocol("p2") });
Microsoft.AspNetCore.SignalR.Tests (4)
SerializedHubMessageTests.cs (4)
20var protocol = new DummyHubProtocol("p1"); 34var protocol = new DummyHubProtocol("p1"); 62_ = message.GetSerializedMessage(new DummyHubProtocol($"p{i}")); 66var protocol = new DummyHubProtocol("test", () => onWrite().Wait());
7 references to DummyHubProtocol
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
RedisProtocolTests.cs (1)
155foreach (var hubProtocol in hubProtocols)
Microsoft.AspNetCore.SignalR.Tests (6)
SerializedHubMessageTests.cs (6)
20var protocol = new DummyHubProtocol("p1"); 24Assert.Equal(DummyHubProtocol.DummySerialization, serialized.ToArray()); 34var protocol = new DummyHubProtocol("p1"); 42Assert.Equal(DummyHubProtocol.DummySerialization, serialized.ToArray()); 66var protocol = new DummyHubProtocol("test", () => onWrite().Wait()); 88Assert.Equal(DummyHubProtocol.DummySerialization, serializedMessage.Serialized.ToArray());