From 3658bd0eeaa4cee7efa1f874fbe1a39a8e2f9888 Mon Sep 17 00:00:00 2001 From: ling990 Date: Thu, 5 May 2022 11:00:20 +0800 Subject: [PATCH] modify testcases Signed-off-by: ling990 Signed-off-by: ling990 --- .../src/main/js/test/AudioEncoderFuncCallbackTest.test.js | 1 - .../src/main/js/test/AudioEncoderFuncPromiseTest.test.js | 1 - .../src/main/js/test/AudioEncoderMultiInstancesTest.test.js | 1 - 3 files changed, 3 deletions(-) diff --git a/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncCallbackTest.test.js b/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncCallbackTest.test.js index 6951f4987..3286b5b13 100644 --- a/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncCallbackTest.test.js +++ b/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncCallbackTest.test.js @@ -350,7 +350,6 @@ describe('AudioEncoderFuncCallback', function () { } } else{ - writeHead(savepath, outputobject.length); writeFile(savepath, outputobject.data, outputobject.length); console.info("write to file success"); } diff --git a/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncPromiseTest.test.js b/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncPromiseTest.test.js index c7ba66cce..478f5c05b 100644 --- a/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncPromiseTest.test.js +++ b/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncPromiseTest.test.js @@ -354,7 +354,6 @@ describe('AudioEncoderFuncPromise', function () { } } else{ - writeHead(savepath, outputobject.length); writeFile(savepath, outputobject.data, outputobject.length); console.info("write to file success"); } diff --git a/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderMultiInstancesTest.test.js b/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderMultiInstancesTest.test.js index 3a110986a..a426b5217 100644 --- a/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderMultiInstancesTest.test.js +++ b/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderMultiInstancesTest.test.js @@ -246,7 +246,6 @@ describe('AudioEncoderFuncPromise', function () { } } else{ - writeHead(savepath, outputobject.length); writeFile(savepath, outputobject.data, outputobject.length); console.info("write to file success"); } -- GitLab