提交 81ebcbee 编写于 作者: F fengzewu

code check and format check

Signed-off-by: Nfengzewu <fengzewu@huawei.com>
上级 cee5e02e
......@@ -23,9 +23,9 @@ group("multimedia") {
"image/image_js_standard/imageColorspace:image_colorspace_js_hap",
"image/image_js_standard/imageDecodeOptions:image_DecodeOptions_js_hap",
"image/image_js_standard/imageExif:image_exif_js_hap",
"image/image_js_standard/imageModifyProperty:image_modifyProperty_js_hap",
"image/image_js_standard/imagePixelMapFramework:image_pixelmapframework_js_hap",
"image/image_js_standard/imageWebp:image_webp_js_hap",
"image/image_js_standard/imageModifyProperty:image_modifyProperty_js_hap",
"media/media_js_standard/audioCodecFormat:audio_codec_format_js_hap",
"media/media_js_standard/audioDecoder:audio_decoder_js_hap",
"media/media_js_standard/audioEncoder:audio_encoder_js_hap",
......
# 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
# 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("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("image_modifyProperty_js_hap") {
hap_profile = "./src/main/config.json"
deps = [
":image_modifyProperty_js_assets",
":image_modifyProperty_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageModifyPropertyJsTest"
}
ohos_js_assets("image_modifyProperty_js_assets") {
source_dir = "./src/main/js/default"
}
ohos_resources("image_modifyProperty_resources") {
sources = [ "./src/main/resources" ]
hap_profile = "./src/main/config.json"
}
\ No newline at end of file
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("image_modifyProperty_js_hap") {
hap_profile = "./src/main/config.json"
deps = [
":image_modifyProperty_js_assets",
":image_modifyProperty_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageModifyPropertyJsTest"
}
ohos_js_assets("image_modifyProperty_js_assets") {
source_dir = "./src/main/js/default"
}
ohos_resources("image_modifyProperty_resources") {
sources = [ "./src/main/resources" ]
hap_profile = "./src/main/config.json"
}
......@@ -899,6 +899,7 @@ describe('Image', function () {
it('modify_01_020', 0, async function (done) {
modifyImageProperty_err_promise(done, "modify_01_020", "buffer", "GPSLongitudeRef", "1234")
})
/**
* @tc.number : modify_02_011
* @tc.name : modifyImageProperty-callback
......@@ -1038,6 +1039,7 @@ describe('Image', function () {
it('modify_02_020', 0, async function (done) {
modifyImageProperty_err_cb(done, "modify_02_020", "buffer", "GPSLatitudeRef", "456")
})
/**
* @tc.number : modify_03_011
* @tc.name : modifyImageProperty()-callback
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册