diff --git a/miscservices/BUILD.gn b/miscservices/BUILD.gn index 073e36c5ac370dbd0ef5a63fe7705cb0b6cd0b5e..0e05ce9deed5713b662f3e7e90de49b4a25346bc 100755 --- a/miscservices/BUILD.gn +++ b/miscservices/BUILD.gn @@ -20,6 +20,7 @@ group("miscservices") { "TimeTest_js:ActsTimeJSApiTest", "TimerTest_js:ActsTimerJSApiTest", "actspasteboardjsapitest:ActsPasteBoardJSApiTest", + "screenlock_js:ActsScreenLockJSApiTest", "wallpaper_js:ActsWallpaperJSApiTest", ] } diff --git a/miscservices/actspasteboardjsapitest/entry/src/main/js/default/test/PasteBoardJsunit.test.js b/miscservices/actspasteboardjsapitest/entry/src/main/js/default/test/PasteBoardJsunit.test.js index 59c290c2d40cfa9e69e67024350890362535d6b0..8386280a15514eadbd3ef66fcf5c374af9f45008 100644 --- a/miscservices/actspasteboardjsapitest/entry/src/main/js/default/test/PasteBoardJsunit.test.js +++ b/miscservices/actspasteboardjsapitest/entry/src/main/js/default/test/PasteBoardJsunit.test.js @@ -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();