• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# AbilityDelegatorArgs
2
3> **说明**
4>
5> 本模块首批接口从API version 8开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
6
7## 导入模块
8
9```js
10import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
11```
12
13
14
15## AbilityDelegatorArgs
16
17测试参数信息
18
19| 名称                | 类型                   | 可读 | 可写 | 说明                                                         |
20| ------------------- | ---------------------- | ---- | ---- | ------------------------------------------------------------ |
21| bundleName          | string                 | 是   | 是   | 当前被测试应用的包名<br/>**系统能力:** SystemCapability.Ability.AbilityRuntime.Core |
22| parameters          | {[key:string]: string} | 是   | 是   | 当前启动单元测试的参数<br/>**系统能力:** SystemCapability.Ability.AbilityRuntime.Core |
23| testCaseNames       | string                 | 是   | 是   | 测试用例名称<br/>**系统能力:** SystemCapability.Ability.AbilityRuntime.Core |
24| testRunnerClassName | string                 | 是   | 是   | 执行测试用例的测试执行器的名称<br/>**系统能力:** SystemCapability.Ability.AbilityRuntime.Core |
25
26
27