未验证 提交 d45f241c 编写于 作者: O openharmony_ci 提交者: Gitee

!6563 Image主干用例同步monthly分支

Merge pull request !6563 from 秦莉文/monthly_20221018
......@@ -42,7 +42,7 @@
"hilog -Q pidoff",
"hilog -b D"
],
"teardown-command": [
"teardown-command":[
"hilog -b X"
]
}
......
......@@ -107,6 +107,12 @@ export default function imageJsTest() {
const Color = new ArrayBuffer(96);
let opts = { editable: false, pixelFormat: 3, size: { height: 4, width: 6 } }
image.createPixelMap(Color, opts, (err, pixelmap) => {
if (err) {
expect(false).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEPIXELMAP_CALLBACK_0500 err' + err);
done();
return
}
globalpixelmap = pixelmap;
expect(pixelmap != undefined).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEPIXELMAP_CALLBACK_0500 success');
......@@ -157,11 +163,16 @@ export default function imageJsTest() {
const Color = new ArrayBuffer(96);
let opts = { editable: false, pixelFormat: 2, size: { height: 6, width: 8 } }
image.createPixelMap(Color, opts, (err, pixelmap) => {
if (err) {
expect(false).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEPIXELMAP_CALLBACK_0600 err' + err);
done();
return
}
globalpixelmap = pixelmap;
expect(pixelmap != undefined).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEPIXELMAP_CALLBACK_0600 success');
done();
})
})
......@@ -208,6 +219,12 @@ export default function imageJsTest() {
const Color = new ArrayBuffer(96);
let opts = { editable: false, pixelFormat: 0, size: { height: 6, width: 8 } }
image.createPixelMap(Color, opts, (err, pixelmap) => {
if (err) {
expect(false).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEPIXELMAP_CALLBACK_0700 err' + err);
done();
return
}
globalpixelmap = pixelmap;
expect(pixelmap != undefined).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEPIXELMAP_CALLBACK_0700 success');
......@@ -230,6 +247,12 @@ export default function imageJsTest() {
const Color = new ArrayBuffer(96);
let opts = { editable: true, pixelFormat: 3, size: { height: 6, width: 8 } }
image.createPixelMap(Color, opts, (err, pixelmap) => {
if (err) {
expect(false).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEPIXELMAP_CALLBACK_0800 err' + err);
done();
return
}
globalpixelmap = pixelmap;
expect(pixelmap != undefined).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEPIXELMAP_CALLBACK_0800 success');
......@@ -252,6 +275,12 @@ export default function imageJsTest() {
const Color = new ArrayBuffer(96);
let opts = { editable: true, pixelFormat: 2, size: { height: 2, width: 3 } }
image.createPixelMap(Color, opts, (err, pixelmap) => {
if (err) {
expect(false).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEPIXELMAP_CALLBACK_0900 err' + err);
done();
return
}
globalpixelmap = pixelmap;
expect(pixelmap != undefined).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEPIXELMAP_CALLBACK_0900 success');
......@@ -274,9 +303,15 @@ export default function imageJsTest() {
const Color = new ArrayBuffer(96);
let opts = { editable: true, pixelFormat: 0, size: { height: -1, width: -1 } }
image.createPixelMap(Color, opts, (err, pixelmap) => {
if (err) {
expect(true).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEPIXELMAP_CALLBACK_1000 success' + err);
done();
return
}
globalpixelmap = pixelmap;
expect(pixelmap == undefined).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEPIXELMAP_CALLBACK_1000 success');
expect(false).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEPIXELMAP_CALLBACK_1000 fail');
done();
})
})
......@@ -296,6 +331,12 @@ export default function imageJsTest() {
const Color = new ArrayBuffer(96);
let opts = { editable: true, pixelFormat: 21, size: { height: 6, width: 8 } }
image.createPixelMap(Color, opts, (err, pixelmap) => {
if (err) {
expect(false).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEPIXELMAP_CALLBACK_1100 err' + err);
done();
return
}
globalpixelmap = pixelmap;
expect(pixelmap != undefined).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEPIXELMAP_CALLBACK_1100 success');
......@@ -1230,10 +1271,9 @@ export default function imageJsTest() {
it('SUB_GRAPHIC_IMAGE_CREATEIMAGESOURCE_URI_0100', 0, async function (done) {
try {
await getFd('test.jpg');
const imageSourceApi = image.createImageSource(fdNumber);
const imageSourceApi = image.createImageSource(filePath);
expect(imageSourceApi != undefined).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEIMAGESOURCE_URI_0100 success');
fileio.closeSync(fdNumber);
done();
} catch (error) {
console.info('SUB_GRAPHIC_IMAGE_CREATEIMAGESOURCE_URI_0100 error: ' + error);
......@@ -1255,7 +1295,7 @@ export default function imageJsTest() {
it('SUB_GRAPHIC_IMAGE_CREATEIMAGESOURCE_URI_0200', 0, async function (done) {
try {
await getFd('test.bmp');
const imageSourceApi = image.createImageSource(fdNumber);
const imageSourceApi = image.createImageSource(filePath);
expect(imageSourceApi != undefined).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEIMAGESOURCE_UR_0200 success');
done();
......@@ -1279,7 +1319,7 @@ export default function imageJsTest() {
it('SUB_GRAPHIC_IMAGE_CREATEIMAGESOURCE_URI_0300', 0, async function (done) {
try {
await getFd('test.gif');
const imageSourceApi = image.createImageSource(fdNumber);
const imageSourceApi = image.createImageSource(filePath);
expect(imageSourceApi != undefined).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEIMAGESOURCE_URI_0300 success');
done();
......@@ -1304,7 +1344,7 @@ export default function imageJsTest() {
it('SUB_GRAPHIC_IMAGE_CREATEIMAGESOURCE_URI_0400', 0, async function (done) {
try {
await getFd('test.png');
const imageSourceApi = image.createImageSource(fdNumber);
const imageSourceApi = image.createImageSource(filePath);
expect(imageSourceApi != undefined).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEIMAGESOURCE_URI_0400 success');
done();
......@@ -1318,7 +1358,7 @@ export default function imageJsTest() {
/**
* @tc.number : SUB_GRAPHIC_IMAGE_CREATEIMAGESOURCE_URI_ERROR_SUFFIXFILE_0100
* @tc.name : createImageSource(uri)-wrong suffix file
* @tc.name : createImageSource(uri)-image with wrong suffix file
* @tc.desc : 1.call createImageSource(uri)
* 2.Incoming wrong suffix file
* 3.imagesource null
......@@ -1326,11 +1366,33 @@ export default function imageJsTest() {
* @tc.type : Functional
* @tc.level : Level 0
*/
it('SUB_GRAPHIC_IMAGE_CREATEIMAGESOURCE_URI_ERROR_SUFFIXFILE_0100', 0, async function (done) {
const imageSourceApi = image.createImageSource('file:///data/local/tmp/test.123');
expect(imageSourceApi == undefined).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEIMAGESOURCE_URI_ERROR_SUFFIXFILE_0100 success');
done();
it('SUB_GRAPHIC_IMAGE_CREATEIMAGESOURCE_URI_ERROR_SUFFIXFILE_0100', 0, async function (done) {
try {
await getFd('test.123');
let imageSourceApi = image.createImageSource(filePath);
if (imageSourceApi == undefined) {
console.info('SUB_GRAPHIC_IMAGE_CREATEIMAGESOURCE_URI_ERROR_SUFFIXFILE_0100 create image source failed');
expect(false).assertTrue();
done();
} else {
imageSourceApi.createPixelMap((err, pixelmap) => {
if (err){
console.info('SUB_GRAPHIC_IMAGE_CREATEIMAGESOURCE_URI_ERROR_SUFFIXFILE_0100 create pixelmap failed: ' + err);
expect(false).assertTrue();
done();
return
}
globalpixelmap = pixelmap;
console.info('SUB_GRAPHIC_IMAGE_CREATEIMAGESOURCE_URI_ERROR_SUFFIXFILE_0100 success');
expect(pixelmap != undefined).assertTrue();
done();
})
}
} catch (error) {
expect(false).assertTrue();
console.info('SUB_GRAPHIC_IMAGE_CREATEIMAGESOURCE_URI_ERROR_SUFFIXFILE_0100 err:' + error);
done();
}
})
/**
......@@ -2197,6 +2259,12 @@ export default function imageJsTest() {
done();
} else {
imageSourceApi.createPixelMap((err, pixelmap) => {
if(err){
console.info('SUB_GRAPHIC_IMAGE_CREATEPIXELMAP_CALLBACK_JPG_0100 err: ' + err);
expect(false).assertTrue();
done();
return
}
globalpixelmap = pixelmap;
console.info('SUB_GRAPHIC_IMAGE_CREATEPIXELMAP_CALLBACK_JPG_0100 success ');
expect(pixelmap != undefined).assertTrue();
......
......@@ -14,15 +14,34 @@
"ActsImageColorspaceJsTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
},
{
"type": "ShellKit",
"run-command": [
"mkdir -p /data/app/el2/100/base/ohos.acts.multimedia.image.Colorspace/haps/entry/files/",
"chmod -R 666 /data/app/el2/100/base/ohos.acts.multimedia.image.Colorspace/haps/entry/files/*"
],
"teardown-command": []
},
{
"type": "PushKit",
"push": [
"./resource/image/colorspace.jpg ->/data/app/el2/100/base/ohos.acts.multimedia.image.Colorspace/haps/entry/files",
"./resource/image/DisplayP3.png ->/data/app/el2/100/base/ohos.acts.multimedia.image.Colorspace/haps/entry/files"
]
},
{
"type": "ShellKit",
"run-command": [
"hilog -Q pidoff",
"hilog -b D"
"hilog -b D",
"chmod 777 /data/app/el2/100/base/ohos.acts.multimedia.image.Colorspace/haps/entry/files/colorspace.jpg",
"chmod 777 /data/app/el2/100/base/ohos.acts.multimedia.image.Colorspace/haps/entry/files/DisplayP3.png"
],
"teardown-command": [
"teardown-command":[
"hilog -b X"
]
}
......
......@@ -13,8 +13,9 @@
* limitations under the License.
*/
import imageColorSpace from './colorspace.test.js'
import imageColorSpace from "./colorspace.test.js";
import ImageP3 from "./P3.test.js";
export default function testsuite() {
imageColorSpace()
imageColorSpace();
ImageP3();
}
/*
* Copyright (C) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import image from "@ohos.multimedia.image";
import fileio from "@ohos.fileio";
import colorSpaceManager from "@ohos.graphics.colorSpaceManager";
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "@ohos/hypium";
import { testImg } from "./testImg";
import { testP3 } from "./testImg2";
import featureAbility from "@ohos.ability.featureAbility";
export default function ImageP3() {
describe("ImageP3", function () {
const COLORSPACENAME = 5;
let filePath;
let fdNumber;
async function getFd(fileName) {
let context = await featureAbility.getContext();
await context.getFilesDir().then((data) => {
filePath = data + "/" + fileName;
console.info("image case filePath is " + filePath);
});
await fileio
.open(filePath)
.then((data) => {
fdNumber = data;
console.info("image case open fd success " + fdNumber);
})
.catch((err) => {
console.info("image case open fd err " + err);
});
}
beforeAll(async function () {
console.info("beforeAll case");
});
beforeEach(function () {
console.info("beforeEach case");
});
afterEach(async function () {
console.info("afterEach case");
});
afterAll(async function () {
console.info("afterAll case");
});
function GenPicSource(org) {
var data;
data = org.buffer;
return image.createImageSource(data);
}
function Logger(caseName) {
return {
myName: caseName,
log: function (msg) {
console.info(this.myName + " " + msg);
},
};
}
async function setColorCallBack(done, testNum, imageSource, colorSpaceName) {
let logger = Logger(testNum);
logger.log("ImageSource " + (imageSource != undefined));
if (imageSource != undefined) {
let pixelMap = await imageSource.createPixelMap();
logger.log("PixelMap " + pixelMap);
var csm = colorSpaceManager.create(colorSpaceName);
logger.log("colorSpaceManager.ColorSpace: " + colorSpaceName);
pixelMap.setColorSpace(csm, async (err) => {
if (err != undefined) {
expect(false).assertTrue();
logger.log("setColorSpace failed " + err);
done();
return;
}
var csm1 = await pixelMap.getColorSpace();
logger.log("getColorSpace " + csm1);
var csmn = csm1.getColorSpaceName();
logger.log("getColorSpaceName " + csmn);
expect(csmn == colorSpaceName).assertTrue();
done();
});
} else {
logger.log("createimageSource fail");
expect(false).assertTrue();
done();
}
}
async function setColorPromise(done, testNum, imageSource, colorSpaceName) {
let logger = Logger(testNum);
try {
logger.log("ImageSource " + (imageSource != undefined));
if (imageSource != undefined) {
let pixelMap = await imageSource.createPixelMap();
logger.log("PixelMap " + pixelMap);
var csm = colorSpaceManager.create(colorSpaceName);
logger.log("colorSpaceManager.ColorSpace: " + colorSpaceName);
await pixelMap.setColorSpace(csm);
var csm1 = await pixelMap.getColorSpace();
logger.log("getColorSpace " + csm1);
var csmn = csm1.getColorSpaceName();
logger.log("getColorSpaceName " + csmn);
expect(csmn == colorSpaceName).assertTrue();
done();
} else {
logger.log("createimageSource fail");
expect(false).assertTrue();
done();
}
} catch (error) {
expect(false).assertTrue();
logger.log("failed " + error);
done();
}
}
/**
* @tc.number : SUB_GRAPHIC_IMAGE_GETCOLORSPACE_PROMISE_0100
* @tc.name : SUB_GRAPHIC_IMAGE_GETCOLORSPACE_PROMISE_0100
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 0
*/
it("SUB_GRAPHIC_IMAGE_GETCOLORSPACE_PROMISE_0100", 0, async function (done) {
let logger = Logger("SUB_GRAPHIC_IMAGE_GETCOLORSPACE_PROMISE_0100");
try {
let imageSource = GenPicSource(testImg);
if (imageSource != undefined) {
let pixelMap = await imageSource.createPixelMap();
var csm = await pixelMap.getColorSpace();
logger.log("getColorSpace csm " + csm);
var csmn = csm.getColorSpaceName();
logger.log("getColorSpaceName " + csmn);
expect(csmn == COLORSPACENAME).assertTrue();
done();
} else {
logger.log("createimageSource fail");
expect(false).assertTrue();
done();
}
} catch (error) {
expect(false).assertTrue();
logger.log("failed " + error);
done();
}
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_GETCOLORSPACE_CALLBACK_0100
* @tc.name : SUB_GRAPHIC_IMAGE_GETCOLORSPACE_CALLBACK_0100
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 0
*/
it("SUB_GRAPHIC_IMAGE_GETCOLORSPACE_CALLBACK_0100", 0, async function (done) {
let logger = Logger("SUB_GRAPHIC_IMAGE_GETCOLORSPACE_CALLBACK_0100");
let imageSource = GenPicSource(testImg);
if (imageSource != undefined) {
let pixelMap = await imageSource.createPixelMap();
pixelMap.getColorSpace((err, csm) => {
if (err != undefined) {
logger.log("getColorSpace failed " + err);
expect(false).assertTrue();
return;
}
logger.log("getColorSpace csm " + csm);
let csmn = csm.getColorSpaceName();
logger.log("getColorSpaceName " + csmn);
expect(csmn == COLORSPACENAME).assertTrue();
done();
});
}
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0100
* @tc.name : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0100
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.setColorSpace
* 4.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 0
*/
it("SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0100", 0, async function (done) {
let imageSource = image.createImageSource(testP3.buffer);
setColorPromise(
done,
"SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0100",
imageSource,
colorSpaceManager.ColorSpace.SRGB
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0200
* @tc.name : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0200
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.setColorSpace
* 4.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it("SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0200", 1, async function (done) {
let imageSource = image.createImageSource(testImg.buffer);
setColorPromise(
done,
"SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0200",
imageSource,
colorSpaceManager.ColorSpace.DISPLAY_P3
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0300
* @tc.name : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0300
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.setColorSpace
* 4.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it("SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0300", 1, async function (done) {
await getFd("colorspace.jpg");
let imageSource = image.createImageSource(fdNumber);
setColorPromise(
done,
"SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0300",
imageSource,
colorSpaceManager.ColorSpace.DISPLAY_P3
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0400
* @tc.name : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0400
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.setColorSpace
* 4.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it("SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0400", 1, async function (done) {
await getFd("DisplayP3.png");
let imageSource = image.createImageSource(fdNumber);
setColorPromise(
done,
"SUB_GRAPHIC_IMAGE_SETCOLORSPACE_PROMISE_0400",
imageSource,
colorSpaceManager.ColorSpace.SRGB
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0100
* @tc.name : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0100
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.setColorSpace
* 4.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 0
*/
it("SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0100", 0, async function (done) {
let imageSource = image.createImageSource(testImg.buffer);
setColorCallBack(
done,
"SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0100",
imageSource,
colorSpaceManager.ColorSpace.DISPLAY_P3
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0200
* @tc.name : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0200
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.setColorSpace
* 4.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it("SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0200", 1, async function (done) {
let imageSource = image.createImageSource(testP3.buffer);
setColorCallBack(
done,
"SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0200",
imageSource,
colorSpaceManager.ColorSpace.SRGB
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0300
* @tc.name : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0300
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.setColorSpace
* 4.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it("SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0300", 1, async function (done) {
await getFd("DisplayP3.png");
let imageSource = image.createImageSource(fdNumber);
setColorCallBack(
done,
"SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0300",
imageSource,
colorSpaceManager.ColorSpace.SRGB
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0400
* @tc.name : SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0400
* @tc.desc : 1.create imagesource
* 2.createPixelMap
* 3.setColorSpace
* 4.getColorSpace and getColorSpaceName
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it("SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0400", 1, async function (done) {
await getFd("colorspace.jpg");
let imageSource = image.createImageSource(fdNumber);
setColorCallBack(
done,
"SUB_GRAPHIC_IMAGE_SETCOLORSPACE_CALLBACK_0400",
imageSource,
colorSpaceManager.ColorSpace.DISPLAY_P3
);
});
});
}
......@@ -43,7 +43,7 @@
"hilog -Q pidoff",
"hilog -b D"
],
"teardown-command": [
"teardown-command":[
"hilog -b X"
]
}
......
......@@ -39,7 +39,7 @@
"hilog -Q pidoff",
"hilog -b D"
],
"teardown-command": [
"teardown-command":[
"hilog -b X"
]
}
......
......@@ -37,7 +37,7 @@
"hilog -Q pidoff",
"hilog -b D"
],
"teardown-command":[
"teardown-command": [
"hilog -b X"
]
}
......
......@@ -22,7 +22,7 @@
"hilog -Q pidoff",
"hilog -b D"
],
"teardown-command":[
"teardown-command": [
"hilog -b X"
]
}
......
......@@ -21,7 +21,7 @@
"hilog -Q pidoff",
"hilog -b D"
],
"teardown-command": [
"teardown-command":[
"hilog -b X"
]
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册