Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
4da0448a
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
4da0448a
编写于
6月 28, 2022
作者:
O
openharmony_ci
提交者:
Gitee
6月 28, 2022
浏览文件
操作
浏览文件
下载
差异文件
!3857 【resourceschedule_standard】【master分支】下架系统api用例
Merge pull request !3857 from qigongming/master_0628
上级
8a031cc7
4672db87
变更
4
展开全部
隐藏空白更改
内联
并排
Showing
4 changed file
with
4 addition
and
549 deletion
+4
-549
resourceschedule/resourceschedule_standard/deviceusagestatisticsjsunit/src/main/js/default/test/DeviceUsageStatisticsJsunit.test.js
.../main/js/default/test/DeviceUsageStatisticsJsunit.test.js
+0
-510
resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/test/ReminderAgentJs.test2.js
...eragent/src/main/js/default/test/ReminderAgentJs.test2.js
+3
-2
resourceschedule/resourceschedule_standard/workscheduler/src/main/js/default/test/WorkScheduler.test.js
...kscheduler/src/main/js/default/test/WorkScheduler.test.js
+0
-36
resourceschedule/resourceschedule_standard/workscheduler/src/main/js/default/test/WorkSchedulerJs.performance.js
...r/src/main/js/default/test/WorkSchedulerJs.performance.js
+1
-1
未找到文件。
resourceschedule/resourceschedule_standard/deviceusagestatisticsjsunit/src/main/js/default/test/DeviceUsageStatisticsJsunit.test.js
浏览文件 @
4da0448a
此差异已折叠。
点击以展开。
resourceschedule/resourceschedule_standard/reminderagent/src/main/js/default/test/ReminderAgentJs.test2.js
浏览文件 @
4da0448a
...
...
@@ -16,6 +16,7 @@
// @ts-nocheck
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
deccjsunit/index
'
import
reminderAgent
from
'
@ohos.reminderAgent
'
import
notification
from
'
@ohos.notification
'
describe
(
'
ReminderAgentTest
'
,
function
()
{
...
...
@@ -2109,7 +2110,7 @@ describe('ReminderAgentTest', function () {
*/
it
(
"
testReminderAgentRequest_079
"
,
0
,
async
function
(
done
)
{
console
.
log
(
'
----------------------testReminderAgentRequest_079---------------------------
'
);
let
type
=
notification
.
SlotType
.
SERVICE
.
INFORMATION
;
let
type
=
notification
.
SlotType
.
SERVICE
_
INFORMATION
;
expect
(
type
).
assertEqual
(
2
);
done
();
})
...
...
@@ -2133,7 +2134,7 @@ describe('ReminderAgentTest', function () {
*/
it
(
"
testReminderAgentRequest_081
"
,
0
,
async
function
(
done
)
{
console
.
log
(
'
----------------------testReminderAgentRequest_081---------------------------
'
);
let
type
=
notification
Id
.
SlotType
.
OTHER_TYPES
;
let
type
=
notification
.
SlotType
.
OTHER_TYPES
;
expect
(
type
).
assertEqual
(
65535
);
done
();
})
...
...
resourceschedule/resourceschedule_standard/workscheduler/src/main/js/default/test/WorkScheduler.test.js
浏览文件 @
4da0448a
...
...
@@ -949,42 +949,6 @@ describe("WorkSchedulerJsTest", function () {
done
();
})
/*
* @tc.name: WorkSchedulerJsTest049
* @tc.desc: test WorkSchedulerExtensoinAbility onWorkStart
* @tc.type: FUNC
* @tc.require:
*/
/*it("WorkSchedulerJsTest049", 0, async function (done) {
console.info('----------------------WorkSchedulerJsTest049---------------------------');
let workInfo = {
workId: 2,
bundleName: "ohos.acts.resourceschedule.workscheduler.js.function",
abilityName: "com.mytest.abilityName",
}
let res = workScheduler.onWorkStart(workInfo);
expect(res).assertEqual(false);
done();
})*/
/*
* @tc.name: WorkSchedulerJsTest050
* @tc.desc: test WorkSchedulerExtensoinAbility onWorkStop
* @tc.type: FUNC
* @tc.require:
*/
/*it("WorkSchedulerJsTest050", 0, async function (done) {
console.info('----------------------WorkSchedulerJsTest050---------------------------');
let workInfo = {
workId: 2,
bundleName: "ohos.acts.resourceschedule.workscheduler.js.function",
abilityName: "com.mytest.abilityName",
}
let stopRes = workSchedulerCallback.onWorkStop(workInfo, true);
expect(stopRes).assertEqual(false);
done();
})*/
/*
* @tc.name: WorkSchedulerJsTest051
* @tc.desc: test workScheduler bundleName
...
...
resourceschedule/resourceschedule_standard/workscheduler/src/main/js/default/test/WorkSchedulerJs.performance.js
浏览文件 @
4da0448a
...
...
@@ -16,7 +16,7 @@ import workscheduler from '@ohos.workScheduler'
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
deccjsunit/index
'
describe
(
"
WorkScheduler
Js
Test
"
,
function
()
{
describe
(
"
WorkScheduler
Performance
Test
"
,
function
()
{
console
.
log
(
"
**********WorkScheduler Performance Test Begin**********
"
)
performanceStartWork
()
performanceStopWork
()
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录