Main Content

matlab.unittest.selectors.AndSelector Class

Namespace: matlab.unittest.selectors

Logical conjunction of selectors

Description

When you combine selectors with the logical AND operator (&), the testing framework instantiates the matlab.unittest.selectors.AndSelector 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 conjunction, 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 conjunction, 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