提交 89f2698d 编写于 作者: Y yaocui

Merge branch 'OpenHarmony-3.2-Release' of...

Merge branch 'OpenHarmony-3.2-Release' of https://gitee.com/yaocui_moring/xts_acts into OpenHarmony-3.2-Release
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import { Hypium } from 'hypium/index'
import { Hypium } from '@ohos/hypium'
import testsuite from '../test/List.test'
export default {
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import { Hypium } from 'hypium/index'
import { Hypium } from '@ohos/hypium'
import testsuite from '../test/List.test'
export default {
......
......@@ -42,13 +42,14 @@ export default function pasteBoardSystemPasteBoardTest(){
await systemPasteBoard.setData(pasteData)
await systemPasteBoard.clearData(async (err, data) => {
console.info("Clear the data in the system pasteBoard finished")
})
await systemPasteBoard.hasData().then((data) => {
console.info(`Succeeded in checking the PasteData. Data: ${data}`);
expect(data).assertEqual(false);
})
done();
console.info("SUB_PASTEBOARD_FUNCTION_ETS_CLEARDATA_CALLBACK_0100 end")
})
})
})
/**
* @tc.number SUB_PASTEBOARD_FUNCTION_ETS_CLEARDATA_CALLBACK_0200
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册