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: Unity.Netcode.RuntimeTests.dll
Syntax
public class RpcQueueTests
Methods
BufferDataValidation()
This tests the RPC Queue outbound and inbound buffer capabilities.
Declaration
[UnityTest]
[Order(2)]
public IEnumerator BufferDataValidation()
Returns
| Type | Description |
|---|---|
| IEnumerator | IEnumerator |
Setup()
Declaration
[SetUp]
public void Setup()
TearDown()
Declaration
[TearDown]
public void TearDown()