mirror of
https://gitee.com/openharmony/distributeddatamgr_pasteboard
synced 2024-11-23 07:59:55 +00:00
update interfaces/kits/napi/test/unittest/pasteboardapi/PasteBoardPromiseJsunit.test.js.
Signed-off-by: zuotao <zuotao2@huawei.com>
This commit is contained in:
parent
01c2d2760e
commit
3b0988ec2a
@ -835,11 +835,11 @@ describe('PasteBoardJSTest', function () {
|
||||
let pasteDataRecord = pasteboard.createUriRecord(uriText1);
|
||||
let replace = pasteData1.replaceRecordAt(0, pasteDataRecord);
|
||||
expect(replace).assertEqual(true);
|
||||
let primaryUri = pasteData1.getPrimaryUri();
|
||||
expect(primaryUri).assertEqual(uriText1);
|
||||
let primaryUri1 = pasteData1.getPrimaryUri();
|
||||
expect(primaryUri1).assertEqual(uriText1);
|
||||
expect(pasteData1.hasMimeType(pasteboard.MIMETYPE_TEXT_URI)).assertEqual(true);
|
||||
let primaryUri = pasteData1.getPrimaryUri();
|
||||
expect(primaryUri).assertEqual(uriText1);
|
||||
let primaryUri2 = pasteData1.getPrimaryUri();
|
||||
expect(primaryUri2).assertEqual(uriText1);
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user