ScaleoutHubLifetimeManagerTests<TBackplane> Třída

Definice

Základní testovací třída pro implementace správce životnosti, které podporují horizontální navýšení kapacity serveru.

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)

Parametry typu

TBackplane

Implementace backplanu v paměti, se kterou HubLifetimeManager<THub>komunikuje.

Dědičnost
ScaleoutHubLifetimeManagerTests<TBackplane>
Dědičnost
ScaleoutHubLifetimeManagerTests<TBackplane>

Konstruktory

ScaleoutHubLifetimeManagerTests<TBackplane>()

Vlastnosti

Manager
Zastaralé.

Toto rozhraní API je zastaralé a bude odebráno v budoucí verzi. Místo toho použijte CreateNewHubLifetimeManager v testech.

(Zděděno od HubLifetimeManagerTestsBase<THub>)

Metody

AddGroupAsyncForConnectionOnDifferentServerAlreadyInGroupDoesNothing()

Test specifikace pro SignalR HubLifetimeManager.

AddGroupAsyncForConnectionOnDifferentServerWorks()

Test specifikace pro SignalR HubLifetimeManager.

AddGroupAsyncForLocalConnectionAlreadyInGroupDoesNothing()

Test specifikace pro SignalR HubLifetimeManager.

CanCancelClientResult()

Test specifikace pro SignalR HubLifetimeManager.

(Zděděno od HubLifetimeManagerTestsBase<THub>)
CanProcessClientReturnErrorResult()

Test specifikace pro SignalR HubLifetimeManager.

(Zděděno od HubLifetimeManagerTestsBase<THub>)
CanProcessClientReturnErrorResultAcrossServers()

Test specifikace pro SignalR HubLifetimeManager.

CanProcessClientReturnResult()

Test specifikace pro SignalR HubLifetimeManager.

(Zděděno od HubLifetimeManagerTestsBase<THub>)
CanProcessClientReturnResultAcrossServers()

Test specifikace pro SignalR HubLifetimeManager.

ClientDisconnectsWithoutCompletingClientResult()

Test specifikace pro SignalR HubLifetimeManager.

(Zděděno od HubLifetimeManagerTestsBase<THub>)
ClientDisconnectsWithoutCompletingClientResultOnSecondServer()

Test specifikace pro SignalR HubLifetimeManager.

ConnectionDoesNotExist_FailsInvokeConnectionAsync()

Test specifikace pro SignalR HubLifetimeManager.

ConnectionIDNotPresentMultiServerWhenInvokingClientResult()

Test specifikace pro SignalR HubLifetimeManager.

ConnectionIDNotPresentWhenInvokingClientResult()

Test specifikace pro SignalR HubLifetimeManager.

(Zděděno od HubLifetimeManagerTestsBase<THub>)
CreateBackplane()

Metoda pro vytvoření implementace backplanu v paměti pro použití v testech.

CreateNewHubLifetimeManager()

Metoda vytvoření implementace HubLifetimeManager<THub> pro použití v testech.

(Zděděno od HubLifetimeManagerTestsBase<THub>)
CreateNewHubLifetimeManager(TBackplane)

Metoda k vytvoření implementace HubLifetimeManager<THub> , která používá backplane z CreateBackplane().

DisconnectConnectionRemovesConnectionFromGroup()

Test specifikace pro SignalR HubLifetimeManager.

ExceptionWhenIncorrectClientCompletesClientResult()

Test specifikace pro SignalR HubLifetimeManager.

(Zděděno od HubLifetimeManagerTestsBase<THub>)
InvocationsFromDifferentServersUseUniqueIDs()

Test specifikace pro SignalR HubLifetimeManager.

InvokeAllAsyncWithMultipleServersDoesNotWriteToDisconnectedConnectionsOutput()

Test specifikace pro SignalR HubLifetimeManager.

InvokeAllAsyncWithMultipleServersWritesToAllConnectionsOutput()

Test specifikace pro SignalR HubLifetimeManager.

InvokeConnectionAsyncForLocalConnectionDoesNotPublishToBackplane()

Test specifikace pro SignalR HubLifetimeManager.

InvokeConnectionAsyncOnServerWithoutConnectionWritesOutputToConnection()

Test specifikace pro SignalR HubLifetimeManager.

InvokeGroupAsyncOnServerWithoutConnectionWritesOutputToGroupConnection()

Test specifikace pro SignalR HubLifetimeManager.

InvokesForMultipleClientsDoNotCollide()

Test specifikace pro SignalR HubLifetimeManager.

(Zděděno od HubLifetimeManagerTestsBase<THub>)
InvokeUserSendsToAllConnectionsForUser()

Test specifikace pro SignalR HubLifetimeManager.

RemoveGroupAsyncForConnectionOnDifferentServerWorks()

Test specifikace pro SignalR HubLifetimeManager.

RemoveGroupFromConnectionOnDifferentServerNotInGroupDoesNothing()

Test specifikace pro SignalR HubLifetimeManager.

RemoveGroupFromLocalConnectionNotInGroupDoesNothing()

Test specifikace pro SignalR HubLifetimeManager.

SendAllAsyncDoesNotWriteToDisconnectedConnectionsOutput()

Test specifikace pro SignalR HubLifetimeManager.

(Zděděno od HubLifetimeManagerTestsBase<THub>)
SendAllAsyncWritesToAllConnectionsOutput()

Test specifikace pro SignalR HubLifetimeManager.

(Zděděno od HubLifetimeManagerTestsBase<THub>)
SendConnectionAsyncWritesToConnectionOutput()

Test specifikace pro SignalR HubLifetimeManager.

(Zděděno od HubLifetimeManagerTestsBase<THub>)
SendGroupAsyncWritesToAllConnectionsInGroupOutput()

Test specifikace pro SignalR HubLifetimeManager.

(Zděděno od HubLifetimeManagerTestsBase<THub>)
SendGroupExceptAsyncDoesNotWriteToExcludedConnections()

Test specifikace pro SignalR HubLifetimeManager.

(Zděděno od HubLifetimeManagerTestsBase<THub>)
StillSubscribedToUserAfterOneOfMultipleConnectionsAssociatedWithUserDisconnects()

Test specifikace pro SignalR HubLifetimeManager.

WritingToGroupWithOneConnectionFailingSecondConnectionStillReceivesMessage()

Test specifikace pro SignalR HubLifetimeManager.

WritingToRemoteConnectionThatFailsDoesNotThrow()

Test specifikace pro SignalR HubLifetimeManager.

Platí pro