docs.unity3d.com
    Show / Hide Table of Contents

    Class ConditionalPredicateBase

    Derive from this class to create your own conditional handling for your NetcodeIntegrationTest integration tests when dealing with more complicated scenarios where initializing values, storing state to be used across several integration tests.

    Inheritance
    Object
    ConditionalPredicateBase
    NetworkListTestPredicate
    MessageHooksConditional
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Netcode.TestHelpers.Runtime
    Syntax
    public class ConditionalPredicateBase : IConditionalPredicate

    Properties

    TimedOut

    Declaration
    public bool TimedOut { get; }
    Property Value
    Type Description
    Boolean

    Methods

    Finished(Boolean)

    Declaration
    public void Finished(bool timedOut)
    Parameters
    Type Name Description
    Boolean timedOut
    Implements
    IConditionalPredicate.Finished(Boolean)

    HasConditionBeenReached()

    Declaration
    public bool HasConditionBeenReached()
    Returns
    Type Description
    Boolean
    Implements
    IConditionalPredicate.HasConditionBeenReached()

    OnFinished()

    Declaration
    protected virtual void OnFinished()

    OnHasConditionBeenReached()

    Declaration
    protected virtual bool OnHasConditionBeenReached()
    Returns
    Type Description
    Boolean

    OnStarted()

    Declaration
    protected virtual void OnStarted()

    Started()

    Declaration
    public void Started()
    Implements
    IConditionalPredicate.Started()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023