Package: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.Constraint
Constraint specifying function that issues no warnings
outConstObj = IssuesNoWarnings
creates
a constraint, outConstObj
, specifying a function
that issues no warnings when the testing framework invokes it. The
constraint is satisfied if no warnings are issued when the testing
framework invokes the function.
outConstObj = IssuesNoWarnings('WhenNargoutIs',
creates
a constraint that can determine if the actual value is a function
handle that issues no warnings when the testing framework invokes
it with a particular number of output arguments, numOutputs
)numOutputs
.
|
Number of outputs the constraint requests when invoking the function handle, specified as a non-negative, real, scalar integer. Default: |
|
Output arguments produced at invocation of the supplied function
handle, specified as a cell array. This property provides access to
output arguments. It is read only and the testing framework sets it
when it invokes the function handle. The number of outputs is determined
by the |
|
Number of output arguments the instance uses when executing
functions. Set this property through the constructor via the |
Handle. To learn how handle classes affect copy operations, see Copying Objects.