提交 2ef43afb 编写于 作者: L lina123456

<update>

Signed-off-by: Nlina123456 <shilina6@huawei.com>
上级 9a31ff87
...@@ -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.
先完成此消息的编辑!
想要评论请 注册