Main Content

matlab.unittest.selectors.OrSelector class

Package: matlab.unittest.selectors

Boolean disjunction of two selectors

Description

The testing framework constructs an OrSelector when you denote the disjunction of two selectors with the logical OR operator (|). The framework constructs instances of the class, so there is no need to construct this class directly.

Properties

expand all

This property is read-only.

Left side selector in the Boolean disjunction, specified as an instance of a class in the matlab.unittest.selectors package. If you have MATLAB® Test™ installed, you also can specify FirstSelector as a matlabtest.selectors.DependsOn object.

This property is read-only.

Right side selector in the Boolean disjunction, specified as an instance of a class in the matlab.unittest.selectors package. If you have MATLAB Test installed, you also can specify SecondSelector as a matlabtest.selectors.DependsOn object.

Version History

Introduced in R2018a