提交 1564f013 编写于 作者: L lwx1121892

<liuxueqi3@huawei.com>

Signed-off-by: Nlwx1121892 <liuxueqi3@huawei.com>
上级 8329ca49
...@@ -17,7 +17,7 @@ import image from '@ohos.multimedia.image' ...@@ -17,7 +17,7 @@ import image from '@ohos.multimedia.image'
import fileio from '@ohos.fileio' import fileio from '@ohos.fileio'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
import { testPng, testJpg } from './testImg' import { testPng, testJpg } from './testImg'
import { tcBuf020, tc_020_1Buf, tcBuf021, tcBuf021_1, tcBuf022 } from './testImg' import { tcBuf020, tcBuf020_1, tcBuf021, tcBuf021_1, tcBuf022 } from './testImg'
import featureAbility from '@ohos.ability.featureAbility' import featureAbility from '@ohos.ability.featureAbility'
export default function imageJsTest() { export default function imageJsTest() {
...@@ -394,7 +394,7 @@ export default function imageJsTest() { ...@@ -394,7 +394,7 @@ export default function imageJsTest() {
var bufferArr = new Uint8Array(readBuffer); var bufferArr = new Uint8Array(readBuffer);
var res = true; var res = true;
for (var i = 0; i < bufferArr.length; i++) { for (var i = 0; i < bufferArr.length; i++) {
if (bufferArr[i] != tc_020_1Buf[i]) { if (bufferArr[i] != tcBuf020_1[i]) {
res = false; res = false;
console.info('TC_020-1 failed'); console.info('TC_020-1 failed');
expect(false).assertTrue(); expect(false).assertTrue();
...@@ -816,7 +816,7 @@ export default function imageJsTest() { ...@@ -816,7 +816,7 @@ export default function imageJsTest() {
done(); done();
}) })
}) })
/** /**
* @tc.number : TC_022-1 * @tc.number : TC_022-1
* @tc.name : writePixels-callback * @tc.name : writePixels-callback
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册