提交 a83f588f 编写于 作者: L lina123456

<update>

Signed-off-by: Nlina123456 <shilina6@huawei.com>
上级 db78b588
...@@ -725,10 +725,10 @@ export default function pasteBoardRecordTest(){ ...@@ -725,10 +725,10 @@ export default function pasteBoardRecordTest(){
pasteData.addRecord("stringRecord513", ARRAY_BUFFER); pasteData.addRecord("stringRecord513", ARRAY_BUFFER);
}catch(err){ }catch(err){
console.info("Add record error, err code is: " + err.code) console.info("Add record error, err code is: " + err.code)
expect(err.code).assertEqual("12900002") expect(err!=undefined).assertFail();
} }
let hasType = pasteData.hasType("stringRecord513") let hasType = pasteData.hasType("stringRecord513")
expect(hasType == false).assertTrue(); expect(hasType == true).assertTrue();
console.info("SUB_PASTEBOARD_FUNCTION_ETS_ADDRECORD_1100 end") console.info("SUB_PASTEBOARD_FUNCTION_ETS_ADDRECORD_1100 end")
done(); done();
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册