提交 f6b37ee9 编写于 作者: C chengxingzhen

xts--编译报错适配

Signed-off-by: Nchengxingzhen <chengxingzhen@huawei.com>
上级 978b0d12
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
* limitations under the License. * limitations under the License.
*/ */
// @ts-nocheck
import router from '@ohos.router'; import router from '@ohos.router';
import file from '@system.file'; import file from '@system.file';
import testsuite from "../../test/List.test" import testsuite from "../../test/List.test"
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
...@@ -21,7 +20,7 @@ export default class MainAbility3 extends Ability { ...@@ -21,7 +20,7 @@ export default class MainAbility3 extends Ability {
console.log("MainAbility3 onCreate") console.log("MainAbility3 onCreate")
} }
onDestroy(want) { onDestroy() {
// Ability is destroying, release resources for this ability // Ability is destroying, release resources for this ability
console.log("MainAbility3 onDestroy") console.log("MainAbility3 onDestroy")
} }
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
...@@ -21,7 +20,7 @@ export default class MainAbility4 extends Ability { ...@@ -21,7 +20,7 @@ export default class MainAbility4 extends Ability {
console.log("MainAbility4 onCreate") console.log("MainAbility4 onCreate")
} }
onDestroy(want) { onDestroy() {
// Ability is destroying, release resources for this ability // Ability is destroying, release resources for this ability
console.log("MainAbility4 onDestroy") console.log("MainAbility4 onDestroy")
} }
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
// @ts-nocheck
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
const START_ABILITY_TIMEOUT = 4000; const START_ABILITY_TIMEOUT = 4000;
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
// @ts-nocheck
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
const START_ABILITY_TIMEOUT = 2000; const START_ABILITY_TIMEOUT = 2000;
...@@ -259,7 +258,6 @@ export default function singleusermodelTest() { ...@@ -259,7 +258,6 @@ export default function singleusermodelTest() {
let temp let temp
let cmd = 'aa dump -a' let cmd = 'aa dump -a'
await abilityDelegator.executeShellCommand(cmd).then((data) => { await abilityDelegator.executeShellCommand(cmd).then((data) => {
console.info('executeShellCommand 0800: err : ' + JSON.stringify(err));
console.info('executeShellCommand 0800: data : ' + JSON.stringify(data)); console.info('executeShellCommand 0800: data : ' + JSON.stringify(data));
temp = data["stdResult"]; temp = data["stdResult"];
expect(temp.indexOf("SingleUserModel1800") == -1).assertTrue() expect(temp.indexOf("SingleUserModel1800") == -1).assertTrue()
...@@ -269,7 +267,6 @@ export default function singleusermodelTest() { ...@@ -269,7 +267,6 @@ export default function singleusermodelTest() {
}) })
cmd = 'aa dump -a -u 0' cmd = 'aa dump -a -u 0'
await abilityDelegator.executeShellCommand(cmd).then((data) => { await abilityDelegator.executeShellCommand(cmd).then((data) => {
console.info('executeShellCommand 0: err : ' + JSON.stringify(err));
console.info('executeShellCommand : data 0: ' + JSON.stringify(data)); console.info('executeShellCommand : data 0: ' + JSON.stringify(data));
temp = data["stdResult"]; temp = data["stdResult"];
expect(temp.indexOf("SingleUserModel1800") == -1).assertTrue() expect(temp.indexOf("SingleUserModel1800") == -1).assertTrue()
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
// @ts-nocheck
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
// @ts-nocheck
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
const ABILITY_TIMEOUT=5000; const ABILITY_TIMEOUT=5000;
...@@ -137,7 +136,6 @@ export default function singleusermodelTest() { ...@@ -137,7 +136,6 @@ export default function singleusermodelTest() {
let temp let temp
let cmd ='aa dump -e' let cmd ='aa dump -e'
await abilityDelegator.executeShellCommand(cmd).then((data) => { await abilityDelegator.executeShellCommand(cmd).then((data) => {
console.info('executeShellCommand : err : ' + JSON.stringify(err));
console.info('executeShellCommand : data : ' + JSON.stringify(data)); console.info('executeShellCommand : data : ' + JSON.stringify(data));
temp = data["stdResult"]; temp = data["stdResult"];
expect(temp.indexOf("ServiceAbility2") == -1).assertTrue() expect(temp.indexOf("ServiceAbility2") == -1).assertTrue()
...@@ -147,7 +145,6 @@ export default function singleusermodelTest() { ...@@ -147,7 +145,6 @@ export default function singleusermodelTest() {
}) })
cmd ='aa dump -e -u 0' cmd ='aa dump -e -u 0'
await abilityDelegator.executeShellCommand(cmd).then((data) => { await abilityDelegator.executeShellCommand(cmd).then((data) => {
console.info('executeShellCommand 0: err : ' + JSON.stringify(err));
console.info('executeShellCommand : data 0: ' + JSON.stringify(data)); console.info('executeShellCommand : data 0: ' + JSON.stringify(data));
temp = data["stdResult"]; temp = data["stdResult"];
expect(temp.indexOf("ServiceAbility2") == -1).assertTrue() expect(temp.indexOf("ServiceAbility2") == -1).assertTrue()
...@@ -215,7 +212,6 @@ export default function singleusermodelTest() { ...@@ -215,7 +212,6 @@ export default function singleusermodelTest() {
let temp let temp
let cmd ='aa dump -e' let cmd ='aa dump -e'
await abilityDelegator.executeShellCommand(cmd).then((data) => { await abilityDelegator.executeShellCommand(cmd).then((data) => {
console.info('executeShellCommand : err : ' + JSON.stringify(err));
console.info('executeShellCommand : data : ' + JSON.stringify(data)); console.info('executeShellCommand : data : ' + JSON.stringify(data));
temp = data["stdResult"]; temp = data["stdResult"];
expect(temp.indexOf("ServiceAbility3") == -1).assertTrue() expect(temp.indexOf("ServiceAbility3") == -1).assertTrue()
...@@ -225,7 +221,6 @@ export default function singleusermodelTest() { ...@@ -225,7 +221,6 @@ export default function singleusermodelTest() {
}) })
cmd ='aa dump -e -u 0' cmd ='aa dump -e -u 0'
await abilityDelegator.executeShellCommand(cmd).then((data) => { await abilityDelegator.executeShellCommand(cmd).then((data) => {
console.info('executeShellCommand 0: err : ' + JSON.stringify(err));
console.info('executeShellCommand : data 0: ' + JSON.stringify(data)); console.info('executeShellCommand : data 0: ' + JSON.stringify(data));
temp = data["stdResult"]; temp = data["stdResult"];
expect(temp.indexOf("ServiceAbility3") == -1).assertTrue() expect(temp.indexOf("ServiceAbility3") == -1).assertTrue()
...@@ -284,7 +279,6 @@ export default function singleusermodelTest() { ...@@ -284,7 +279,6 @@ export default function singleusermodelTest() {
let temp let temp
let cmd ='aa dump -e' let cmd ='aa dump -e'
await abilityDelegator.executeShellCommand(cmd).then((data) => { await abilityDelegator.executeShellCommand(cmd).then((data) => {
console.info('executeShellCommand : err : ' + JSON.stringify(err));
console.info('executeShellCommand : data : ' + JSON.stringify(data)); console.info('executeShellCommand : data : ' + JSON.stringify(data));
temp = data["stdResult"]; temp = data["stdResult"];
expect(temp.indexOf("ServiceAbility4") == -1).assertTrue() expect(temp.indexOf("ServiceAbility4") == -1).assertTrue()
...@@ -294,7 +288,6 @@ export default function singleusermodelTest() { ...@@ -294,7 +288,6 @@ export default function singleusermodelTest() {
}) })
cmd ='aa dump -e -u 0' cmd ='aa dump -e -u 0'
await abilityDelegator.executeShellCommand(cmd).then((data) => { await abilityDelegator.executeShellCommand(cmd).then((data) => {
console.info('executeShellCommand 0: err : ' + JSON.stringify(err));
console.info('executeShellCommand : data 0: ' + JSON.stringify(data)); console.info('executeShellCommand : data 0: ' + JSON.stringify(data));
temp = data["stdResult"]; temp = data["stdResult"];
expect(temp.indexOf("ServiceAbility4") == -1).assertTrue() expect(temp.indexOf("ServiceAbility4") == -1).assertTrue()
...@@ -361,7 +354,6 @@ export default function singleusermodelTest() { ...@@ -361,7 +354,6 @@ export default function singleusermodelTest() {
let temp let temp
let cmd ='aa dump -e' let cmd ='aa dump -e'
await abilityDelegator.executeShellCommand(cmd).then((data) => { await abilityDelegator.executeShellCommand(cmd).then((data) => {
console.info('executeShellCommand : err : ' + JSON.stringify(err));
console.info('executeShellCommand : data : ' + JSON.stringify(data)); console.info('executeShellCommand : data : ' + JSON.stringify(data));
temp = data["stdResult"]; temp = data["stdResult"];
expect(temp.indexOf("ServiceAbility5") == -1).assertTrue() expect(temp.indexOf("ServiceAbility5") == -1).assertTrue()
...@@ -371,7 +363,6 @@ export default function singleusermodelTest() { ...@@ -371,7 +363,6 @@ export default function singleusermodelTest() {
}) })
cmd ='aa dump -e -u 0' cmd ='aa dump -e -u 0'
await abilityDelegator.executeShellCommand(cmd).then((data) => { await abilityDelegator.executeShellCommand(cmd).then((data) => {
console.info('executeShellCommand 0: err : ' + JSON.stringify(err));
console.info('executeShellCommand : data 0: ' + JSON.stringify(data)); console.info('executeShellCommand : data 0: ' + JSON.stringify(data));
temp = data["stdResult"]; temp = data["stdResult"];
expect(temp.indexOf("ServiceAbility5") == -1).assertTrue() expect(temp.indexOf("ServiceAbility5") == -1).assertTrue()
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
// @ts-nocheck
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
const START_ABILITY_TIMEOUT = 3000; const START_ABILITY_TIMEOUT = 3000;
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
// @ts-nocheck
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
const START_ABILITY_TIMEOUT = 3000; const START_ABILITY_TIMEOUT = 3000;
...@@ -41,7 +40,6 @@ export default function singleusermodelTest() { ...@@ -41,7 +40,6 @@ export default function singleusermodelTest() {
let temp let temp
let cmd = 'aa dump -a' let cmd = 'aa dump -a'
await abilityDelegator.executeShellCommand(cmd).then((data) => { await abilityDelegator.executeShellCommand(cmd).then((data) => {
console.info('executeShellCommand : err : ' + JSON.stringify(err));
console.info('executeShellCommand : data : ' + JSON.stringify(data)); console.info('executeShellCommand : data : ' + JSON.stringify(data));
temp = data["stdResult"]; temp = data["stdResult"];
expect(temp.indexOf("SingleUserModel1900") >= 0).assertTrue() expect(temp.indexOf("SingleUserModel1900") >= 0).assertTrue()
...@@ -51,7 +49,6 @@ export default function singleusermodelTest() { ...@@ -51,7 +49,6 @@ export default function singleusermodelTest() {
}) })
cmd = 'aa dump -a -u 0' cmd = 'aa dump -a -u 0'
await abilityDelegator.executeShellCommand(cmd).then((data) => { await abilityDelegator.executeShellCommand(cmd).then((data) => {
console.info('executeShellCommand 0: err : ' + JSON.stringify(err));
console.info('executeShellCommand 0: data : ' + JSON.stringify(data)); console.info('executeShellCommand 0: data : ' + JSON.stringify(data));
temp = data["stdResult"]; temp = data["stdResult"];
expect(temp.indexOf("SingleUserModel1900") == -1).assertTrue() expect(temp.indexOf("SingleUserModel1900") == -1).assertTrue()
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
// @ts-nocheck
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
// @ts-nocheck
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
// @ts-nocheck
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
const START_ABILITY_TIMEOUT = 3000; const START_ABILITY_TIMEOUT = 3000;
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
// @ts-nocheck
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "@ohos/hypium" import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "@ohos/hypium"
import commonEvent from '@ohos.commonEvent'; import commonEvent from '@ohos.commonEvent';
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
// @ts-nocheck
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "@ohos/hypium" import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "@ohos/hypium"
import commonEvent from '@ohos.commonEvent'; import commonEvent from '@ohos.commonEvent';
......
// @ts-nocheck
/* /*
* Copyright (c) 2021 Huawei Device Co., Ltd. * Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
...@@ -29,6 +28,7 @@ struct Index { ...@@ -29,6 +28,7 @@ struct Index {
@State ability: string = "FormAbility"; @State ability: string = "FormAbility";
@State moduleName: string = "phone"; @State moduleName: string = "phone";
@State name: string = "form1"; @State name: string = "form1";
@State allowUpate: boolean = true;
private dimension: FormDimension = FormDimension.Dimension_2_2; private dimension: FormDimension = FormDimension.Dimension_2_2;
private temporary = false; private temporary = false;
...@@ -49,7 +49,7 @@ struct Index { ...@@ -49,7 +49,7 @@ struct Index {
dimension: this.dimension, dimension: this.dimension,
temporary: this.temporary, temporary: this.temporary,
}) })
.allowUpdate(this.allowUpate) .allowUpdate(this.allowUpate )
.visibility(this.isShowing ? Visibility.Visible : Visibility.Hidden) .visibility(this.isShowing ? Visibility.Visible : Visibility.Hidden)
.onAcquired((form) => { .onAcquired((form) => {
console.log("[FormComponent.host] get form, form id:" + form.id); console.log("[FormComponent.host] get form, form id:" + form.id);
......
// @ts-nocheck
/* /*
* Copyright (c) 2021 Huawei Device Co., Ltd. * Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
...@@ -26,6 +25,7 @@ struct Index { ...@@ -26,6 +25,7 @@ struct Index {
@State ability: string = "FormAbility"; @State ability: string = "FormAbility";
@State moduleName: string = "phone"; @State moduleName: string = "phone";
@State name: string = "widget"; @State name: string = "widget";
@State allowUpate: boolean = true;
private dimension: FormDimension = FormDimension.Dimension_2_1; private dimension: FormDimension = FormDimension.Dimension_2_1;
private temporary = false; private temporary = false;
......
// @ts-nocheck
/* /*
* Copyright (c) 2021 Huawei Device Co., Ltd. * Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2021 Huawei Device Co., Ltd. * Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
...@@ -18,7 +18,6 @@ import formHost from '@ohos.application.formHost'; ...@@ -18,7 +18,6 @@ import formHost from '@ohos.application.formHost';
import commonEvent from '@ohos.commonEvent'; import commonEvent from '@ohos.commonEvent';
import systemTime from '@ohos.systemTime'; import systemTime from '@ohos.systemTime';
// @ts-nocheck
@Entry @Entry
@Component @Component
struct Index { struct Index {
......
...@@ -17,7 +17,6 @@ import commonEvent from '@ohos.commonEvent'; ...@@ -17,7 +17,6 @@ import commonEvent from '@ohos.commonEvent';
import featureAbility from '@ohos.ability.featureAbility'; import featureAbility from '@ohos.ability.featureAbility';
import formHost from '@ohos.application.formHost'; import formHost from '@ohos.application.formHost';
// @ts-nocheck
@Entry @Entry
@Component @Component
struct Index { struct Index {
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
* limitations under the License. * limitations under the License.
*/ */
// @ts-nocheck
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import { Hypium } from '@ohos/hypium' import { Hypium } from '@ohos/hypium'
import testsuite from '../test/ListTest' import testsuite from '../test/ListTest'
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2021 Huawei Device Co., Ltd. * Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
...@@ -24,7 +23,7 @@ export default class Utils { ...@@ -24,7 +23,7 @@ export default class Utils {
static sleep(time) { static sleep(time) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
setTimeout(() => { setTimeout(() => {
resolve() resolve(reject)
}, time) }, time)
}).then(() => { }).then(() => {
console.info(`sleep ${time} over...`) console.info(`sleep ${time} over...`)
...@@ -76,6 +75,8 @@ export default class Utils { ...@@ -76,6 +75,8 @@ export default class Utils {
x: downX, x: downX,
y: downY, y: downY,
type: TouchType.Down, type: TouchType.Down,
screenX: 0,
screenY: 1,
} }
console.info('down touch started: ' + JSON.stringify(downPonit)) console.info('down touch started: ' + JSON.stringify(downPonit))
sendTouchEvent(downPonit); sendTouchEvent(downPonit);
...@@ -88,7 +89,9 @@ export default class Utils { ...@@ -88,7 +89,9 @@ export default class Utils {
id: 1, id: 1,
x: downX + (xStep * i), x: downX + (xStep * i),
y: downY + (yStep * i), y: downY + (yStep * i),
type: TouchType.Move type: TouchType.Move,
screenX: 0,
screenY: 1,
} }
console.info('move touch started: ' + JSON.stringify(movePoint)) console.info('move touch started: ' + JSON.stringify(movePoint))
ret = sendTouchEvent(movePoint) ret = sendTouchEvent(movePoint)
...@@ -106,6 +109,8 @@ export default class Utils { ...@@ -106,6 +109,8 @@ export default class Utils {
x: upX, x: upX,
y: upY, y: upY,
type: TouchType.Up, type: TouchType.Up,
screenX: 0,
screenY: 1,
} }
console.info('up touch started: ' + JSON.stringify(upPoint)) console.info('up touch started: ' + JSON.stringify(upPoint))
sendTouchEvent(upPoint) sendTouchEvent(upPoint)
...@@ -124,7 +129,3 @@ export default class Utils { ...@@ -124,7 +129,3 @@ export default class Utils {
return duration; return duration;
} }
} }
\ No newline at end of file
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
...@@ -24,7 +23,7 @@ export default class Utils { ...@@ -24,7 +23,7 @@ export default class Utils {
static sleep(time) { static sleep(time) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
setTimeout(() => { setTimeout(() => {
resolve() resolve(reject)
}, time) }, time)
}).then(() => { }).then(() => {
console.info(`sleep ${time} over...`) console.info(`sleep ${time} over...`)
...@@ -76,6 +75,8 @@ export default class Utils { ...@@ -76,6 +75,8 @@ export default class Utils {
x: downX, x: downX,
y: downY, y: downY,
type: TouchType.Down, type: TouchType.Down,
screenX: 0,
screenY: 1,
} }
console.info('down touch started: ' + JSON.stringify(downPonit)) console.info('down touch started: ' + JSON.stringify(downPonit))
sendTouchEvent(downPonit); sendTouchEvent(downPonit);
...@@ -88,7 +89,9 @@ export default class Utils { ...@@ -88,7 +89,9 @@ export default class Utils {
id: 1, id: 1,
x: downX + (xStep * i), x: downX + (xStep * i),
y: downY + (yStep * i), y: downY + (yStep * i),
type: TouchType.Move type: TouchType.Move,
screenX: 0,
screenY: 1,
} }
console.info('move touch started: ' + JSON.stringify(movePoint)) console.info('move touch started: ' + JSON.stringify(movePoint))
ret = sendTouchEvent(movePoint) ret = sendTouchEvent(movePoint)
...@@ -106,6 +109,8 @@ export default class Utils { ...@@ -106,6 +109,8 @@ export default class Utils {
x: upX, x: upX,
y: upY, y: upY,
type: TouchType.Up, type: TouchType.Up,
screenX: 0,
screenY: 1,
} }
console.info('up touch started: ' + JSON.stringify(upPoint)) console.info('up touch started: ' + JSON.stringify(upPoint))
sendTouchEvent(upPoint) sendTouchEvent(upPoint)
...@@ -124,7 +129,3 @@ export default class Utils { ...@@ -124,7 +129,3 @@ export default class Utils {
return duration; return duration;
} }
} }
\ No newline at end of file
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
...@@ -753,15 +750,15 @@ export default function StartAbilityForResult() { ...@@ -753,15 +750,15 @@ export default function StartAbilityForResult() {
console.log("------------start FreeInstall_FA_StartAbilityForResult_1800-------------"); console.log("------------start FreeInstall_FA_StartAbilityForResult_1800-------------");
TAG = "FreeInstall_FA_StartAbilityForResult_1800"; TAG = "FreeInstall_FA_StartAbilityForResult_1800";
let wrong; let wrong;
var str = { let startAbilityParameter = {
'want': { want: {
"bundleName": "com.example.qianyiyingyong.hmservice", bundleName: "com.example.qianyiyingyong.hmservice",
"abilityName": "com.example.qianyiyingyong.MainAbility", abilityName: "com.example.qianyiyingyong.MainAbility",
"moduleName": "entry", moduleName: "entry",
'flags': '11' flags: 11
} }
} }
await featureAbility.startAbilityForResult(str) await featureAbility.startAbilityForResult(startAbilityParameter)
.then((data) => { .then((data) => {
console.info(TAG + ' StartAbilityForResultPromise successful. Data: ' + JSON.stringify(data)) console.info(TAG + ' StartAbilityForResultPromise successful. Data: ' + JSON.stringify(data))
}).catch((error) => { }).catch((error) => {
...@@ -793,15 +790,15 @@ export default function StartAbilityForResult() { ...@@ -793,15 +790,15 @@ export default function StartAbilityForResult() {
}) })
await Utils.sleep(500); await Utils.sleep(500);
let details; let details;
var str = { let startAbilityParameter = {
'want': { want: {
"bundleName": "com.example.qianyiyingyong.hmservice", "bundleName": "com.example.qianyiyingyong.hmservice",
"abilityName": "com.example.qianyiyingyong.MainAbility", "abilityName": "com.example.qianyiyingyong.MainAbility",
"moduleName": "entry", "moduleName": "entry",
'flags': '11' 'flags': 11
} }
} }
await featureAbility.startAbilityForResult(str) await featureAbility.startAbilityForResult(startAbilityParameter)
.then((data) => { .then((data) => {
details = data; details = data;
console.info(TAG + ' StartAbilityForResultPromise successful. Data: ' + JSON.stringify(data)) console.info(TAG + ' StartAbilityForResultPromise successful. Data: ' + JSON.stringify(data))
...@@ -824,15 +821,15 @@ export default function StartAbilityForResult() { ...@@ -824,15 +821,15 @@ export default function StartAbilityForResult() {
console.log("------------start FreeInstall_FA_StartAbilityForResult_2000-------------"); console.log("------------start FreeInstall_FA_StartAbilityForResult_2000-------------");
TAG = "FreeInstall_FA_StartAbilityForResult_2000"; TAG = "FreeInstall_FA_StartAbilityForResult_2000";
let wrong; let wrong;
var str = { let startAbilityParameter = {
'want': { want: {
"bundleName": "com.example.qianyiyingyong.hmservice", "bundleName": "com.example.qianyiyingyong.hmservice",
"abilityName": "com.example.qianyiyingyong.MainAbility", "abilityName": "com.example.qianyiyingyong.MainAbility",
"moduleName": "entry", "moduleName": "entry",
'flags': '' 'flags': 0
} }
} }
await featureAbility.startAbilityForResult(str) await featureAbility.startAbilityForResult(startAbilityParameter)
.then((data) => { .then((data) => {
console.info(TAG + ' StartAbilityForResultPromise successful. Data: ' + JSON.stringify(data)) console.info(TAG + ' StartAbilityForResultPromise successful. Data: ' + JSON.stringify(data))
}).catch((error) => { }).catch((error) => {
...@@ -859,15 +856,15 @@ export default function StartAbilityForResult() { ...@@ -859,15 +856,15 @@ export default function StartAbilityForResult() {
}) })
await Utils.sleep(1000); await Utils.sleep(1000);
let details; let details;
var str = { let startAbilityParameter = {
'want': { want: {
"bundleName": "com.example.qianyiyingyong.hmservice", "bundleName": "com.example.qianyiyingyong.hmservice",
"abilityName": "com.example.qianyiyingyong.MainAbility", "abilityName": "com.example.qianyiyingyong.MainAbility",
"moduleName": "entry", "moduleName": "entry",
'flags': '' 'flags': 2
} }
} }
await featureAbility.startAbilityForResult(str) await featureAbility.startAbilityForResult(startAbilityParameter)
.then((data) => { .then((data) => {
details = data; details = data;
console.info(TAG + ' StartAbilityForResultPromise successful. Data: ' + JSON.stringify(data)) console.info(TAG + ' StartAbilityForResultPromise successful. Data: ' + JSON.stringify(data))
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2021 Huawei Device Co., Ltd. * Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
...@@ -24,7 +23,7 @@ export default class Utils { ...@@ -24,7 +23,7 @@ export default class Utils {
static sleep(time) { static sleep(time) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
setTimeout(() => { setTimeout(() => {
resolve() resolve(reject)
}, time) }, time)
}).then(() => { }).then(() => {
console.info(`sleep ${time} over...`) console.info(`sleep ${time} over...`)
...@@ -76,6 +75,8 @@ export default class Utils { ...@@ -76,6 +75,8 @@ export default class Utils {
x: downX, x: downX,
y: downY, y: downY,
type: TouchType.Down, type: TouchType.Down,
screenX: 0,
screenY: 1,
} }
console.info('down touch started: ' + JSON.stringify(downPonit)) console.info('down touch started: ' + JSON.stringify(downPonit))
sendTouchEvent(downPonit); sendTouchEvent(downPonit);
...@@ -88,7 +89,9 @@ export default class Utils { ...@@ -88,7 +89,9 @@ export default class Utils {
id: 1, id: 1,
x: downX + (xStep * i), x: downX + (xStep * i),
y: downY + (yStep * i), y: downY + (yStep * i),
type: TouchType.Move type: TouchType.Move,
screenX: 0,
screenY: 1,
} }
console.info('move touch started: ' + JSON.stringify(movePoint)) console.info('move touch started: ' + JSON.stringify(movePoint))
ret = sendTouchEvent(movePoint) ret = sendTouchEvent(movePoint)
...@@ -106,6 +109,8 @@ export default class Utils { ...@@ -106,6 +109,8 @@ export default class Utils {
x: upX, x: upX,
y: upY, y: upY,
type: TouchType.Up, type: TouchType.Up,
screenX: 0,
screenY: 1,
} }
console.info('up touch started: ' + JSON.stringify(upPoint)) console.info('up touch started: ' + JSON.stringify(upPoint))
sendTouchEvent(upPoint) sendTouchEvent(upPoint)
...@@ -124,7 +129,3 @@ export default class Utils { ...@@ -124,7 +129,3 @@ export default class Utils {
return duration; return duration;
} }
} }
\ No newline at end of file
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
...@@ -24,7 +23,7 @@ export default class Utils { ...@@ -24,7 +23,7 @@ export default class Utils {
static sleep(time) { static sleep(time) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
setTimeout(() => { setTimeout(() => {
resolve() resolve(reject)
}, time) }, time)
}).then(() => { }).then(() => {
console.info(`sleep ${time} over...`) console.info(`sleep ${time} over...`)
...@@ -76,6 +75,8 @@ export default class Utils { ...@@ -76,6 +75,8 @@ export default class Utils {
x: downX, x: downX,
y: downY, y: downY,
type: TouchType.Down, type: TouchType.Down,
screenX: 0,
screenY: 1,
} }
console.info('down touch started: ' + JSON.stringify(downPonit)) console.info('down touch started: ' + JSON.stringify(downPonit))
sendTouchEvent(downPonit); sendTouchEvent(downPonit);
...@@ -88,7 +89,9 @@ export default class Utils { ...@@ -88,7 +89,9 @@ export default class Utils {
id: 1, id: 1,
x: downX + (xStep * i), x: downX + (xStep * i),
y: downY + (yStep * i), y: downY + (yStep * i),
type: TouchType.Move type: TouchType.Move,
screenX: 0,
screenY: 1,
} }
console.info('move touch started: ' + JSON.stringify(movePoint)) console.info('move touch started: ' + JSON.stringify(movePoint))
ret = sendTouchEvent(movePoint) ret = sendTouchEvent(movePoint)
...@@ -106,6 +109,8 @@ export default class Utils { ...@@ -106,6 +109,8 @@ export default class Utils {
x: upX, x: upX,
y: upY, y: upY,
type: TouchType.Up, type: TouchType.Up,
screenX: 0,
screenY: 1,
} }
console.info('up touch started: ' + JSON.stringify(upPoint)) console.info('up touch started: ' + JSON.stringify(upPoint))
sendTouchEvent(upPoint) sendTouchEvent(upPoint)
...@@ -124,7 +129,3 @@ export default class Utils { ...@@ -124,7 +129,3 @@ export default class Utils {
return duration; return duration;
} }
} }
\ No newline at end of file
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/** /**
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
// @ts-nocheck
import osaccount from '@ohos.account.osAccount' import osaccount from '@ohos.account.osAccount'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "@ohos/hypium" import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "@ohos/hypium"
import commonEvent from '@ohos.commonEvent' import commonEvent from '@ohos.commonEvent'
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
...@@ -62,7 +61,7 @@ export default function lifecycleTest() { ...@@ -62,7 +61,7 @@ export default function lifecycleTest() {
}); });
var TAG = ""; var TAG = "";
var listKeyTemp = "" var listKeyTemp;
var tempCallbackId; var tempCallbackId;
function sleep(time) { function sleep(time) {
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
// @ts-nocheck
/* /*
* Copyright (c) 2022 Huawei Device Co., Ltd. * Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
...@@ -62,7 +61,7 @@ export default function lifecycleTest() { ...@@ -62,7 +61,7 @@ export default function lifecycleTest() {
}); });
var TAG = ""; var TAG = "";
var listKeyTemp = "" var listKeyTemp;
var tempCallbackId; var tempCallbackId;
function sleep(time) { function sleep(time) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册