提交 249f927d 编写于 作者: Z zhaoyuan17

Fix codex

Signed-off-by: Nzhaoyuan17 <zhaoyuan17@huawei.com>
上级 2bd57b77
...@@ -1005,6 +1005,7 @@ describe('ActsAnsActiveTest', function () { ...@@ -1005,6 +1005,7 @@ describe('ActsAnsActiveTest', function () {
console.debug("===========Ans_GetAllActive_0900 getAllCallbackNine err.code============>"+err.code); console.debug("===========Ans_GetAllActive_0900 getAllCallbackNine err.code============>"+err.code);
expect(err.code).assertEqual(ERR_ANS_NON_SYSTEM_APP); expect(err.code).assertEqual(ERR_ANS_NON_SYSTEM_APP);
} }
/* /*
* @tc.number: Ans_GetAllActive_0900 * @tc.number: Ans_GetAllActive_0900
* @tc.name: getAllActiveNotifications(callback: AsyncCallback<Array<NotificationRequest>>): void; * @tc.name: getAllActiveNotifications(callback: AsyncCallback<Array<NotificationRequest>>): void;
......
/* /*
* 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");
...@@ -32,23 +33,13 @@ export default { ...@@ -32,23 +33,13 @@ export default {
'id': 'extend' 'id': 'extend'
}) })
const reportExtend = new ReportExtend(file) const reportExtend = new ReportExtend(file)
// const instrumentLog = new InstrumentLog({
// 'id': 'report'
// })
core.addService('expect', expectExtend) core.addService('expect', expectExtend)
core.addService('report', reportExtend) core.addService('report', reportExtend)
// core.addService('report', instrumentLog)
core.init() core.init()
// core.subscribeEvent('spec', instrumentLog)
// core.subscribeEvent('suite', instrumentLog)
// core.subscribeEvent('task', instrumentLog)
const configService = core.getDefaultService('config') const configService = core.getDefaultService('config')
configService.setConfig(this) configService.setConfig(this)
require('../../../test/List.test') require('../../../test/List.test')
core.execute() core.execute()
}, }
onReady() {
},
} }
/* /*
* 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");
...@@ -32,23 +33,13 @@ export default { ...@@ -32,23 +33,13 @@ export default {
'id': 'extend' 'id': 'extend'
}) })
const reportExtend = new ReportExtend(file) const reportExtend = new ReportExtend(file)
// const instrumentLog = new InstrumentLog({
// 'id': 'report'
// })
core.addService('expect', expectExtend) core.addService('expect', expectExtend)
core.addService('report', reportExtend) core.addService('report', reportExtend)
// core.addService('report', instrumentLog)
core.init() core.init()
// core.subscribeEvent('spec', instrumentLog)
// core.subscribeEvent('suite', instrumentLog)
// core.subscribeEvent('task', instrumentLog)
const configService = core.getDefaultService('config') const configService = core.getDefaultService('config')
configService.setConfig(this) configService.setConfig(this)
require('../../../test/List.test') require('../../../test/List.test')
core.execute() core.execute()
}, }
onReady() {
},
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册