docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MessageSendingTests

    Inheritance
    object
    MessageSendingTests
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Netcode.EditorTests
    Assembly: Unity.Netcode.EditorTests.dll
    Syntax
    public class MessageSendingTests

    Methods

    SetUp()

    Declaration
    [SetUp]
    public void SetUp()

    TearDown()

    Declaration
    [TearDown]
    public void TearDown()

    WhenExceedingBatchSize_NewBatchesAreCreated(int)

    Declaration
    [Test]
    public void WhenExceedingBatchSize_NewBatchesAreCreated(int maxMessageSize)
    Parameters
    Type Name Description
    int maxMessageSize

    WhenExceedingMTUSizeWithFragmentedDelivery_NewBatchesAreNotCreated(int)

    Declaration
    [Test]
    public void WhenExceedingMTUSizeWithFragmentedDelivery_NewBatchesAreNotCreated(int maxMessageSize)
    Parameters
    Type Name Description
    int maxMessageSize

    WhenExceedingPerClientBatchSizeGreaterThanDefault_OnlyOneNewBatcheIsCreated(int)

    Declaration
    [Test]
    public void WhenExceedingPerClientBatchSizeGreaterThanDefault_OnlyOneNewBatcheIsCreated(int maxMessageSize)
    Parameters
    Type Name Description
    int maxMessageSize

    WhenExceedingPerClientBatchSizeLessThanDefault_NewBatchesAreCreated(int)

    Declaration
    [Test]
    public void WhenExceedingPerClientBatchSizeLessThanDefault_NewBatchesAreCreated(int maxMessageSize)
    Parameters
    Type Name Description
    int maxMessageSize

    WhenNotExceedingBatchSize_NewBatchesAreNotCreated()

    Declaration
    [Test]
    public void WhenNotExceedingBatchSize_NewBatchesAreNotCreated()

    WhenProcessingSendQueue_MessageIsSent()

    Declaration
    [Test]
    public void WhenProcessingSendQueue_MessageIsSent()

    WhenReceivingAMessageWithoutAHandler_ExceptionIsLogged()

    Declaration
    [Test]
    public void WhenReceivingAMessageWithoutAHandler_ExceptionIsLogged()

    WhenSendingMessage_NothingIsSentBeforeProcessingSendQueue()

    Declaration
    [Test]
    public void WhenSendingMessage_NothingIsSentBeforeProcessingSendQueue()

    WhenSendingMessage_SerializeIsCalled()

    Declaration
    [Test]
    public void WhenSendingMessage_SerializeIsCalled()

    WhenSendingMessaged_SentDataIsCorrect()

    Declaration
    [Test]
    public void WhenSendingMessaged_SentDataIsCorrect()

    WhenSendingMultipleMessages_MessagesAreBatched()

    Declaration
    [Test]
    public void WhenSendingMultipleMessages_MessagesAreBatched()

    WhenSwitchingChannel_NewBatchesAreNotCreated()

    Declaration
    [Test]
    public void WhenSwitchingChannel_NewBatchesAreNotCreated()

    WhenSwitchingDelivery_NewBatchesAreCreated()

    Declaration
    [Test]
    public void WhenSwitchingDelivery_NewBatchesAreCreated()
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)