Main Content

matlab.unittest.plugins.plugindata.SharedTestFixturePluginData Class

Namespace: matlab.unittest.plugins.plugindata
Superclasses: matlab.unittest.plugins.plugindata.PluginData

Plugin data containing shared test fixture information

Description

The matlab.unittest.plugins.plugindata.SharedTestFixturePluginData class defines the data passed by the test runner to plugin methods related to shared test fixtures.

The testing framework instantiates this class. You cannot create an object of the matlab.unittest.plugins.plugindata.SharedTestFixturePluginData class directly.

The matlab.unittest.plugins.plugindata.SharedTestFixturePluginData class is a handle class.

Properties

expand all

Name of the shared test fixture, returned as a character vector. You can use the Name property for informational, labeling, and display purposes. You cannot inspect the test content using this property.

Attributes:

GetAccess
public
SetAccess
immutable

Description of the action performed during setup and teardown of a shared test fixture, returned as a character vector.

Attributes:

GetAccess
public
SetAccess
Restricts access

Context for plugins to perform qualifications on fixtures, returned as a matlab.unittest.plugins.plugindata.QualificationContext object. For your plugin to use qualifications, it must be a subclass of matlab.unittest.plugins.QualifyingPlugin and provide this context in the call to one of its qualifications methods.

Attributes:

GetAccess
public
SetAccess
private

Test result details modifier, returned as a matlab.unittest.plugins.plugindata.ResultDetails object. Use ResultDetails when you need to modify the Details property of TestResult objects.

Attributes:

GetAccess
public
SetAccess
private

Version History

Introduced in R2014b

expand all