Class ConnectionApprovalTimeoutTests
Inheritance
ConnectionApprovalTimeoutTests
Assembly: solution.dll
Syntax
public class ConnectionApprovalTimeoutTests : NetcodeIntegrationTest
Constructors
ConnectionApprovalTimeoutTests(ApprovalTimedOutTypes)
Declaration
public ConnectionApprovalTimeoutTests(ConnectionApprovalTimeoutTests.ApprovalTimedOutTypes approvalFailureType)
Parameters
Properties
NumberOfClients
Declaration
protected override int NumberOfClients { get; }
Property Value
Overrides
Methods
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.
Declaration
protected override void OnServerAndClientsCreated()
Overrides
OnSetup()
Declaration
protected override IEnumerator OnSetup()
Returns
Overrides
OnStartedServerAndClients()
Invoked after the server and clients have started.
Note: No connection verification has been done at this point
Declaration
protected override IEnumerator OnStartedServerAndClients()
Returns
Overrides
OnTearDown()
Note: For PerTest mode
this is called before ShutdownAndCleanUp.
Declaration
protected override IEnumerator OnTearDown()
Returns
Overrides
ValidateApprovalTimeout()
Declaration
[UnityTestAttribute]
public IEnumerator ValidateApprovalTimeout()
Returns