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.
Implements
Inherited Members
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) |