docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NetworkListTestPredicate

    Handles the more generic conditional logic for NetworkList tests which can be used with the WaitForConditionOrTimeOut(Func<bool>, TimeoutHelper) that accepts anything derived from the ConditionalPredicateBase class as a parameter.

    Inheritance
    object
    ConditionalPredicateBase
    NetworkListTestPredicate
    Implements
    IConditionalPredicate
    Inherited Members
    ConditionalPredicateBase.TimedOut
    ConditionalPredicateBase.HasConditionBeenReached()
    ConditionalPredicateBase.OnStarted()
    ConditionalPredicateBase.Started()
    ConditionalPredicateBase.Finished(bool)
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Netcode.RuntimeTests
    Assembly: solution.dll
    Syntax
    public class NetworkListTestPredicate : ConditionalPredicateBase, IConditionalPredicate

    Constructors

    Name Description
    NetworkListTestPredicate(NetworkVariableTest, NetworkVariableTest, NetworkListTestStates, int)

    Methods

    Name Description
    OnFinished()

    When finished, check if a time out occurred and if so assert and provide meaningful information to troubleshoot why

    OnHasConditionBeenReached()

    Determines if the condition has been reached for the current NetworkListTestState

    SetNetworkListTestState(NetworkListTestStates)
    In This Article
    Back to top
    Copyright © 2024 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)