From aeebd11a52bff99bc186a243bd4a56eb9264cf09 Mon Sep 17 00:00:00 2001 From: fulizhong Date: Fri, 25 Mar 2022 15:19:59 +0800 Subject: [PATCH] modify videoPlayer testcase Signed-off-by: FULIZHONG Signed-off-by: fulizhong --- .../src/main/js/test/VideoPlayerFuncPromiseTest.test.js | 4 ++++ 1 file changed, 4 insertions(+) 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 cafeb8d29..8c031160b 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 @@ -826,6 +826,10 @@ describe('VideoPlayerFuncPromiseTest', function () { for (let i = 0; i < arrayDescription.length; i++) { printfDescription(arrayDescription[i]); } + + await videoPlayer.release().then(() => { + console.info('case release called!!'); + }, failureCallback).catch(catchCallback); done(); }) -- GitLab