matlab.unittest.fixtures.SuppressedWarningsFixture class
Package: matlab.unittest.fixtures
Fixture to suppress display of warnings
Description
The SuppressedWarningsFixture
class provides
a fixture to suppress the display of warnings. When set up, SuppressedWarningsFixture
disables
one or more specified warnings. When torn down, the fixture restores
the states of warnings to their previous values.
Construction
matlab.unittest.fixtures.SuppressedWarningsFixture(
constructs
a fixture to suppress the display of one or more warnings. warnIDs
)
Input Arguments
Properties
|
Warning identifiers describing warnings to suppress specified
as a cell array of character vectors in the |
Copy Semantics
Handle. To learn how handle classes affect copy operations, see Copying Objects.