From 2800ca82a8c3ebeeb059fc352e7f032011a66434 Mon Sep 17 00:00:00 2001 From: zhangmaowen Date: Thu, 22 Sep 2022 20:43:19 +0800 Subject: [PATCH] Signed-off-by: zhangmaowen --- .../test/PasteBoeadPixelMapJsunit.test.ets | 48 ------------------- 1 file changed, 48 deletions(-) diff --git a/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoeadPixelMapJsunit.test.ets b/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoeadPixelMapJsunit.test.ets index 8d0371b72..bce0f0b8d 100644 --- a/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoeadPixelMapJsunit.test.ets +++ b/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoeadPixelMapJsunit.test.ets @@ -181,30 +181,6 @@ export default function pasteBoardTest(){ done(); }) - /** - * @tc.number SUB_PASTEBOARD_FUNCTION_ETS_TEST_0500 - * @tc.name Create PixelMap data with string type parameters; - * @tc.desc Test pasteBoard API functionality. - * @tc.size : MEDIUM - * @tc.type : Function - * @tc.level : Level 2 - */ - it('SUB_PASTEBOARD_FUNCTION_ETS_TEST_0500', 0, async function (done) { - console.info("SUB_PASTEBOARD_FUNCTION_ETS_TEST_0500 start") - var systemPasteBoard = pasteboard.getSystemPasteboard(); - await systemPasteBoard.clear().then(async () => { - var pasteData = null; - var pixelMap = "pixelMap"; - try{ - pasteData = pasteboard.createPixelMapData(pixelMap) - }catch(err){ - console.info("Create pixleMap data fail " + err) - } - expect(pasteData == null).assertTrue(); - }) - done(); - }) - /** * @tc.number SUB_PASTEBOARD_FUNCTION_ETS_TEST_0600 * @tc.name Create PixelMap data with parameter is null; @@ -229,30 +205,6 @@ export default function pasteBoardTest(){ done(); }) - /** - * @tc.number SUB_PASTEBOARD_FUNCTION_ETS_TEST_0700 - * @tc.name Create PixelMap record with string type parameters; - * @tc.desc Test pasteBoard API functionality. - * @tc.size : MEDIUM - * @tc.type : Function - * @tc.level : Level 2 - */ - it('SUB_PASTEBOARD_FUNCTION_ETS_TEST_0700', 0, async function (done) { - console.info("SUB_PASTEBOARD_FUNCTION_ETS_TEST_0700 start") - var systemPasteBoard = pasteboard.getSystemPasteboard(); - await systemPasteBoard.clear().then(async () => { - var pixelMapRecord = undefined; - var pixelMap = "pixelMap"; - try{ - pixelMapRecord = pasteboard.createPixelMapRecord(pixelMap) - }catch(err){ - console.info("Create pixleMap data fail " + err) - } - expect(pixelMapRecord == null).assertTrue(); - }) - done(); - }) - /** * @tc.number SUB_PASTEBOARD_FUNCTION_ETS_TEST_0800 * @tc.name Create PixelMap record with parameter is null; -- GitLab