diff --git a/api/@ohos.application.abilityDelegatorRegistry.d.ts b/api/@ohos.application.abilityDelegatorRegistry.d.ts index c21a8cc64ede0a8d5e28226ba6dc2087d3b8ff97..c2fa8b68e6bd28f59065e8c2208ac58e34295bf9 100644 --- a/api/@ohos.application.abilityDelegatorRegistry.d.ts +++ b/api/@ohos.application.abilityDelegatorRegistry.d.ts @@ -20,7 +20,7 @@ import { AbilityDelegatorArgs } from './application/abilityDelegatorArgs' * A global register used to store the AbilityDelegator and AbilityDelegatorArgs objects registered * during application startup. * - * @since 9 + * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core * @import import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' * @permission N/A @@ -29,7 +29,7 @@ declare namespace abilityDelegatorRegistry { /** * Get the AbilityDelegator object of the application. * - * @since 9 + * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core * @return the AbilityDelegator object initialized when the application is started. */ @@ -38,7 +38,7 @@ declare namespace abilityDelegatorRegistry { /** * Get unit test parameters stored in the AbilityDelegatorArgs object. * - * @since 9 + * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core * @return the previously registered AbilityDelegatorArgs object. */ @@ -47,7 +47,7 @@ declare namespace abilityDelegatorRegistry { /** * Describes all lifecycle states of an ability. * - * @since 9 + * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core */ export enum AbilityLifecycleState { diff --git a/api/@ohos.application.testRunner.d.ts b/api/@ohos.application.testRunner.d.ts index 58593017d019b48e98981fd1e5218d61cc7e77c8..dc8e559d3f4cde6916a2d229946f69e6a9d74a49 100644 --- a/api/@ohos.application.testRunner.d.ts +++ b/api/@ohos.application.testRunner.d.ts @@ -17,7 +17,7 @@ * Base class for the test framework. * If you want to implement your own unit test framework, you must inherit this class and overrides all its methods. * - * @since 9 + * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core * @import import TestRunner from '@ohos.application.testRunner' * @permission N/A @@ -26,7 +26,7 @@ export interface TestRunner { /** * Prepare the unit testing environment for running test cases. * - * @since 9 + * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core */ onPrepare(): void; @@ -34,7 +34,7 @@ export interface TestRunner { /** * Run all test cases. * - * @since 9 + * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core */ onRun(): void; diff --git a/api/application/abilityDelegator.d.ts b/api/application/abilityDelegator.d.ts index 8f48ca1ad1e32788ac2727da7bf573bca17d33bd..597b5a76f8ae0e6908b3d075f228e027507031e3 100644 --- a/api/application/abilityDelegator.d.ts +++ b/api/application/abilityDelegator.d.ts @@ -22,7 +22,7 @@ import { ShellCmdResult } from './shellCmdResult' /** * A global test utility interface used for adding AbilityMonitor objects and control lifecycle states of abilities. * - * @since 9 + * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core * @import import AbilityDelegator from 'application/abilityDelegator.d' * @permission N/A @@ -116,7 +116,7 @@ export interface AbilityDelegator { * Prints log information to the unit testing console. * The total length of the log information to be printed cannot exceed 1000 characters. * - * @since 9 + * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core * @param msg Log information */ @@ -126,7 +126,7 @@ export interface AbilityDelegator { /** * Execute the given command in the aa tools side. * - * @since 9 + * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core * @param cmd Shell command * @param timeoutSecs Timeout, in seconds @@ -140,7 +140,7 @@ export interface AbilityDelegator { * Prints log information to the unit testing console. * The total length of the log information to be printed cannot exceed 1000 characters. * - * @since 9 + * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core * @hide * @param msg Log information diff --git a/api/application/abilityDelegatorArgs.d.ts b/api/application/abilityDelegatorArgs.d.ts index 321a68e0d256c10e48f33031dafaff2138b24167..f140bc13d89c9c29c89e85b85b480d4cd9522b95 100644 --- a/api/application/abilityDelegatorArgs.d.ts +++ b/api/application/abilityDelegatorArgs.d.ts @@ -17,7 +17,7 @@ /** * Store unit testing-related parameters, including test case names, and test runner name. * - * @since 9 + * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core * @import import AbilityDelegatorArgs from 'application/abilityDelegatorArgs.d' * @permission N/A @@ -26,7 +26,7 @@ export interface AbilityDelegatorArgs { /** * the bundle name of the application being tested. * - * @since 9 + * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core */ bundleName: string; @@ -34,7 +34,7 @@ export interface AbilityDelegatorArgs { /** * the parameters used for unit testing. * - * @since 9 + * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core */ parameters: {[key: string]: string}; @@ -42,7 +42,7 @@ export interface AbilityDelegatorArgs { /** * the class names of all test cases. * - * @since 9 + * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core */ testCaseNames: string; @@ -50,7 +50,7 @@ export interface AbilityDelegatorArgs { /** * the class name of the test runner used to execute test cases. * - * @since 9 + * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core */ testRunnerClassName: string; diff --git a/api/application/shellCmdResult.d.ts b/api/application/shellCmdResult.d.ts index b8cc3f894a8eb9629dbcd60d3d53d6a1d60ed076..78e64926aba74fcb5ac9ee25788916e4a13b6c02 100644 --- a/api/application/shellCmdResult.d.ts +++ b/api/application/shellCmdResult.d.ts @@ -16,7 +16,7 @@ /** * A object that records the result of shell command executes. * - * @since 9 + * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core * @import import ShellCmdResult from 'application/shellCmdResult.d' * @permission N/A @@ -25,7 +25,7 @@ export interface ShellCmdResult { /** * the cmd standard result. * - * @since 9 + * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core */ stdResult: String; @@ -33,7 +33,7 @@ export interface ShellCmdResult { /** * shell cmd exec result. * - * @since 9 + * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core */ exitCode: number;