Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
43047dff
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看板
提交
43047dff
编写于
9月 14, 2022
作者:
Y
yanglifeng1217
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
<updata Encryption>
Signed-off-by:
N
yanglifeng1217
<
yanglifeng5@huawei.com
>
上级
b3134942
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
6 addition
and
6 deletion
+6
-6
distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/DeviceKvStoreCallbackJsunit.test.js
.../hap/src/main/js/test/DeviceKvStoreCallbackJsunit.test.js
+1
-1
distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/DeviceKvStorePromiseJsunit.test.js
...t/hap/src/main/js/test/DeviceKvStorePromiseJsunit.test.js
+2
-2
distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/SingleKvStoreCallbackJsunit.test.js
.../hap/src/main/js/test/SingleKvStoreCallbackJsunit.test.js
+1
-1
distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/SingleKvStorePromiseJsunit.test.js
...t/hap/src/main/js/test/SingleKvStorePromiseJsunit.test.js
+2
-2
未找到文件。
distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/DeviceKvStoreCallbackJsunit.test.js
浏览文件 @
43047dff
...
@@ -1801,7 +1801,7 @@ describe('deviceKvStoreCallbackTest', function () {
...
@@ -1801,7 +1801,7 @@ describe('deviceKvStoreCallbackTest', function () {
await
kvStore
.
removeDeviceData
(
''
,
function
(
err
,
data
)
{
await
kvStore
.
removeDeviceData
(
''
,
function
(
err
,
data
)
{
if
(
err
==
undefined
)
{
if
(
err
==
undefined
)
{
console
.
info
(
'
testDeviceKvStoreRemoveDeviceData103 removeDeviceData success
'
);
console
.
info
(
'
testDeviceKvStoreRemoveDeviceData103 removeDeviceData success
'
);
expect
(
null
).
assertFail
();
expect
(
err
==
undefined
).
assertTrue
();
}
else
{
}
else
{
console
.
info
(
'
testDeviceKvStoreRemoveDeviceData103 removeDeviceData fail
'
);
console
.
info
(
'
testDeviceKvStoreRemoveDeviceData103 removeDeviceData fail
'
);
}
}
...
...
distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/DeviceKvStorePromiseJsunit.test.js
浏览文件 @
43047dff
...
@@ -1990,11 +1990,11 @@ describe('deviceKvStorePromiseTest', function () {
...
@@ -1990,11 +1990,11 @@ describe('deviceKvStorePromiseTest', function () {
it
(
'
testDeviceKvStoreRemoveDeviceData003
'
,
0
,
async
function
(
done
)
{
it
(
'
testDeviceKvStoreRemoveDeviceData003
'
,
0
,
async
function
(
done
)
{
console
.
info
(
'
testDeviceKvStoreRemoveDeviceData003
'
);
console
.
info
(
'
testDeviceKvStoreRemoveDeviceData003
'
);
try
{
try
{
await
kvStore
.
removeDeviceData
(
''
).
then
((
err
)
=>
{
await
kvStore
.
removeDeviceData
(
''
).
then
(()
=>
{
console
.
info
(
'
testDeviceKvStoreRemoveDeviceData003 removeDeviceData success
'
);
console
.
info
(
'
testDeviceKvStoreRemoveDeviceData003 removeDeviceData success
'
);
expect
(
null
).
assertFail
();
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
console
.
info
(
'
testDeviceKvStoreRemoveDeviceData003 removeDeviceData fail
'
+
err
);
console
.
info
(
'
testDeviceKvStoreRemoveDeviceData003 removeDeviceData fail
'
+
err
);
expect
(
null
).
assertFail
();
});
});
}
catch
(
e
)
{
}
catch
(
e
)
{
console
.
info
(
'
testDeviceKvStoreRemoveDeviceData003 e
'
+
e
);
console
.
info
(
'
testDeviceKvStoreRemoveDeviceData003 e
'
+
e
);
...
...
distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/SingleKvStoreCallbackJsunit.test.js
浏览文件 @
43047dff
...
@@ -1760,7 +1760,7 @@ describe('singleKvStoreCallbackTest', function () {
...
@@ -1760,7 +1760,7 @@ describe('singleKvStoreCallbackTest', function () {
await
kvStore
.
removeDeviceData
(
''
,
function
(
err
,
data
)
{
await
kvStore
.
removeDeviceData
(
''
,
function
(
err
,
data
)
{
if
(
err
==
undefined
)
{
if
(
err
==
undefined
)
{
console
.
info
(
'
testSingleKvStoreRemoveDeviceData103 removeDeviceData success
'
);
console
.
info
(
'
testSingleKvStoreRemoveDeviceData103 removeDeviceData success
'
);
expect
(
null
).
assertFail
();
expect
(
err
==
undefined
).
assertTrue
();
}
else
{
}
else
{
console
.
info
(
'
testSingleKvStoreRemoveDeviceData103 removeDeviceData fail
'
);
console
.
info
(
'
testSingleKvStoreRemoveDeviceData103 removeDeviceData fail
'
);
}
}
...
...
distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/SingleKvStorePromiseJsunit.test.js
浏览文件 @
43047dff
...
@@ -1959,11 +1959,11 @@ describe('singleKvStorePromiseTest', function () {
...
@@ -1959,11 +1959,11 @@ describe('singleKvStorePromiseTest', function () {
it
(
'
testSingleKvStoreRemoveDeviceData003
'
,
0
,
async
function
(
done
)
{
it
(
'
testSingleKvStoreRemoveDeviceData003
'
,
0
,
async
function
(
done
)
{
console
.
info
(
'
testSingleKvStoreRemoveDeviceData003
'
);
console
.
info
(
'
testSingleKvStoreRemoveDeviceData003
'
);
try
{
try
{
await
kvStore
.
removeDeviceData
(
''
).
then
((
err
)
=>
{
await
kvStore
.
removeDeviceData
(
''
).
then
(()
=>
{
console
.
info
(
'
testSingleKvStoreRemoveDeviceData003 removeDeviceData success
'
);
console
.
info
(
'
testSingleKvStoreRemoveDeviceData003 removeDeviceData success
'
);
expect
(
null
).
assertFail
();
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
console
.
info
(
'
testSingleKvStoreRemoveDeviceData003 removeDeviceData fail
'
+
err
);
console
.
info
(
'
testSingleKvStoreRemoveDeviceData003 removeDeviceData fail
'
+
err
);
expect
(
null
).
assertFail
();
});
});
}
catch
(
e
)
{
}
catch
(
e
)
{
console
.
info
(
'
testSingleKvStoreRemoveDeviceData003 e
'
+
e
);
console
.
info
(
'
testSingleKvStoreRemoveDeviceData003 e
'
+
e
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录