Condividi tramite


ScaleoutHubLifetimeManagerTests<TBackplane> Classe

Definizione

Classe di test di base per le implementazioni del gestore della durata che supportano la scalabilità orizzontale del server.

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)

Parametri di tipo

TBackplane

Implementazione in memoria del backplane con cui HubLifetimeManager<THub>comunicare.

Ereditarietà
ScaleoutHubLifetimeManagerTests<TBackplane>
Ereditarietà
ScaleoutHubLifetimeManagerTests<TBackplane>

Costruttori

ScaleoutHubLifetimeManagerTests<TBackplane>()

Classe di test di base per le implementazioni del gestore della durata che supportano la scalabilità orizzontale del server.

Proprietà

Manager
Obsoleti.

Questa API è obsoleta e verrà rimossa in una versione futura. Usare invece CreateNewHubLifetimeManager nei test.

(Ereditato da HubLifetimeManagerTestsBase<THub>)

Metodi

AddGroupAsyncForConnectionOnDifferentServerAlreadyInGroupDoesNothing()

Test di specifica per SignalR HubLifetimeManager.

AddGroupAsyncForConnectionOnDifferentServerWorks()

Test di specifica per SignalR HubLifetimeManager.

AddGroupAsyncForLocalConnectionAlreadyInGroupDoesNothing()

Test di specifica per SignalR HubLifetimeManager.

CanCancelClientResult()

Test di specifica per SignalR HubLifetimeManager.

(Ereditato da HubLifetimeManagerTestsBase<THub>)
CanProcessClientReturnErrorResult()

Test di specifica per SignalR HubLifetimeManager.

(Ereditato da HubLifetimeManagerTestsBase<THub>)
CanProcessClientReturnErrorResultAcrossServers()

Test di specifica per SignalR HubLifetimeManager.

CanProcessClientReturnResult()

Test di specifica per SignalR HubLifetimeManager.

(Ereditato da HubLifetimeManagerTestsBase<THub>)
CanProcessClientReturnResultAcrossServers()

Test di specifica per SignalR HubLifetimeManager.

ClientDisconnectsWithoutCompletingClientResult()

Test di specifica per SignalR HubLifetimeManager.

(Ereditato da HubLifetimeManagerTestsBase<THub>)
ClientDisconnectsWithoutCompletingClientResultOnSecondServer()

Test di specifica per SignalR HubLifetimeManager.

ClientReturnResultAcrossServersWithWrongReturnedTypeErrors()

Test di specifica per SignalR HubLifetimeManager.

ConnectionDoesNotExist_FailsInvokeConnectionAsync()

Test di specifica per SignalR HubLifetimeManager.

ConnectionIDNotPresentMultiServerWhenInvokingClientResult()

Test di specifica per SignalR HubLifetimeManager.

ConnectionIDNotPresentWhenInvokingClientResult()

Test di specifica per SignalR HubLifetimeManager.

(Ereditato da HubLifetimeManagerTestsBase<THub>)
CreateBackplane()

Metodo per creare un'implementazione di un backplane in memoria da usare nei test.

CreateNewHubLifetimeManager()

Metodo per creare un'implementazione di HubLifetimeManager<THub> per l'uso nei test.

(Ereditato da HubLifetimeManagerTestsBase<THub>)
CreateNewHubLifetimeManager(TBackplane)

Metodo per creare un'implementazione di HubLifetimeManager<THub> che usa il backplane da CreateBackplane().

DisconnectConnectionRemovesConnectionFromGroup()

Test di specifica per SignalR HubLifetimeManager.

ExceptionWhenIncorrectClientCompletesClientResult()

Test di specifica per SignalR HubLifetimeManager.

(Ereditato da HubLifetimeManagerTestsBase<THub>)
InvocationsFromDifferentServersUseUniqueIDs()

Test di specifica per SignalR HubLifetimeManager.

InvokeAllAsyncWithMultipleServersDoesNotWriteToDisconnectedConnectionsOutput()

Test di specifica per SignalR HubLifetimeManager.

InvokeAllAsyncWithMultipleServersWritesToAllConnectionsOutput()

Test di specifica per SignalR HubLifetimeManager.

InvokeConnectionAsyncForLocalConnectionDoesNotPublishToBackplane()

Test di specifica per SignalR HubLifetimeManager.

InvokeConnectionAsyncOnServerWithoutConnectionWritesOutputToConnection()

Test di specifica per SignalR HubLifetimeManager.

InvokeGroupAsyncOnServerWithoutConnectionWritesOutputToGroupConnection()

Test di specifica per SignalR HubLifetimeManager.

InvokesForMultipleClientsDoNotCollide()

Test di specifica per SignalR HubLifetimeManager.

(Ereditato da HubLifetimeManagerTestsBase<THub>)
InvokeUserSendsToAllConnectionsForUser()

Test di specifica per SignalR HubLifetimeManager.

RemoveGroupAsyncForConnectionOnDifferentServerWorks()

Test di specifica per SignalR HubLifetimeManager.

RemoveGroupFromConnectionOnDifferentServerNotInGroupDoesNothing()

Test di specifica per SignalR HubLifetimeManager.

RemoveGroupFromLocalConnectionNotInGroupDoesNothing()

Test di specifica per SignalR HubLifetimeManager.

SendAllAsyncDoesNotWriteToDisconnectedConnectionsOutput()

Test di specifica per SignalR HubLifetimeManager.

(Ereditato da HubLifetimeManagerTestsBase<THub>)
SendAllAsyncWritesToAllConnectionsOutput()

Test di specifica per SignalR HubLifetimeManager.

(Ereditato da HubLifetimeManagerTestsBase<THub>)
SendConnectionAsyncWritesToConnectionOutput()

Test di specifica per SignalR HubLifetimeManager.

(Ereditato da HubLifetimeManagerTestsBase<THub>)
SendGroupAsyncWritesToAllConnectionsInGroupOutput()

Test di specifica per SignalR HubLifetimeManager.

(Ereditato da HubLifetimeManagerTestsBase<THub>)
SendGroupExceptAsyncDoesNotWriteToExcludedConnections()

Test di specifica per SignalR HubLifetimeManager.

(Ereditato da HubLifetimeManagerTestsBase<THub>)
StillSubscribedToUserAfterOneOfMultipleConnectionsAssociatedWithUserDisconnects()

Test di specifica per SignalR HubLifetimeManager.

WritingToGroupWithOneConnectionFailingSecondConnectionStillReceivesMessage()

Test di specifica per SignalR HubLifetimeManager.

WritingToRemoteConnectionThatFailsDoesNotThrow()

Test di specifica per SignalR HubLifetimeManager.

Si applica a