课程总结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 |
选择器的TestSuite 由过程名确定的元素 |
matlab.unittest.selectors.HasSharedTestFixture |
使用共享测试夹具的TestSuite元素的选择器 |
matlab.unittest.selectors.HasSuperclass |
选择器的TestSuite 由测试类层次结构确定的元素 |
matlab.unittest.selectors.HasTag |
TestSuite元素的选择器由标签决定 |
matlab.unittest.selectors.NotSelector |
选择器布尔补码 |
matlab.unittest.selectors.OrSelector |
两个选择器的布尔析取 |