You need to sign in or sign up before continuing.
提交 aa9ebb69 编写于 作者: G gaoxi

add testcase

Signed-off-by: Ngaoxi <gaoxi785@huawei.com>
上级 c2405db0
...@@ -70,7 +70,9 @@ describe('PasteBoardTest', function() { ...@@ -70,7 +70,9 @@ describe('PasteBoardTest', function() {
console.info('Checks PasteDataProperty.localOnly') console.info('Checks PasteDataProperty.localOnly')
var pasteDataProperty = pasteData1.getProperty() var pasteDataProperty = pasteData1.getProperty()
console.info('Checks: localOnly = ' + pasteDataProperty.localOnly) console.info('Checks: localOnly = ' + pasteDataProperty.localOnly)
expect(pasteDataProperty.localOnly == undefined).assertTrue();
console.info('Checks: mimeTypes = ' + pasteDataProperty.mimeTypes) console.info('Checks: mimeTypes = ' + pasteDataProperty.mimeTypes)
expect(pasteDataProperty.mimeTypes == undefined).assertTrue();
console.log('Checks there is a MIMETYPE_TEXT_PLAIN MIME type of data' + pasteboard.MIMETYPE_TEXT_PLAIN); console.log('Checks there is a MIMETYPE_TEXT_PLAIN MIME type of data' + pasteboard.MIMETYPE_TEXT_PLAIN);
console.log('f_test1: getPrimaryMimeType = ' + pasteData1.getPrimaryMimeType()); console.log('f_test1: getPrimaryMimeType = ' + pasteData1.getPrimaryMimeType());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册