diff --git a/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardRecord.test.ets b/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardRecord.test.ets index deadf561455adf2e50d4c2e2c5abb8b82c7d531a..c36853b3016c6127aa000fe1a6777c4b1ca72da0 100644 --- a/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardRecord.test.ets +++ b/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardRecord.test.ets @@ -59,6 +59,7 @@ export default function pasteBoardRecordTest(){ }) let pixelMapRecord = pasteData.getPrimaryPixelMap() expect(pixelMapRecord != null).assertTrue(); + expect(pixelMapRecord.getPixelBytesNumber() > 0).assertEqual(); console.info("SUB_PASTEBOARD_FUNCTION_ETS_CREATEDATA_0100 end") done(); })