Main Content

matlab.unittest.selectors.OrSelector Class

Namespace: matlab.unittest.selectors

Logical disjunction of selectors

Description

When you combine selectors with the logical OR operator (|), the testing framework instantiates the matlab.unittest.selectors.OrSelector class. You cannot create an object of this class directly.

Class Attributes

Sealed
true

For information on class attributes, see Class Attributes.

Properties

expand all

Left-side selector in the logical disjunction, returned as an object of a class in the matlab.unittest.selectors namespace. If you have a MATLAB® Test™ license, you can also specify FirstSelector as a matlabtest.selectors.DependsOn or matlabtest.selectors.HasBaseline object.

Attributes:

GetAccess
public
SetAccess
private

Right-side selector in the logical disjunction, returned as an object of a class in the matlab.unittest.selectors namespace. If you have a MATLAB Test license, you can also specify SecondSelector as a matlabtest.selectors.DependsOn or matlabtest.selectors.HasBaseline object.

Attributes:

GetAccess
public
SetAccess
private

Version History

Introduced in R2018a