Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
d36a391f
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看板
提交
d36a391f
编写于
10月 09, 2022
作者:
F
fangyun
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add new testcase about new interface
Signed-off-by:
N
fangyun
<
fangyun2@huawei.com
>
上级
466eb86e
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
2 addition
and
11 deletion
+2
-11
customization/edm_xts_stage/entry/src/main/ets/test/edmCallback.test.ets
...dm_xts_stage/entry/src/main/ets/test/edmCallback.test.ets
+1
-7
customization/edm_xts_stage/entry/src/main/ets/test/edmPromise.test.ets
...edm_xts_stage/entry/src/main/ets/test/edmPromise.test.ets
+1
-4
未找到文件。
customization/edm_xts_stage/entry/src/main/ets/test/edmCallback.test.ets
浏览文件 @
d36a391f
...
...
@@ -28,7 +28,7 @@ export default function edmCallbackTest() {
* @tc.name test enableAdmin method in callback mode without user id
* @tc.desc enable admin in callback mode
*/
it
(
'enableAdmin_test_002'
,
0
,
async
function
(
done
)
{
it
(
'enableAdmin_test_002'
,
0
,
async
function
(
done
)
{
await
enterpriseDeviceManager
.
enableAdmin
(
WANT1
,
ENTINFO1
,
enterpriseDeviceManager
.
AdminType
.
ADMIN_TYPE_NORMAL
,
OnReceiveEvent
);
async
function
OnReceiveEvent
(
err
)
{
...
...
@@ -76,7 +76,6 @@ export default function edmCallbackTest() {
})
/**
<<<<<<< HEAD
* @tc.number SUB_CUSTOMIZATION_ENTERPRISE_DEVICE_MANAGER_JS_0006
* @tc.name test enableAdmin method in callback mode without user id
* @tc.desc enable admin in callback mode
...
...
@@ -104,8 +103,6 @@ export default function edmCallbackTest() {
})
/**
=======
>>>>>>> 9a8445303aa68dd521e7c822b4b6c47c1cbc6cbc
* @tc.number SUB_CUSTOMIZATION_ENTERPRISE_DEVICE_MANAGER_JS_0008
* @tc.name test enableAdmin method with user id in callback mode with default user id
* @tc.desc enable admin in multi-user
...
...
@@ -282,7 +279,6 @@ export default function edmCallbackTest() {
await
enterpriseDeviceManager
.
disableSuperAdmin
(
SELFHAPNAME
);
done
();
}
<<<<<<<
HEAD
})
/**
...
...
@@ -474,8 +470,6 @@ export default function edmCallbackTest() {
await
enterpriseDeviceManager
.
disableSuperAdmin
(
SELFHAPNAME
);
console
.
log
(
'enterpriseDeviceManager.disableSuperAdmin ADMIN_TYPE_SUPER.'
);
done
();
=======
>>>>>>>
9
a8445303aa68dd521e7c822b4b6c47c1cbc6cbc
})
})
}
customization/edm_xts_stage/entry/src/main/ets/test/edmPromise.test.ets
浏览文件 @
d36a391f
...
...
@@ -26,7 +26,7 @@ export default function edmPromiseTest() {
* @tc.name test enableAdmin method in promise mode without user id
* @tc.desc enable admin in promise mode
*/
it
(
'enableAdmin_test_001'
,
0
,
async
function
(
done
)
{
it
(
'enableAdmin_test_001'
,
0
,
async
function
(
done
)
{
await
enterpriseDeviceManager
.
enableAdmin
(
WANT1
,
ENTINFO1
,
enterpriseDeviceManager
.
AdminType
.
ADMIN_TYPE_NORMAL
);
console
.
log
(
'enterpriseDeviceManager.enableAdmin ADMIN_TYPE_NORMAL.'
);
...
...
@@ -69,7 +69,6 @@ export default function edmPromiseTest() {
})
/**
<<<<<<< HEAD
* @tc.number SUB_CUSTOMIZATION_ENTERPRISE_DEVICE_MANAGER_JS_0005
* @tc.name test enableAdmin method in promise mode without user id
* @tc.desc enable admin in promise mode
...
...
@@ -94,8 +93,6 @@ export default function edmPromiseTest() {
})
/**
=======
>>>>>>> 9a8445303aa68dd521e7c822b4b6c47c1cbc6cbc
* @tc.number SUB_CUSTOMIZATION_ENTERPRISE_DEVICE_MANAGER_JS_0007
* @tc.name test enableAdmin method in promise mode with default user id
* @tc.desc enable admin in multi-user
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录