Package: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.Constraint
Poll for value to asynchronously satisfy constraint
outConstObj = Eventually(
creates a
constraint, constObj
)outConstObj
, that polls for an actual value returned from
a function handle to asynchronously satisfy the constObj
constraint.
It is not satisfied if evaluation of the function handle does not produce a value that
satisfies the constraint within 20 seconds. The testing framework invokes the
drawnow
function while the Eventually
constraint
waits for specified function to satisfy the constraint.
outConstObj = Eventually(
creates a constraint that polls for the constraint to be satisfied within the timer
period specified in constObj
,'WithTimeoutOf',timeOutVal
)timeOutVal
.
|
|
|
Maximum time to attempt to produce passing behavior, specified in seconds Default: |
|
Output produced when the test framework invokes the supplied function handle. This property is read only and is set when the test framework invokes the function handle. |
|
Maximum time to attempt to produce passing behavior, specified by the
|
Value. To learn how value classes affect copy operations, see Copying Objects.