Expectation::toBeAValidENVITask
Member of Expectation
idl
Expectation.toBeAValidENVITask, $
/_expect_failureVerifies that the expectation value is a valid ENVI task by using the idl ENVITask() function. The expectations value should be set to the name of a task.
Examples
idl
; make sure that ENVI has started - an error is
; thrown if it is not
e = envi(/headless)
(it.expects('SubsetRaster')).toBeAValidENVITask
(it.expects('MyCustomTaskNotInstaller'))._not_.toBeAValidENVITaskKeywords
_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.