未验证 提交 772ccf26 编写于 作者: O openharmony_ci 提交者: Gitee

!8357 【Distributeddatamgr】【Master】接口覆盖率补齐

Merge pull request !8357 from lina123456/master
......@@ -2113,7 +2113,10 @@ export default function pasteBoardJEtsunitTest() {
console.info('f_test39: Sets the Property')
var pasteDataProperty = pasteData1.getProperty()
console.info('f_test39: timestamp = ' + pasteDataProperty.timestamp)
pasteDataProperty.additions["one"] = "Hello"
let object = {
bundleName: "pasteBoardJEtsunitTest"
};
pasteDataProperty.additions["one"] = object;
pasteDataProperty.shareOption = 1;
pasteData1.setProperty(pasteDataProperty);
......@@ -2127,14 +2130,15 @@ export default function pasteBoardJEtsunitTest() {
expect(pasteDataProperty1.shareOption == 1).assertTrue();
console.info('f_test39: timestamp = ' + pasteDataProperty1.timestamp);
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');
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');
done();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册