Class RpcQueueTests
The RpcQueue unit tests validate:
- Maximum buffer size that can be sent (currently 1MB is the default maximum MessageQueueHistoryFrame
size)
- That all RPCs invoke at the appropriate NetworkUpdateStage
(Client and Server)
- A lower level MessageQueueContainer
test that validates MessageQueueFrameItems
after they have been put into the queue
Inherited Members
Namespace: Unity.Netcode.RuntimeTests
Assembly: solution.dll
Syntax
public class RpcQueueTests
Methods
BufferDataValidation()
This tests the RPC Queue outbound and inbound buffer capabilities.
Declaration
[UnityTestAttribute]
public IEnumerator BufferDataValidation()
Returns
Type | Description |
---|---|
IEnumerator | IEnumerator |
Setup()
Declaration
public void Setup()
TearDown()
Declaration
public void TearDown()