Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
f8fc6844
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看板
提交
f8fc6844
编写于
4月 04, 2023
作者:
L
lina123456
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fixed
2ef43afb
from
https://gitee.com/lina123456/xts_acts/pulls/8357
<update> Signed-off-by:
N
lina123456
<
shilina6@huawei.com
>
上级
a350846a
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
7 addition
and
3 deletion
+7
-3
distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardEtsunitTest.ets
...apitest/entry/src/main/ets/test/PasteBoardEtsunitTest.ets
+7
-3
未找到文件。
distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardEtsunitTest.ets
浏览文件 @
f8fc6844
...
@@ -2113,7 +2113,10 @@ export default function pasteBoardJEtsunitTest() {
...
@@ -2113,7 +2113,10 @@ export default function pasteBoardJEtsunitTest() {
console.info('
f_test39:
Sets
the
Property
')
console.info('
f_test39:
Sets
the
Property
')
var
pasteDataProperty =
pasteData1.getProperty()
var
pasteDataProperty =
pasteData1.getProperty()
console.info
('
f_test39:
timestamp =
' + pasteDataProperty.timestamp)
console.info
('
f_test39:
timestamp =
' + pasteDataProperty.timestamp)
pasteDataProperty.additions["one"] = "Hello"
let object = {
bundleName: "pasteBoardJEtsunitTest"
};
pasteDataProperty.additions["one"] = object;
pasteDataProperty.shareOption = 1;
pasteDataProperty.shareOption = 1;
pasteData1.setProperty(pasteDataProperty);
pasteData1.setProperty(pasteDataProperty);
...
@@ -2127,14 +2130,15 @@ export default function pasteBoardJEtsunitTest() {
...
@@ -2127,14 +2130,15 @@ export default function pasteBoardJEtsunitTest() {
expect(pasteDataProperty1.shareOption =
=
1).
assertTrue
();
expect(pasteDataProperty1.shareOption =
=
1).
assertTrue
();
console.info
('
f_test39:
timestamp =
' + pasteDataProperty1.timestamp);
console.info
('
f_test39:
timestamp =
' + pasteDataProperty1.timestamp);
console.info('
f_test39:
shareOption =
' + pasteDataProperty1.shareOption);
console.info('
f_test39:
shareOption =
' + pasteDataProperty1.shareOption);
let tag1 = pasteData1.getTag();
console.info('
f_test39:
gettag =
' + tag1);
console.info('
f_test39:
additions =
' + pasteDataProperty1.additions["one"])
console.info('
SUB_pasteBoard_function_JS_API_3900
end
');
console.info('
SUB_pasteBoard_function_JS_API_3900
end
');
done
();
done
();
});
});
});
});
});
});
console.info
('
f_test39:
timestamp =
' + pasteDataProperty1.timestamp)
console.info('
f_test39:
additions =
' + pasteDataProperty1.additions["one"])
console.info
('
SUB_pasteBoard_function_JS_API_3900
end
');
console.info
('
SUB_pasteBoard_function_JS_API_3900
end
');
done
();
done
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录