matlab.unittest.constraints.Eventually Class
Namespace: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.Constraint
Test if function asynchronously satisfies constraint
Description
The matlab.unittest.constraints.Eventually class provides a constraint that
polls for a function handle to satisfy a given constraint within a timeout period.
The matlab.unittest.constraints.Eventually class is a handle class.
Creation
Description
c = matlab.unittest.constraints.Eventually(
creates a constraint that polls for a function handle to satisfy
constraint)constraint. The constraint c is satisfied if,
within a timeout period of 20 seconds, the function handle produces a value that satisfies
constraint.
The testing framework updates figures and processes any pending callbacks while
Eventually waits for the function handle to satisfy
constraint.
c = matlab.unittest.constraints.Eventually(
creates a constraint that polls for constraint,"WithTimeoutOf",timeout)constraint to be satisfied within
the specified timeout period.
Input Arguments
Properties
Examples
Version History
Introduced in R2013a