From 17bf8f06992699cd9897e710ad4534751f1a90a2 Mon Sep 17 00:00:00 2001 From: qinliwen Date: Mon, 30 May 2022 15:42:19 +0800 Subject: [PATCH] =?UTF-8?q??= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: qinliwen --- .../image/image_js_standard/image/Test.json | 15 +++++++-------- .../imageDecodeOptions/Test.json | 15 +++++++-------- .../src/main/js/test/image.test.js | 4 ++-- .../image/image_js_standard/imageExif/Test.json | 15 +++++++-------- 4 files changed, 23 insertions(+), 26 deletions(-) diff --git a/multimedia/image/image_js_standard/image/Test.json b/multimedia/image/image_js_standard/image/Test.json index fb892ef7d..abff28aab 100644 --- a/multimedia/image/image_js_standard/image/Test.json +++ b/multimedia/image/image_js_standard/image/Test.json @@ -7,6 +7,13 @@ "shell-timeout": "120000" }, "kits": [ + { + "test-file-name": [ + "ActsImageJsTest.hap" + ], + "type": "AppInstallKit", + "cleanup-apps": true + }, { "type": "ShellKit", "run-command": [ @@ -42,14 +49,6 @@ "teardown-command":[ ] - }, - - { - "test-file-name": [ - "ActsImageJsTest.hap" - ], - "type": "AppInstallKit", - "cleanup-apps": true } ] diff --git a/multimedia/image/image_js_standard/imageDecodeOptions/Test.json b/multimedia/image/image_js_standard/imageDecodeOptions/Test.json index cda7c7218..715122676 100644 --- a/multimedia/image/image_js_standard/imageDecodeOptions/Test.json +++ b/multimedia/image/image_js_standard/imageDecodeOptions/Test.json @@ -7,6 +7,13 @@ "shell-timeout": "120000" }, "kits": [ + { + "test-file-name": [ + "ActsImageDecodeOptionsJsTest.hap" + ], + "type": "AppInstallKit", + "cleanup-apps": true + }, { "type": "ShellKit", "run-command": [ @@ -39,14 +46,6 @@ "teardown-command":[ ] - }, - - { - "test-file-name": [ - "ActsImageDecodeOptionsJsTest.hap" - ], - "type": "AppInstallKit", - "cleanup-apps": true } ] diff --git a/multimedia/image/image_js_standard/imageDecodeOptions/src/main/js/test/image.test.js b/multimedia/image/image_js_standard/imageDecodeOptions/src/main/js/test/image.test.js index b911fdb14..555f137c5 100644 --- a/multimedia/image/image_js_standard/imageDecodeOptions/src/main/js/test/image.test.js +++ b/multimedia/image/image_js_standard/imageDecodeOptions/src/main/js/test/image.test.js @@ -2236,7 +2236,7 @@ describe('Image', function () { let decodingOptions = { sampleSize:1, editable: true, - desiredSize:{ width:10000, height:10000}, + desiredSize:{ width:1500, height:1500}, rotate:10, desiredPixelFormat:2, desiredRegion: { size: { height: 1, width: 2 }, x: 0, y: 0 }, @@ -2788,7 +2788,7 @@ describe('Image', function () { let decodingOptions = { sampleSize:1, editable: true, - desiredSize:{ width:500, height:500}, + desiredSize:{ width:1300, height:1700}, rotate:10, desiredPixelFormat:2, desiredRegion: { size: { height: 1, width: 2 }, x: 0, y: 0 }, diff --git a/multimedia/image/image_js_standard/imageExif/Test.json b/multimedia/image/image_js_standard/imageExif/Test.json index 496ad7314..380037606 100644 --- a/multimedia/image/image_js_standard/imageExif/Test.json +++ b/multimedia/image/image_js_standard/imageExif/Test.json @@ -7,6 +7,13 @@ "shell-timeout": "120000" }, "kits": [ + { + "test-file-name": [ + "ActsImageExifJsTest.hap" + ], + "type": "AppInstallKit", + "cleanup-apps": true + }, { "type": "ShellKit", "run-command": [ @@ -31,14 +38,6 @@ "teardown-command":[ ] - }, - - { - "test-file-name": [ - "ActsImageExifJsTest.hap" - ], - "type": "AppInstallKit", - "cleanup-apps": true } ] -- GitLab