Class ConnectionApprovalTimeoutTests
Inherited Members
Namespace: Unity.Netcode.RuntimeTests
Assembly: solution.dll
Syntax
public class ConnectionApprovalTimeoutTests : NetcodeIntegrationTest
Constructors
| Name | Description |
|---|---|
| ConnectionApprovalTimeoutTests(ApprovalTimedOutTypes) |
Properties
| Name | Description |
|---|---|
| NumberOfClients |
Methods
| Name | Description |
|---|---|
| OnServerAndClientsCreated() | This is invoked before the server and client(s) are started. Override this method if you want to make any adjustments to their NetworkManager instances. |
| OnSetup() | Called before creating and starting the server and clients Note: For AllTests and PerTest mode integration tests. For those two modes, if you want to have access to the server or client NetworkManagers then override OnServerAndClientsCreated(). m_ServerNetworkManager and m_ClientNetworkManagers |
| OnStartedServerAndClients() | Invoked after the server and clients have started. Note: No connection verification has been done at this point |
| OnTearDown() | Note: For PerTest mode this is called before ShutdownAndCleanUp. |
| ValidateApprovalTimeout() |