From e44c6c56966afe23f35fea11e2b79f1192c308f8 Mon Sep 17 00:00:00 2001 From: 15754133731 Date: Tue, 21 Mar 2023 20:23:28 +0800 Subject: [PATCH] =?UTF-8?q?<=E7=94=A8=E4=BE=8B=E9=80=82=E9=85=8D>?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 15754133731 --- .../src/main/js/test/PlayerLocalTestAudioFUNC.test.js | 4 ++-- .../src/main/js/test/VideoPlayerFuncCallbackTest.test.js | 2 +- .../src/main/js/test/VideoPlayerFuncPromiseTest.test.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFUNC.test.js b/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFUNC.test.js index 74a8fb823..f8137110a 100644 --- a/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFUNC.test.js +++ b/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFUNC.test.js @@ -157,7 +157,7 @@ describe('PlayerLocalTestAudioFUNC', function () { console.info('case getTrackDescription called!!'); if (typeof (arrayList) != 'undefined') { for (let i = 0; i < arrayList.length; i++) { - mediaTestBase.checkDescription(arrayList[i], descriptionKey[i], descriptionValue[i]); + mediaTestBase.checkOldDescription(arrayList[i], descriptionKey[i], descriptionValue[i]); } } else { console.info('case getTrackDescription is failed'); @@ -171,7 +171,7 @@ describe('PlayerLocalTestAudioFUNC', function () { audioPlayer.getTrackDescription((err, arrayList) => { if (typeof (err) == 'undefined') { for (let i = 0; i < arrayList.length; i++) { - mediaTestBase.checkDescription(arrayList[i], descriptionKey[i], descriptionValue[i]); + mediaTestBase.checkOldDescription(arrayList[i], descriptionKey[i], descriptionValue[i]); } nextStep(mySteps, done); } else { diff --git a/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncCallbackTest.test.js b/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncCallbackTest.test.js index 8b244f9dd..f07f3bb3d 100644 --- a/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncCallbackTest.test.js +++ b/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncCallbackTest.test.js @@ -243,7 +243,7 @@ describe('VideoPlayerFuncCallbackTest', function () { videoPlayer.getTrackDescription((err, arrlist) => { if (err == null) { for (let i = 0; i < arrlist.length; i++) { - mediaTestBase.checkDescription(arrlist[i], descriptionKey[i], descriptionValue[i]); + mediaTestBase.checkOldDescription(arrlist[i], descriptionKey[i], descriptionValue[i]); } toNextStep(videoPlayer, steps, done); } else if ((err != null) && (steps[0] == ERROR_EVENT)) { diff --git a/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncPromiseTest.test.js b/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncPromiseTest.test.js index 2efd7a623..99be7d6f9 100644 --- a/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncPromiseTest.test.js +++ b/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncPromiseTest.test.js @@ -509,7 +509,7 @@ describe('VideoPlayerFuncPromiseTest', function () { }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); for (let i = 0; i < arrayDescription.length; i++) { - mediaTestBase.checkDescription(arrayDescription[i], descriptionKey[i], descriptionValue[i]); + mediaTestBase.checkOldDescription(arrayDescription[i], descriptionKey[i], descriptionValue[i]); } await videoPlayer.release().then(() => { -- GitLab