Expectation::toExecuteIDLTask
Member of Expectation
idl
Expectation.toExecuteIDLTask, $
/_expect_failureVerifies an expectation value to run the IDLTask::Execute method. The expectation value must be an IDL Task.
Examples
idl
; create an IDL task
task = IDLTask('addition_example')
; specify the task inputs
task.a = 37
task.b = 5
; run the task and verify that it executes without error
(it.expects(task)).toExecuteIDLTaskKeywords
_expect_failure {#kw-_expect_failure}
optionalinputtype=BooleanIf the test fails for some reason, set this to force passing because we expected failure. This keyword is for internal use only.