未验证 提交 46393eb1 编写于 作者: O openharmony_ci 提交者: Gitee

!4338 【杂散】【剪切板】覆盖未覆盖的接口

Merge pull request !4338 from 张育帅/cherry-pick-1657852270
......@@ -20,6 +20,7 @@ group("miscservices") {
"TimeTest_js:ActsTimeJSApiTest",
"TimerTest_js:ActsTimerJSApiTest",
"actspasteboardjsapitest:ActsPasteBoardJSApiTest",
"screenlock_js:ActsScreenLockJSApiTest",
"wallpaper_js:ActsWallpaperJSApiTest",
]
}
......@@ -3629,7 +3629,12 @@ describe('PasteBoardTest', function() {
console.log('f_test69 Converts the PlainTextData to text')
var pasteDataRecord = pasteData1.getRecordAt(0)
console.log('f_test69 pasteDataRecord.convertToText = ' + pasteDataRecord.convertToText);
pasteDataRecord.convertToText().then((data) => {
console.info('convertToText success data : ' + JSON.stringify(data));
}).catch((error) => {
console.error('convertToText failed because ' + JSON.stringify(error));
});;
console.log('SUB_pasteBoard_function_JS_API_6900 end');
done();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册