matlab.unittest.parameters.TestParameter 类
命名空间: matlab.unittest.parameters
超类: matlab.unittest.parameters.Parameter
测试参数
描述
matlab.unittest.parameters.TestParameter
类定义用于测试的参数。
测试框架实例化此类。您无法直接创建 matlab.unittest.parameters.TestParameter
类的对象。
属性
Property
— 用于定义测试参数的属性的名称
字符向量
用于定义测试参数的属性的名称,以字符向量形式返回。
属性:
GetAccess | public |
SetAccess | private |
Name
— 测试参数名称
字符向量
测试参数名称,以字符向量形式返回。Name
属性唯一地标识测试参数的特定值。
属性:
GetAccess | public |
SetAccess | private |
Value
— 测试参数值
任何值
测试参数值,以任何数据类型的值形式返回。Value
属性保留测试运行器传递给使用测试参数的参数化方法的数据。
属性:
GetAccess | public |
SetAccess | private |
版本历史记录
在 R2014a 中推出
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)