Skip to content

Expectation::toExecuteIDLTask ​

Member of Expectation

idl
Expectation.toExecuteIDLTask, $
  /_expect_failure

Verifies 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)).toExecuteIDLTask

Keywords ​

_expect_failure {#kw-_expect_failure} ​

optionalinputtype=Boolean

If the test fails for some reason, set this to force passing because we expected failure. This keyword is for internal use only.

Licensed under MIT.