Class: matlab.unittest.fixtures.Fixture
Package: matlab.unittest.fixtures
Set up fixture
setup(f)
setup(
sets up a
fixture by performing the defined environment modifications. Classes
deriving from the f
)Fixture
interface must implement
the setup
method. This method executes the changes
to the environment. A fixture should restore the environment to its
initial state when it is torn down. To restore the environment, use
the addTeardown
method in the setup
method
or implement the fixture's teardown
method.
|
|