提交 223f2997 编写于 作者: F fengzewu

fix creator.test.js

Signed-off-by: Nfengzewu <fengzewu@huawei.com>
上级 e9b15727
......@@ -590,7 +590,12 @@ describe('ImageCreator', function () {
bufferArr[i + 3] = 255; //A
}
console.info("this is img " + img);
creator.queueImage(img, () => {
creator.queueImage(img, (err) => {
if (err != 0) {
console.info('Creator_007 queueImage err: ' + err);
expect(false).assertTrue();
done();
}
console.info('Creator_007 queueImage Success');
var dummy = creator.test;
expect(true).assertTrue();
......@@ -724,6 +729,7 @@ describe('ImageCreator', function () {
return;
}
console.info('Creator_008 queueImage Success');
expect(true).assertTrue();
var dummy = creator.test;
})
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册