ScaleoutHubLifetimeManagerTests<TBackplane> Class

Definition

Base test class for lifetime manager implementations that support server scale-out.

generic <typename TBackplane>
public ref class ScaleoutHubLifetimeManagerTests abstract : Microsoft::AspNetCore::SignalR::Specification::Tests::HubLifetimeManagerTestsBase<Microsoft::AspNetCore::SignalR::Specification::Tests::MyHub ^>
public abstract class ScaleoutHubLifetimeManagerTests<TBackplane> : Microsoft.AspNetCore.SignalR.Specification.Tests.HubLifetimeManagerTestsBase<Microsoft.AspNetCore.SignalR.Specification.Tests.MyHub>
public abstract class ScaleoutHubLifetimeManagerTests<TBackplane> : Microsoft.AspNetCore.SignalR.Specification.Tests.HubLifetimeManagerTestsBase<Microsoft.AspNetCore.SignalR.Hub>
type ScaleoutHubLifetimeManagerTests<'Backplane> = class
    inherit HubLifetimeManagerTestsBase<MyHub>
type ScaleoutHubLifetimeManagerTests<'Backplane> = class
    inherit HubLifetimeManagerTestsBase<Hub>
Public MustInherit Class ScaleoutHubLifetimeManagerTests(Of TBackplane)
Inherits HubLifetimeManagerTestsBase(Of MyHub)
Public MustInherit Class ScaleoutHubLifetimeManagerTests(Of TBackplane)
Inherits HubLifetimeManagerTestsBase(Of Hub)

Type Parameters

TBackplane

An in-memory implementation of the backplane that HubLifetimeManager<THub>s communicate with.

Inheritance
ScaleoutHubLifetimeManagerTests<TBackplane>
Inheritance
ScaleoutHubLifetimeManagerTests<TBackplane>

Constructors

ScaleoutHubLifetimeManagerTests<TBackplane>()

Properties

Manager
Obsolete.

This API is obsolete and will be removed in a future version. Use CreateNewHubLifetimeManager in tests instead.

(Inherited from HubLifetimeManagerTestsBase<THub>)

Methods

AddGroupAsyncForConnectionOnDifferentServerAlreadyInGroupDoesNothing()

Specification test for SignalR HubLifetimeManager.

AddGroupAsyncForConnectionOnDifferentServerWorks()

Specification test for SignalR HubLifetimeManager.

AddGroupAsyncForLocalConnectionAlreadyInGroupDoesNothing()

Specification test for SignalR HubLifetimeManager.

CanCancelClientResult()

Specification test for SignalR HubLifetimeManager.

(Inherited from HubLifetimeManagerTestsBase<THub>)
CanProcessClientReturnErrorResult()

Specification test for SignalR HubLifetimeManager.

(Inherited from HubLifetimeManagerTestsBase<THub>)
CanProcessClientReturnErrorResultAcrossServers()

Specification test for SignalR HubLifetimeManager.

CanProcessClientReturnResult()

Specification test for SignalR HubLifetimeManager.

(Inherited from HubLifetimeManagerTestsBase<THub>)
CanProcessClientReturnResultAcrossServers()

Specification test for SignalR HubLifetimeManager.

ClientDisconnectsWithoutCompletingClientResult()

Specification test for SignalR HubLifetimeManager.

(Inherited from HubLifetimeManagerTestsBase<THub>)
ClientDisconnectsWithoutCompletingClientResultOnSecondServer()

Specification test for SignalR HubLifetimeManager.

ClientReturnResultAcrossServersWithWrongReturnedTypeErrors()

Specification test for SignalR HubLifetimeManager.

ConnectionDoesNotExist_FailsInvokeConnectionAsync()

Specification test for SignalR HubLifetimeManager.

ConnectionIDNotPresentMultiServerWhenInvokingClientResult()

Specification test for SignalR HubLifetimeManager.

ConnectionIDNotPresentWhenInvokingClientResult()

Specification test for SignalR HubLifetimeManager.

(Inherited from HubLifetimeManagerTestsBase<THub>)
CreateBackplane()

Method to create an implementation of an in-memory backplane for use in tests.

CreateNewHubLifetimeManager()

Method to create an implementation of HubLifetimeManager<THub> for use in tests.

(Inherited from HubLifetimeManagerTestsBase<THub>)
CreateNewHubLifetimeManager(TBackplane)

Method to create an implementation of HubLifetimeManager<THub> that uses the backplane from CreateBackplane().

DisconnectConnectionRemovesConnectionFromGroup()

Specification test for SignalR HubLifetimeManager.

ExceptionWhenIncorrectClientCompletesClientResult()

Specification test for SignalR HubLifetimeManager.

(Inherited from HubLifetimeManagerTestsBase<THub>)
InvocationsFromDifferentServersUseUniqueIDs()

Specification test for SignalR HubLifetimeManager.

InvokeAllAsyncWithMultipleServersDoesNotWriteToDisconnectedConnectionsOutput()

Specification test for SignalR HubLifetimeManager.

InvokeAllAsyncWithMultipleServersWritesToAllConnectionsOutput()

Specification test for SignalR HubLifetimeManager.

InvokeConnectionAsyncForLocalConnectionDoesNotPublishToBackplane()

Specification test for SignalR HubLifetimeManager.

InvokeConnectionAsyncOnServerWithoutConnectionWritesOutputToConnection()

Specification test for SignalR HubLifetimeManager.

InvokeGroupAsyncOnServerWithoutConnectionWritesOutputToGroupConnection()

Specification test for SignalR HubLifetimeManager.

InvokesForMultipleClientsDoNotCollide()

Specification test for SignalR HubLifetimeManager.

(Inherited from HubLifetimeManagerTestsBase<THub>)
InvokeUserSendsToAllConnectionsForUser()

Specification test for SignalR HubLifetimeManager.

RemoveGroupAsyncForConnectionOnDifferentServerWorks()

Specification test for SignalR HubLifetimeManager.

RemoveGroupFromConnectionOnDifferentServerNotInGroupDoesNothing()

Specification test for SignalR HubLifetimeManager.

RemoveGroupFromLocalConnectionNotInGroupDoesNothing()

Specification test for SignalR HubLifetimeManager.

SendAllAsyncDoesNotWriteToDisconnectedConnectionsOutput()

Specification test for SignalR HubLifetimeManager.

(Inherited from HubLifetimeManagerTestsBase<THub>)
SendAllAsyncWritesToAllConnectionsOutput()

Specification test for SignalR HubLifetimeManager.

(Inherited from HubLifetimeManagerTestsBase<THub>)
SendConnectionAsyncWritesToConnectionOutput()

Specification test for SignalR HubLifetimeManager.

(Inherited from HubLifetimeManagerTestsBase<THub>)
SendGroupAsyncWritesToAllConnectionsInGroupOutput()

Specification test for SignalR HubLifetimeManager.

(Inherited from HubLifetimeManagerTestsBase<THub>)
SendGroupExceptAsyncDoesNotWriteToExcludedConnections()

Specification test for SignalR HubLifetimeManager.

(Inherited from HubLifetimeManagerTestsBase<THub>)
StillSubscribedToUserAfterOneOfMultipleConnectionsAssociatedWithUserDisconnects()

Specification test for SignalR HubLifetimeManager.

WritingToGroupWithOneConnectionFailingSecondConnectionStillReceivesMessage()

Specification test for SignalR HubLifetimeManager.

WritingToRemoteConnectionThatFailsDoesNotThrow()

Specification test for SignalR HubLifetimeManager.

Applies to