Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
4f7b6898
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看板
未验证
提交
4f7b6898
编写于
8月 12, 2022
作者:
O
openharmony_ci
提交者:
Gitee
8月 12, 2022
浏览文件
操作
浏览文件
下载
差异文件
!4938 【resourceschedule】【master分支】【RK3568】新增XTS用例,API接口属性覆盖
Merge pull request !4938 from qigongming/master_0811
上级
6a78e79b
8c8f40e3
变更
7
展开全部
显示空白变更内容
内联
并排
Showing
7 changed file
with
593 addition
and
553 deletion
+593
-553
resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/test/BackgroundTaskMagrJs.test.js
...taskmanager/src/main/js/test/BackgroundTaskMagrJs.test.js
+6
-12
resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/test/ContinuousTaskJsunit.test.js
...taskmanager/src/main/js/test/ContinuousTaskJsunit.test.js
+23
-39
resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/test/ShortTaskMgrJs.test.js
...groundtaskmanager/src/main/js/test/ShortTaskMgrJs.test.js
+10
-10
resourceschedule/resourceschedule_standard/deviceusagestatisticsjsunit/src/main/js/test/DeviceUsageStatisticsJsunit.test.js
...unit/src/main/js/test/DeviceUsageStatisticsJsunit.test.js
+230
-104
resourceschedule/resourceschedule_standard/reminderagent/src/main/js/test/ReminderAgentJs.test.js
...rd/reminderagent/src/main/js/test/ReminderAgentJs.test.js
+116
-116
resourceschedule/resourceschedule_standard/workscheduler/src/main/js/test/WorkScheduler.test.js
...dard/workscheduler/src/main/js/test/WorkScheduler.test.js
+129
-192
resourceschedule/resourceschedule_standard/workscheduler/src/main/js/test/WorkSchedulerMgrJs.test.js
...workscheduler/src/main/js/test/WorkSchedulerMgrJs.test.js
+79
-80
未找到文件。
resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/test/BackgroundTaskMagrJs.test.js
浏览文件 @
4f7b6898
...
...
@@ -51,10 +51,9 @@ describe("TransientTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_SHORT_TASK_XTS_001
* @tc.name: TransientTaskJsTest001
* @tc.desc: test request a suspend delay
* @tc.type: FUNC
* @tc.require:
*/
it
(
"
TransientTaskJsTest001
"
,
0
,
async
function
(
done
)
{
console
.
info
(
'
----------------------TransientTaskJsTest001---------------------------
'
);
...
...
@@ -71,10 +70,9 @@ describe("TransientTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_SHORT_TASK_XTS_002
* @tc.name: TransientTaskJsTest002
* @tc.desc: test transient task more than three
* @tc.type: FUNC
* @tc.require:
*/
it
(
"
TransientTaskJsTest002
"
,
0
,
async
function
(
done
)
{
console
.
info
(
'
----------------------TransientTaskJsTest002---------------------------
'
);
...
...
@@ -96,10 +94,9 @@ describe("TransientTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_SHORT_TASK_XTS_003
* @tc.name: TransientTaskJsTest003
* @tc.desc: test getRemainingDelayTime Promise
* @tc.type: FUNC
* @tc.require:
*/
it
(
"
TransientTaskJsTest003
"
,
0
,
async
function
(
done
)
{
function
callback
()
{}
...
...
@@ -128,10 +125,9 @@ describe("TransientTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_SHORT_TASK_XTS_004
* @tc.name: TransientTaskJsTest004
* @tc.desc: test getRemainingDelayTime Callback
* @tc.type: FUNC
* @tc.require:
*/
it
(
"
TransientTaskJsTest004
"
,
0
,
async
function
(
done
)
{
function
callback
()
{}
...
...
@@ -162,10 +158,9 @@ describe("TransientTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_SHORT_TASK_XTS_005
* @tc.name: TransientTaskJsTest005
* @tc.desc: test request a suspend delay
* @tc.type: FUNC
* @tc.require:
*/
it
(
"
TransientTaskJsTest005
"
,
0
,
async
function
(
done
)
{
console
.
info
(
'
----------------------TransientTaskJsTest005---------------------------
'
);
...
...
@@ -183,10 +178,9 @@ describe("TransientTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_SHORT_TASK_XTS_006
* @tc.name: TransientTaskJsTest006
* @tc.desc: test DelaySuspendInfo actualDelayTime
* @tc.type: FUNC
* @tc.require:
*/
it
(
"
TransientTaskJsTest006
"
,
0
,
async
function
(
done
)
{
console
.
info
(
'
----------------------TransientTaskJsTest006---------------------------
'
);
...
...
resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/test/ContinuousTaskJsunit.test.js
浏览文件 @
4f7b6898
...
...
@@ -101,10 +101,9 @@ describe("ContinuousTaskJsTest", function () {
}
/*
* @tc.number:SUB_RESOURCESCHEDULE_LONG_TASK_XTS_001
* @tc.name:ContinuousTaskJsTest001
* @tc.desc:verify old startBackgroundrunning interface callback mode work properly
* @tc.type: FUNC
* @tc.require:
*/
it
(
"
ContinuousTaskJsTest001
"
,
0
,
async
function
(
done
)
{
console
.
info
(
TAG
+
'
-----------------ContinuousTaskJsTest001 begin--------------------
'
);
...
...
@@ -112,10 +111,9 @@ describe("ContinuousTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_LONG_TASK_XTS_002
* @tc.name:ContinuousTaskJsTest002
* @tc.desc:verify cancelBackgroundrunning interface callback mode work properly
* @tc.type: FUNC
* @tc.require:
*/
it
(
"
ContinuousTaskJsTest002
"
,
0
,
async
function
(
done
)
{
console
.
info
(
TAG
+
'
-----------------ContinuousTaskJsTest002 begin--------------------
'
);
...
...
@@ -123,10 +121,9 @@ describe("ContinuousTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_LONG_TASK_XTS_003
* @tc.name:ContinuousTaskJsTest003
* @tc.desc:verify new startBackgroundrunning interface callback mode work properly
* @tc.type: FUNC
* @tc.require:
*/
it
(
"
ContinuousTaskJsTest003
"
,
0
,
async
function
(
done
)
{
console
.
info
(
TAG
+
'
-----------------ContinuousTaskJsTest003 begin--------------------
'
);
...
...
@@ -134,10 +131,9 @@ describe("ContinuousTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_LONG_TASK_XTS_004
* @tc.name:ContinuousTaskJsTest004
* @tc.desc:verify new stopBackgroundrunning interface callback mode work properly
* @tc.type: FUNC
* @tc.require:
*/
it
(
"
ContinuousTaskJsTest004
"
,
0
,
async
function
(
done
)
{
console
.
info
(
TAG
+
'
-----------------ContinuousTaskJsTest004 begin--------------------
'
);
...
...
@@ -145,10 +141,9 @@ describe("ContinuousTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_LONG_TASK_XTS_005
* @tc.name:ContinuousTaskJsTest005
* @tc.desc:verify old startBackgroundrunning interface promise mode work properly
* @tc.type: FUNC
* @tc.require:
*/
it
(
"
ContinuousTaskJsTest005
"
,
0
,
async
function
(
done
)
{
console
.
info
(
TAG
+
'
-----------------ContinuousTaskJsTest005 begin--------------------
'
);
...
...
@@ -156,10 +151,9 @@ describe("ContinuousTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_LONG_TASK_XTS_006
* @tc.name:ContinuousTaskJsTest006
* @tc.desc:verify cancelBackgroundrunning interface promise mode work properly
* @tc.type: FUNC
* @tc.require:
*/
it
(
"
ContinuousTaskJsTest006
"
,
0
,
async
function
(
done
)
{
console
.
info
(
TAG
+
'
-----------------ContinuousTaskJsTest006 begin--------------------
'
);
...
...
@@ -167,10 +161,9 @@ describe("ContinuousTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_LONG_TASK_XTS_007
* @tc.name:ContinuousTaskJsTest007
* @tc.desc:verify new startBackgroundrunning interface promise mode work properly
* @tc.type: FUNC
* @tc.require:
*/
it
(
"
ContinuousTaskJsTest007
"
,
0
,
async
function
(
done
)
{
console
.
info
(
TAG
+
'
-----------------ContinuousTaskJsTest007 begin--------------------
'
);
...
...
@@ -178,10 +171,9 @@ describe("ContinuousTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_LONG_TASK_XTS_008
* @tc.name:ContinuousTaskJsTest008
* @tc.desc:verify new stopBackgroundrunning interface promise mode work properly
* @tc.type: FUNC
* @tc.require:
*/
it
(
"
ContinuousTaskJsTest008
"
,
0
,
async
function
(
done
)
{
console
.
info
(
TAG
+
'
-----------------ContinuousTaskJsTest008 begin--------------------
'
);
...
...
@@ -189,10 +181,9 @@ describe("ContinuousTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_LONG_TASK_XTS_009
* @tc.name:ContinuousTaskJsTest009
* @tc.desc:verify continuous task request failed with invalid background mode
* @tc.type: FUNC
* @tc.require:
*/
it
(
"
ContinuousTaskJsTest009
"
,
0
,
async
function
(
done
)
{
console
.
info
(
TAG
+
'
-----------------ContinuousTaskJsTest009 begin--------------------
'
);
...
...
@@ -200,10 +191,9 @@ describe("ContinuousTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_LONG_TASK_XTS_0010
* @tc.name: ContinuousTaskJsTest010
* @tc.desc: test work scheduler constant
* @tc.type: FUNC
* @tc.require:
* @tc.desc: test backgroudManager BackgroudMode constant
*/
it
(
"
ContinuousTaskJsTest010
"
,
0
,
async
function
(
done
)
{
console
.
info
(
TAG
+
'
-----------------ContinuousTaskJsTest010 begin--------------------
'
);
...
...
@@ -213,10 +203,9 @@ describe("ContinuousTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_LONG_TASK_XTS_0011
* @tc.name: ContinuousTaskJsTest011
* @tc.desc: test work scheduler constant
* @tc.type: FUNC
* @tc.require:
* @tc.desc: test backgroudManager BackgroudMode constant
*/
it
(
"
ContinuousTaskJsTest011
"
,
0
,
async
function
(
done
)
{
console
.
info
(
TAG
+
'
-----------------ContinuousTaskJsTest011 begin--------------------
'
);
...
...
@@ -226,10 +215,9 @@ describe("ContinuousTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_LONG_TASK_XTS_0012
* @tc.name: ContinuousTaskJsTest012
* @tc.desc: test work scheduler constant
* @tc.type: FUNC
* @tc.require:
* @tc.desc: test backgroudManager BackgroudMode constant
*/
it
(
"
ContinuousTaskJsTest012
"
,
0
,
async
function
(
done
)
{
console
.
info
(
TAG
+
'
-----------------ContinuousTaskJsTest012 begin--------------------
'
);
...
...
@@ -239,10 +227,9 @@ describe("ContinuousTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_LONG_TASK_XTS_0013
* @tc.name: ContinuousTaskJsTest013
* @tc.desc: test work scheduler constant
* @tc.type: FUNC
* @tc.require:
* @tc.desc: test backgroudManager BackgroudMode constant
*/
it
(
"
ContinuousTaskJsTest013
"
,
0
,
async
function
(
done
)
{
console
.
info
(
TAG
+
'
-----------------ContinuousTaskJsTest013 begin--------------------
'
);
...
...
@@ -252,10 +239,9 @@ describe("ContinuousTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_LONG_TASK_XTS_0014
* @tc.name: ContinuousTaskJsTest014
* @tc.desc: test work scheduler constant
* @tc.type: FUNC
* @tc.require:
* @tc.desc: test backgroudManager BackgroudMode constant
*/
it
(
"
ContinuousTaskJsTest014
"
,
0
,
async
function
(
done
)
{
console
.
info
(
TAG
+
'
-----------------ContinuousTaskJsTest014 begin--------------------
'
);
...
...
@@ -265,10 +251,9 @@ describe("ContinuousTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_LONG_TASK_XTS_0015
* @tc.name: ContinuousTaskJsTest015
* @tc.desc: test work scheduler constant
* @tc.type: FUNC
* @tc.require:
* @tc.desc: test backgroudManager BackgroudMode constant
*/
it
(
"
ContinuousTaskJsTest015
"
,
0
,
async
function
(
done
)
{
console
.
info
(
TAG
+
'
-----------------ContinuousTaskJsTest015 begin--------------------
'
);
...
...
@@ -278,10 +263,9 @@ describe("ContinuousTaskJsTest", function () {
})
/*
* @tc.number:SUB_RESOURCESCHEDULE_LONG_TASK_XTS_0016
* @tc.name: ContinuousTaskJsTest016
* @tc.desc: test work scheduler constant
* @tc.type: FUNC
* @tc.require:
* @tc.desc: test backgroudManager BackgroudMode constant
*/
it
(
"
ContinuousTaskJsTest016
"
,
0
,
async
function
(
done
)
{
console
.
info
(
TAG
+
'
-----------------ContinuousTaskJsTest016 begin--------------------
'
);
...
...
resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/test/ShortTaskMgrJs.test.js
浏览文件 @
4f7b6898
...
...
@@ -51,7 +51,7 @@ describe("ShortTaskMgrApiTest", function () {
})
/*
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
MAG_API
_007
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
XTS
_007
* @tc.name testRequestSuspendDelayFun001
* @tc.desc test request a suspend daly reason is NumberType.
*/
...
...
@@ -77,7 +77,7 @@ describe("ShortTaskMgrApiTest", function () {
})
/*
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
MAG_API
_008
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
XTS
_008
* @tc.name testRequestSuspendDelayFun002
* @tc.desc test request a suspend daly reason is BooleanType.
*/
...
...
@@ -103,7 +103,7 @@ describe("ShortTaskMgrApiTest", function () {
})
/*
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
MAG_API
_009
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
XTS
_009
* @tc.name testRequestSuspendDelayFun003
* @tc.desc test request a suspend daly reason is NullType.
*/
...
...
@@ -129,7 +129,7 @@ it("testRequestSuspendDelayFun003", 0, async function (done) {
})
/*
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
MAG_API
_010
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
XTS
_010
* @tc.name testRequestSuspendDelayFun004
* @tc.desc test request a suspend daly reason is EmptyString.
*/
...
...
@@ -156,7 +156,7 @@ it("testRequestSuspendDelayFun003", 0, async function (done) {
/*
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
MAG_API
_011
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
XTS
_011
* @tc.name testRequestSuspendDelayFun005
* @tc.desc test request a suspend daly reason Undefined.
*/
...
...
@@ -182,7 +182,7 @@ it("testRequestSuspendDelayFun003", 0, async function (done) {
})
/*
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
MAG_API
_012
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
XTS
_012
* @tc.name testGetRemainingDelayTimeFun001
* @tc.desc test getRemainingDelayTime Callback ,requestId non-existent.
*/
...
...
@@ -217,7 +217,7 @@ it("testRequestSuspendDelayFun003", 0, async function (done) {
})
/*
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
MAG_API
_013
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
XTS
_013
* @tc.name testGetRemainingDelayTimeFun002
* @tc.desc test getRemainingDelayTime Promise ,requestId non-existent.
*/
...
...
@@ -250,7 +250,7 @@ it("testRequestSuspendDelayFun003", 0, async function (done) {
})
/*
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
MAG_API
_014
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
XTS
_014
* @tc.name testGetRemainingDelayTimeFun003
* @tc.desc test getRemainingDelayTime Promise ,requestId is null.
*/
...
...
@@ -276,7 +276,7 @@ it("testRequestSuspendDelayFun003", 0, async function (done) {
})
/*
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
MAG_API
_015
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
XTS
_015
* @tc.name testGetRemainingDelayTimeFun004
* @tc.desc test getRemainingDelayTime Callback ,requestId = -1.
*/
...
...
@@ -299,7 +299,7 @@ it("testRequestSuspendDelayFun003", 0, async function (done) {
})
/*
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
MAG_API
_016
* @tc.number SUB_RESOURCESCHEDULE_SHORT_TASK_
XTS
_016
* @tc.name testGetRemainingDelayTimeFun005
* @tc.desc test getRemainingDelayTime Promise ,requestId = 0.
*/
...
...
resourceschedule/resourceschedule_standard/deviceusagestatisticsjsunit/src/main/js/test/DeviceUsageStatisticsJsunit.test.js
浏览文件 @
4f7b6898
此差异已折叠。
点击以展开。
resourceschedule/resourceschedule_standard/reminderagent/src/main/js/test/ReminderAgentJs.test.js
浏览文件 @
4f7b6898
此差异已折叠。
点击以展开。
resourceschedule/resourceschedule_standard/workscheduler/src/main/js/test/WorkScheduler.test.js
浏览文件 @
4f7b6898
此差异已折叠。
点击以展开。
resourceschedule/resourceschedule_standard/workscheduler/src/main/js/test/WorkSchedulerMgrJs.test.js
浏览文件 @
4f7b6898
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录