diff --git a/multimedia/audio/audio_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFUNC.test.js b/multimedia/audio/audio_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFUNC.test.js index d1300ece3a4d0c3e26a61e171df020091983b745..473b72b821f435d8d46060a4ef6c7387872e0024 100644 --- a/multimedia/audio/audio_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFUNC.test.js +++ b/multimedia/audio/audio_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFUNC.test.js @@ -119,7 +119,7 @@ describe('PlayerLocalTestAudioFUNC', function () { audioPlayer.loop = mySteps[SECOND_INDEX]; mySteps.shift(); mySteps.shift(); - nextStep(mySteps); + nextStep(mySteps,done); break; default: break; diff --git a/multimedia/audio/audio_js_standard/audioPlayer_API/src/main/js/test/PlayerLocalTestAudioAPI.test.js b/multimedia/audio/audio_js_standard/audioPlayer_API/src/main/js/test/PlayerLocalTestAudioAPI.test.js index 926ad35a345a3660c3b025a3ab59b63b36fd6cce..dc3b519ed172a111274314d9d574854093b7914a 100644 --- a/multimedia/audio/audio_js_standard/audioPlayer_API/src/main/js/test/PlayerLocalTestAudioAPI.test.js +++ b/multimedia/audio/audio_js_standard/audioPlayer_API/src/main/js/test/PlayerLocalTestAudioAPI.test.js @@ -114,14 +114,14 @@ describe('PlayerLocalTestAudioAPI', function () { mySteps.shift(); audioPlayer.release(); audioPlayer = undefined; - nextStep(mySteps); + nextStep(mySteps,done); break; case LOOP_STATE: loopValue = mySteps[SECOND_INDEX]; mySteps.shift(); mySteps.shift(); audioPlayer.loop = loopValue; - nextStep(mySteps); + nextStep(mySteps,done); break; default: break; @@ -223,7 +223,7 @@ describe('PlayerLocalTestAudioAPI', function () { mySteps.shift(); mySteps.shift(); mySteps.shift(); - nextStep(mySteps); + nextStep(mySteps,done); } else if (mySteps[0] == ERROR_STATE) { mySteps.shift(); } else if (mySteps[0] == END_STATE) { @@ -635,7 +635,7 @@ describe('PlayerLocalTestAudioAPI', function () { initAudioPlayer(); expect(audioPlayer.src).assertEqual(undefined); expect(audioPlayer.duration).assertEqual(undefined); - expect(audioPlayer.currentTime).assertEqual(undefined); + expect(audioPlayer.currentTime).assertEqual(0); expect(audioPlayer.state).assertEqual('idle'); expect(audioPlayer.loop).assertEqual(false); done();