主要内容

matlab.unittest.selectors包

课程简介MATLAB选择器接口

描述

使用选择器根据测试套件的属性筛选或选择元素matlab.unittest.selectors包由以下选择器组成。

班级

matlab.unittest.selectors.AndSelector 两个选择器的布尔合取
matlab.unittest.selectors.HasBaseFolder 由文件夹确定的TestSuite元素的选择器
matlab.unittest.selectors.HasName 由名称确定的TestSuite元素的选择器
matlab.unittest.selectors.HasParameter 由参数化确定的TestSuite元素选择器
matlab.unittest.selectors.HasProcedureName 选择器测试套件由过程名称确定的元素
matlab.unittest.selectors.HasSharedTestFixture 使用共享测试夹具的TestSuite元素的选择器
matlab.unittest.selectors.HasSuperclass 选择器测试套件由测试类层次结构确定的元素
matlab.unittest.selectors.HasTag 由标记确定的TestSuite元素的选择器
matlab.unittest.selectors.NotSelector 选择器的布尔补
matlab.unittest.selectors.OrSelector 两个选择器的布尔析取

另见

R2014a中引入