From 91940650232a908e39c2fd25c0aaf75e9eadfc0f Mon Sep 17 00:00:00 2001 From: fulizhong Date: Fri, 19 Aug 2022 09:41:04 +0800 Subject: [PATCH] modify testcases Signed-off-by: FULIZHONG Signed-off-by: fulizhong --- .../media_js_standard/AudioPlayerTestBase.js | 2 +- ...oderFormatCompatibilityPromiseTest.test.js | 8 +- ...oderFormatCompatibilityPromiseTest.test.js | 4 +- .../main/js/test/AudioDecoderEnumTest.test.js | 12 +- .../AudioDecoderFormatCallbackTest.test.js | 32 +- .../AudioDecoderFormatPromiseTest.test.js | 32 +- .../test/AudioDecoderFuncCallbackTest.test.js | 32 +- .../test/AudioDecoderFuncPromiseTest.test.js | 32 +- .../AudioDecoderMultiInstancesTest.test.js | 4 +- ...udioDecoderReliabilityCallbackTest.test.js | 216 +++--- ...AudioDecoderReliabilityPromiseTest.test.js | 216 +++--- .../test/AudioEncoderFuncCallbackTest.test.js | 28 +- .../test/AudioEncoderFuncPromiseTest.test.js | 28 +- .../AudioEncoderMultiInstancesTest.test.js | 4 +- ...udioEncoderReliabilityCallbackTest.test.js | 216 +++--- ...AudioEncoderReliabilityPromiseTest.test.js | 216 +++--- .../js/test/PlayerLocalTestAudioAPI.test.js | 4 +- .../js/test/PlayerLocalTestAudioFUNC.test.js | 63 +- .../test/PlayerLocalTestAudioFormat.test.js | 96 +-- .../media_js_standard/audioRecorder/Test.json | 3 +- .../js/test/AudioRecorderEnumTest.test.js | 12 +- .../js/test/RecorderLocalTestAudioAPI.test.js | 42 +- .../test/RecorderLocalTestAudioFUNC.test.js | 122 ++-- .../main/js/test/AudioPlayerHLSTest.test.js | 4 +- .../js/test/VideoPlayerHLSBitrateTest.test.js | 4 +- .../js/test/VideoPlayerHLSSeekTest.test.js | 12 +- .../main/js/test/VideoPlayerHLSTest.test.js | 12 +- .../test/HttpPlayerCompatibilityTest.test.js | 32 +- .../js/test/HttpPlayerFuncPromiseTest.test.js | 44 +- ...dioRecorderFormatCompatibilityTest.test.js | 24 +- .../test/ProfileAbnormalTestCallback.test.js | 76 +-- .../test/ProfileAbnormalTestPromise.test.js | 76 +-- .../VideoDecoderFormatPromiseTest.test.js | 44 +- .../VideoEncoderFormatPromiseTest.test.js | 16 +- .../main/js/test/VideoDecoderEnumTest.test.js | 4 +- .../test/VideoDecoderFuncCallbackTest.test.js | 12 +- .../test/VideoDecoderFuncPromiseTest.test.js | 16 +- .../test/VideoDecoderReliCallbackTest.test.js | 236 +++---- .../test/VideoDecoderReliPromiseTest.test.js | 236 +++---- ...deoDecoderSoftwareFuncCallbackTest.test.js | 20 +- ...ideoDecoderSoftwareFuncPromiseTest.test.js | 20 +- ...deoDecoderSoftwareReliCallbackTest.test.js | 236 +++---- ...ideoDecoderSoftwareReliPromiseTest.test.js | 236 +++---- .../main/js/test/VideoEncoderEnumTest.test.js | 2 +- ...ideoEncoderHardwareFuncPromiseTest.test.js | 32 +- .../VideoEncoderMultiInstancesTest.test.js | 4 +- ...deoEncoderSoftwareFuncCallbackTest.test.js | 30 +- ...ideoEncoderSoftwareFuncPromiseTest.test.js | 32 +- ...derSoftwareReliabilityCallbackTest.test.js | 232 +++---- ...oderSoftwareReliabilityPromiseTest.test.js | 264 ++++---- .../test/VideoHardwareEncoderEnumTest.test.js | 4 +- .../test/VideoPlayerAPICallbackTest.test.js | 633 +++++++++++------- .../main/js/test/VideoPlayerEnumTest.test.js | 34 +- .../test/VideoPlayerFuncCallbackTest.test.js | 70 +- .../test/VideoPlayerFuncPromiseTest.test.js | 455 ++++++++++++- .../test/VideoRecorderAPICallbackTest.test.js | 224 +++---- .../js/test/VideoRecorderEnumTest.test.js | 12 +- .../VideoRecorderFuncCallbackTest.test.js | 96 +-- .../test/VideoRecorderFuncPromiseTest.test.js | 100 +-- 59 files changed, 2823 insertions(+), 2185 deletions(-) diff --git a/multimedia/media/media_js_standard/AudioPlayerTestBase.js b/multimedia/media/media_js_standard/AudioPlayerTestBase.js index f9dc9e298..a67be4e01 100644 --- a/multimedia/media/media_js_standard/AudioPlayerTestBase.js +++ b/multimedia/media/media_js_standard/AudioPlayerTestBase.js @@ -39,7 +39,7 @@ export function playAudioSource(src, duration, playTime, checkSeekTime, done) { } audioPlayer.on('dataLoad', () => { console.info('case set source success'); - expect(audioPlayer.state).assertEqual('paused'); + expect(audioPlayer.state).assertEqual('idle'); expect(audioPlayer.currentTime).assertEqual(0); expect(audioPlayer.duration).assertClose(duration, 500); // step 0: dataLoad -> play diff --git a/multimedia/media/media_js_standard/audioCodecFormat/src/main/js/test/AudioDecoderFormatCompatibilityPromiseTest.test.js b/multimedia/media/media_js_standard/audioCodecFormat/src/main/js/test/AudioDecoderFormatCompatibilityPromiseTest.test.js index a3f5842c4..ddaaa088f 100644 --- a/multimedia/media/media_js_standard/audioCodecFormat/src/main/js/test/AudioDecoderFormatCompatibilityPromiseTest.test.js +++ b/multimedia/media/media_js_standard/audioCodecFormat/src/main/js/test/AudioDecoderFormatCompatibilityPromiseTest.test.js @@ -2443,14 +2443,14 @@ describe('AudioDecoderFormatCompatibilityPromise', function () { } /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FORMAT_COMPATIBILITY_AAC_PROMISE_01_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_COMPATIBILITY_AAC_PROMISE_0100 * @tc.name : 001.test AAC format compatibility * @tc.desc : audio decoder format compatibility test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FORMAT_COMPATIBILITY_AAC_PROMISE_01_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_COMPATIBILITY_AAC_PROMISE_0100', 0, async function (done) { console.log("case test AAC format compatibility"); await getFormatCaps('audio/mp4a-latm'); ES_DICT = AAC_ES_DICT; @@ -2476,14 +2476,14 @@ describe('AudioDecoderFormatCompatibilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FORMAT_COMPATIBILITY_FLAC_PROMISE_01_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_COMPATIBILITY_FLAC_PROMISE_0100 * @tc.name : 001.test FLAC format compatibility * @tc.desc : audio decoder format compatibility test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FORMAT_COMPATIBILITY_FLAC_PROMISE_01_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_COMPATIBILITY_FLAC_PROMISE_0100', 0, async function (done) { console.log("case test FLAC format compatibility"); await getFormatCaps('audio/flac'); ES_DICT = FLAC_ES_DICT; diff --git a/multimedia/media/media_js_standard/audioCodecFormat/src/main/js/test/AudioEncoderFormatCompatibilityPromiseTest.test.js b/multimedia/media/media_js_standard/audioCodecFormat/src/main/js/test/AudioEncoderFormatCompatibilityPromiseTest.test.js index a166b59ab..07d6febc6 100644 --- a/multimedia/media/media_js_standard/audioCodecFormat/src/main/js/test/AudioEncoderFormatCompatibilityPromiseTest.test.js +++ b/multimedia/media/media_js_standard/audioCodecFormat/src/main/js/test/AudioEncoderFormatCompatibilityPromiseTest.test.js @@ -386,14 +386,14 @@ describe('AudioEncoderFormatCompatibilityPromise', function () { } /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_FORMAT_COMPATIBILITY_AAC_PROMISE_01_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FORMAT_COMPATIBILITY_AAC_PROMISE_0100 * @tc.name : 01.test acc format compatibility * @tc.desc : audio encoder format compatibility test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_ENCODER_FORMAT_COMPATIBILITY_AAC_PROMISE_01_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FORMAT_COMPATIBILITY_AAC_PROMISE_0100', 0, async function (done) { console.info("case test acc format compatibility"); await getFormatCaps(); sampleRateList = formatSampleRate.toString().split(','); diff --git a/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderEnumTest.test.js b/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderEnumTest.test.js index 20da0d454..751206b67 100644 --- a/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderEnumTest.test.js +++ b/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderEnumTest.test.js @@ -45,14 +45,14 @@ describe('AudioDecoderEnum', function () { } /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_ENUM_AACProfile_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_ENUM_AACProfile_0100 * @tc.name : 001.AACProfile * @tc.desc : Test Enumerate AACProfile * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_ENUM_AACProfile_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_ENUM_AACProfile_0100', 0, async function (done) { expect(media.AACProfile.AAC_PROFILE_LC).assertEqual(0); expect(media.AACProfile.AAC_PROFILE_ELD).assertEqual(1); expect(media.AACProfile.AAC_PROFILE_ERLC).assertEqual(2); @@ -64,14 +64,14 @@ describe('AudioDecoderEnum', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_ENUM_AudioCaps_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_ENUM_AudioCaps_0100 * @tc.name : 002.AudioCaps * @tc.desc : Test Interface AudioCaps * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_ENUM_AudioCaps_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_ENUM_AudioCaps_0100', 0, async function (done) { console.info("case test Test Interface AudioCaps"); let audioDecodeProcessor; let audioCaps; @@ -131,14 +131,14 @@ describe('AudioDecoderEnum', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_ENUM_AVCodecType_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_ENUM_AVCodecType_0100 * @tc.name : 003.AVCodecType * @tc.desc : Test Enumerate AVCodecType * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_ENUM_AVCodecType_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_ENUM_AVCodecType_0100', 0, async function (done) { expect(media.AVCodecType.AVCODEC_TYPE_VIDEO_ENCODER).assertEqual(0); expect(media.AVCodecType.AVCODEC_TYPE_VIDEO_DECODER).assertEqual(1); expect(media.AVCodecType.AVCODEC_TYPE_AUDIO_ENCODER).assertEqual(2); diff --git a/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFormatCallbackTest.test.js b/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFormatCallbackTest.test.js index dab41ddaf..fe3178dda 100644 --- a/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFormatCallbackTest.test.js +++ b/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFormatCallbackTest.test.js @@ -222,14 +222,14 @@ describe('AudioDecoderFormatCallback', function () { } /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FORMAT_CALLBACK_01_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_AAC_CALLBACK_0100 * @tc.name : 001.test aac format(createbymime) * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FORMAT_CALLBACK_01_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_AAC_CALLBACK_0100', 0, async function (done) { console.log("case test aac format"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -340,14 +340,14 @@ describe('AudioDecoderFormatCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FORMAT_CALLBACK_01_0101 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_AAC_CALLBACK_0200 * @tc.name : 001.test aac format(createbyname) * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FORMAT_CALLBACK_01_0101', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_AAC_CALLBACK_0200', 0, async function (done) { console.log("case test aac format"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -458,14 +458,14 @@ describe('AudioDecoderFormatCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FORMAT_CALLBACK_01_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_FLAC_CALLBACK_0100 * @tc.name : 002.test flac format(createbymime) * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FORMAT_CALLBACK_01_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_FLAC_CALLBACK_0100', 0, async function (done) { console.log("case test flac format"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -533,14 +533,14 @@ describe('AudioDecoderFormatCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FORMAT_CALLBACK_01_0201 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_FLAC_CALLBACK_0200 * @tc.name : 002.test flac format(createbyname) * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FORMAT_CALLBACK_01_0201', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_FLAC_CALLBACK_0200', 0, async function (done) { console.log("case test flac format"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -608,14 +608,14 @@ describe('AudioDecoderFormatCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FORMAT_CALLBACK_01_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_MP3_CALLBACK_0100 * @tc.name : 003.test mp3 format(createbymime) * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FORMAT_CALLBACK_01_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_MP3_CALLBACK_0100', 0, async function (done) { console.log("test mp3 format"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -670,14 +670,14 @@ describe('AudioDecoderFormatCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FORMAT_CALLBACK_01_0301 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_MP3_CALLBACK_0200 * @tc.name : 003.test mp3 format(createbyname) * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FORMAT_CALLBACK_01_0301', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_MP3_CALLBACK_0200', 0, async function (done) { console.log("test mp3 format"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -732,14 +732,14 @@ describe('AudioDecoderFormatCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FORMAT_CALLBACK_01_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_VORBIS_CALLBACK_0100 * @tc.name : 004.test vorbis format(createbymime) * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FORMAT_CALLBACK_01_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_VORBIS_CALLBACK_0100', 0, async function (done) { console.log("test vorbis format"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -837,14 +837,14 @@ describe('AudioDecoderFormatCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FORMAT_CALLBACK_01_0401 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_VORBIS_CALLBACK_0200 * @tc.name : 004.test vorbis format(createbyname) * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FORMAT_CALLBACK_01_0401', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_VORBIS_CALLBACK_0200', 0, async function (done) { console.log("test vorbis format"); let events = require('events'); let eventEmitter = new events.EventEmitter(); diff --git a/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFormatPromiseTest.test.js b/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFormatPromiseTest.test.js index fa147655b..29159a021 100644 --- a/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFormatPromiseTest.test.js +++ b/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFormatPromiseTest.test.js @@ -229,14 +229,14 @@ describe('AudioDecoderFormatPromise', function () { } /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FORMAT_PROMISE_01_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_AAC_PROMISE_0100 * @tc.name : 001.test aac format(createbymime) * @tc.desc : decode format test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FORMAT_PROMISE_01_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_AAC_PROMISE_0100', 0, async function (done) { console.log("case test aac format"); let mediaDescription = { "channel_count": 2, @@ -328,14 +328,14 @@ describe('AudioDecoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FORMAT_PROMISE_01_0101 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_AAC_PROMISE_0200 * @tc.name : 001.test aac format(createbyname) * @tc.desc : decode format test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FORMAT_PROMISE_01_0101', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_AAC_PROMISE_0200', 0, async function (done) { console.log("case test aac format"); let mediaDescription = { "channel_count": 2, @@ -427,14 +427,14 @@ describe('AudioDecoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FORMAT_PROMISE_01_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_FLAC_PROMISE_0100 * @tc.name : 002.test flac format(createbymime) * @tc.desc : decode format test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FORMAT_PROMISE_01_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_FLAC_PROMISE_0100', 0, async function (done) { console.log("case test flac format"); let mediaDescription = { "channel_count": 1, @@ -484,14 +484,14 @@ describe('AudioDecoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FORMAT_PROMISE_01_0201 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_FLAC_PROMISE_0200 * @tc.name : 002.test flac format(createbyname) * @tc.desc : decode format test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FORMAT_PROMISE_01_0201', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_FLAC_PROMISE_0200', 0, async function (done) { console.log("case test flac format"); let mediaDescription = { "channel_count": 1, @@ -541,14 +541,14 @@ describe('AudioDecoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FORMAT_PROMISE_01_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_MP3_PROMISE_0100 * @tc.name : 003.test mp3 format(createbymime) * @tc.desc : decode format test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FORMAT_PROMISE_01_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_MP3_PROMISE_0100', 0, async function (done) { console.log("case test mp3 format"); let mediaDescription = { "channel_count": 2, @@ -583,14 +583,14 @@ describe('AudioDecoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FORMAT_PROMISE_01_0301 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_MP3_PROMISE_0200 * @tc.name : 003.test mp3 format(createbyname) * @tc.desc : decode format test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FORMAT_PROMISE_01_0301', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_MP3_PROMISE_0200', 0, async function (done) { console.log("case test mp3 format"); let mediaDescription = { "channel_count": 2, @@ -625,14 +625,14 @@ describe('AudioDecoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FORMAT_PROMISE_01_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_VORBIS_PROMISE_0100 * @tc.name : 004.test vorbis format(createbymime) * @tc.desc : decode format test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FORMAT_PROMISE_01_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_VORBIS_PROMISE_0100', 0, async function (done) { console.log("case test vorbis format"); let mediaDescription = { "channel_count": 1, @@ -711,14 +711,14 @@ describe('AudioDecoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FORMAT_PROMISE_01_0401 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_VORBIS_PROMISE_0200 * @tc.name : 004.test vorbis format(createbyname) * @tc.desc : decode format test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FORMAT_PROMISE_01_0401', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FORMAT_VORBIS_PROMISE_0200', 0, async function (done) { console.log("case test vorbis format"); let mediaDescription = { "channel_count": 1, diff --git a/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFuncCallbackTest.test.js b/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFuncCallbackTest.test.js index b347bea70..c9dca9a6e 100644 --- a/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFuncCallbackTest.test.js +++ b/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFuncCallbackTest.test.js @@ -484,14 +484,14 @@ describe('AudioDecoderFuncCallback', function () { } /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_00_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_0100 * @tc.name : 000.test set EOS after last frame and reset * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_0100', 0, async function (done) { console.info("case test set EOS after last frame and reset"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -566,14 +566,14 @@ describe('AudioDecoderFuncCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_01_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_0200 * @tc.name : 001.test set EOS manually before last frame and reset * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_01_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_0200', 0, async function (done) { console.info("case test set EOS manually before last frame and reset"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -638,14 +638,14 @@ describe('AudioDecoderFuncCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_01_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_0300 * @tc.name : 002.test flush at running state * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_01_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_0300', 0, async function (done) { console.info("case test flush at running state"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -712,14 +712,14 @@ describe('AudioDecoderFuncCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_01_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_0400 * @tc.name : 003. test flush at EOS state * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_01_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_0400', 0, async function (done) { console.info("case test flush at EOS state"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -772,14 +772,14 @@ describe('AudioDecoderFuncCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_01_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_0500 * @tc.name : 004. test stop at running state and reset * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_01_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_0500', 0, async function (done) { console.info("case test stop at running state and reset"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -856,14 +856,14 @@ describe('AudioDecoderFuncCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_01_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_0600 * @tc.name : 005. test stop and restart * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_01_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_0600', 0, async function (done) { console.info("case test start - stop - restart"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -937,14 +937,14 @@ describe('AudioDecoderFuncCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_01_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_0700 * @tc.name : 006. test reconfigure for new file with the same format * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_01_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_0700', 0, async function (done) { console.info("case test reconfigure codec for new file with the same format"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -1039,14 +1039,14 @@ describe('AudioDecoderFuncCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_01_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_0800 * @tc.name : 007. test reconfigure for new file with different formats * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_01_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_CALLBACK_0800', 0, async function (done) { console.info("case test reconfigure codec for new file with different format"); let events = require('events'); let eventEmitter = new events.EventEmitter(); diff --git a/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFuncPromiseTest.test.js b/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFuncPromiseTest.test.js index 31615d84a..e325067ae 100644 --- a/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFuncPromiseTest.test.js +++ b/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFuncPromiseTest.test.js @@ -483,14 +483,14 @@ describe('AudioDecoderFuncPromise', function () { } /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_00_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_0100 * @tc.name : 000.test set EOS after last frame and reset * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_0100', 0, async function (done) { console.info("case test set EOS after last frame and reset"); let mediaDescription = { "channel_count": 2, @@ -542,14 +542,14 @@ describe('AudioDecoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_01_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_0200 * @tc.name : 001.test set EOS manually before last frame and reset * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_01_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_0200', 0, async function (done) { console.info("case test set EOS manually before last frame and reset"); let mediaDescription = { "channel_count": 2, @@ -583,14 +583,14 @@ describe('AudioDecoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_01_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_0300 * @tc.name : 002.test flush at running state * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_01_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_0300', 0, async function (done) { console.info("case test flush at running state"); let mediaDescription = { "channel_count": 2, @@ -634,14 +634,14 @@ describe('AudioDecoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_01_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_0400 * @tc.name : 003. test flush at EOS state * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_01_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_0400', 0, async function (done) { console.info("case test flush at EOS state"); let mediaDescription = { "channel_count": 2, @@ -674,14 +674,14 @@ describe('AudioDecoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_01_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_0500 * @tc.name : 004. test stop at running state and reset * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_01_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_0500', 0, async function (done) { console.info("case test stop at running state and reset"); let mediaDescription = { "channel_count": 2, @@ -726,14 +726,14 @@ describe('AudioDecoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_01_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_0600 * @tc.name : 005. test stop and restart * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_01_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_0600', 0, async function (done) { console.info("case test stop and restart"); let mediaDescription = { "channel_count": 2, @@ -781,14 +781,14 @@ describe('AudioDecoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_01_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_0700 * @tc.name : 006. test reconfigure for new file with the same format * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_01_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_0700', 0, async function (done) { console.info("case test reconfigure codec for new file with the same format"); let mediaDescription = { "channel_count": 2, @@ -862,14 +862,14 @@ describe('AudioDecoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_01_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_0800 * @tc.name : 007. test reconfigure for new file with different formats * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_01_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_FUNCTION_PROMISE_0800', 0, async function (done) { console.info("case test reconfigure codec for new file with different formats"); let mediaDescription = { "channel_count": 2, diff --git a/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderMultiInstancesTest.test.js b/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderMultiInstancesTest.test.js index af007c737..8b7cbde45 100644 --- a/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderMultiInstancesTest.test.js +++ b/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderMultiInstancesTest.test.js @@ -235,14 +235,14 @@ describe('AudioDecoderMultiInstances', function () { } /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_MULTIINSTANCE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_MULTIINSTANCE_0100 * @tc.name : 001.create multiple decoders * @tc.desc : basic decode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_MULTIINSTANCE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_MULTIINSTANCE_0100', 0, async function (done) { console.info("case test multiple instances"); let array = new Array(); for (let i = 0; i < 2; i += 1) { diff --git a/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderReliabilityCallbackTest.test.js b/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderReliabilityCallbackTest.test.js index d8c2f259b..ea96afdd5 100644 --- a/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderReliabilityCallbackTest.test.js +++ b/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderReliabilityCallbackTest.test.js @@ -582,84 +582,84 @@ describe('AudioDecoderReliabilityCallback', function () { } /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0100 * @tc.name : 001.create -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0100', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0100.pcm'; let mySteps = new Array(CONFIGURE, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0200 * @tc.name : 002.prepare -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0200', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0200.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, CONFIGURE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0300 * @tc.name : 003.start -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0300', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0300.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, CONFIGURE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0400 * @tc.name : 004.flush -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0400', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0400.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, CONFIGURE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0500 * @tc.name : 005.stop -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0500', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0500.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP ,CONFIGURE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0600 * @tc.name : 006.EOS -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0600', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0600.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, CONFIGURE_ERROR, END); EOSFrameNum = 2; @@ -667,140 +667,140 @@ describe('AudioDecoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0700 * @tc.name : 007.reset -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0700', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0700.pcm'; let mySteps = new Array(RESET, CONFIGURE, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0800 * @tc.name : 008.configure -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0800', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0800.pcm'; let mySteps = new Array(CONFIGURE, CONFIGURE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0900 * @tc.name : 009.configure -> reset -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_CALLBACK_0900', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0900.pcm'; let mySteps = new Array(CONFIGURE, RESET, CONFIGURE, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0100 * @tc.name : 001.create -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0100', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0100.pcm'; let mySteps = new Array(PREPARE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0200 * @tc.name : 002.configure -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0200', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0200.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0300 * @tc.name : 003.prepare -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0300', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0300.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, PREPARE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0400 * @tc.name : 004.start -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0400', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0400.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, PREPARE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0500 * @tc.name : 005.flush -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0500', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0500.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, PREPARE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0600 * @tc.name : 006.stop -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0600', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0600.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, PREPARE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0700 * @tc.name : 007.EOS -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0700', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0700.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, PREPARE_ERROR, END); EOSFrameNum = 2; @@ -808,56 +808,56 @@ describe('AudioDecoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0800 * @tc.name : 008.reset -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_CALLBACK_0800', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0800.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, PREPARE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0100 * @tc.name : 001.create -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0100', 0, async function (done) { let savepath = BASIC_PATH + 'start_0100.pcm'; let mySteps = new Array(START_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0200 * @tc.name : 002.configure -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0200', 0, async function (done) { let savepath = BASIC_PATH + 'start_0200.pcm'; let mySteps = new Array(CONFIGURE, START_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0300 * @tc.name : 003.prepare -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0300', 0, async function (done) { let savepath = BASIC_PATH + 'start_0300.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, WAITFORALLOUTS); workdoneAtEOS = true; @@ -865,42 +865,42 @@ describe('AudioDecoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0400 * @tc.name : 004.start -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0400', 0, async function (done) { let savepath = BASIC_PATH + 'start_0400.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, START_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0500 * @tc.name : 005.flush -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0500', 0, async function (done) { let savepath = BASIC_PATH + 'start_0500.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, START, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0600 * @tc.name : 006.stop -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0600', 0, async function (done) { let savepath = BASIC_PATH + 'start_0600.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, START, WAITFORALLOUTS); workdoneAtEOS = true; @@ -908,14 +908,14 @@ describe('AudioDecoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0700 * @tc.name : 007.EOS -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0700', 0, async function (done) { let savepath = BASIC_PATH + 'start_0700.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, START_ERROR, END); EOSFrameNum = 2; @@ -923,70 +923,70 @@ describe('AudioDecoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0800 * @tc.name : 008.reset -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_CALLBACK_0800', 0, async function (done) { let savepath = BASIC_PATH + 'start_0800.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, START_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0100 * @tc.name : 001.create -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0100', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0100.pcm'; let mySteps = new Array(FLUSH_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0200 * @tc.name : 002.configure -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0200', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0200.pcm'; let mySteps = new Array(CONFIGURE, FLUSH_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0300 * @tc.name : 003.prepare -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0300', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0300.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, FLUSH_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0400 * @tc.name : 004.start -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0400', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0400.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, START, WAITFORALLOUTS); workdoneAtEOS = true; @@ -994,14 +994,14 @@ describe('AudioDecoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0500 * @tc.name : 005.flush -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0500', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0500.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, START, FLUSH, START, WAITFORALLOUTS); workdoneAtEOS = true; @@ -1009,28 +1009,28 @@ describe('AudioDecoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0600 * @tc.name : 006.stop -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0600', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0600.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP ,FLUSH_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0700 * @tc.name : 007.EOS -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0700', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0700.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, FLUSH, START, END); EOSFrameNum = 2; @@ -1038,112 +1038,112 @@ describe('AudioDecoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0800 * @tc.name : 008.reset -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_CALLBACK_0800', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0800.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, FLUSH_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0100 * @tc.name : 001.create -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0100', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0100.pcm'; let mySteps = new Array(STOP_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0200 * @tc.name : 002.configure -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0200', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0200.pcm'; let mySteps = new Array(CONFIGURE, STOP_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0300 * @tc.name : 003.prepare -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0300', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0300.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, STOP_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0400 * @tc.name : 004.start -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0400', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0400.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0500 * @tc.name : 005.flush -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0500', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0500.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, STOP, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0600 * @tc.name : 006.stop -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0600', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0600.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, STOP_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0700 * @tc.name : 007.EOS -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0700', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0700.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, STOP, END); EOSFrameNum = 2; @@ -1151,112 +1151,112 @@ describe('AudioDecoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0800 * @tc.name : 008.reset -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_CALLBACK_0800', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0800.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, STOP_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0100 * @tc.name : 001.create -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0100', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0100.pcm'; let mySteps = new Array(RESET, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0200 * @tc.name : 002.configure -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0200', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0200.pcm'; let mySteps = new Array(CONFIGURE, RESET, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0300 * @tc.name : 003.prepare -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0300', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0300.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, RESET, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0400 * @tc.name : 004.start -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0400', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0400.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0500 * @tc.name : 005.flush -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0500', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0500.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, RESET, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0600 * @tc.name : 006.stop -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0600', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0600.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, RESET, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0700 * @tc.name : 007.EOS -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0700', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0700.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, RESET, END); EOSFrameNum = 2; @@ -1264,28 +1264,28 @@ describe('AudioDecoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0800 * @tc.name : 008.reset -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_CALLBACK_0800', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0800.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, RESET, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0100 * @tc.name : 001.EOS -> flush -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0100', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0100.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, FLUSH, STOP, END); EOSFrameNum = 2; @@ -1293,14 +1293,14 @@ describe('AudioDecoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0200 * @tc.name : 002.EOS -> flush -> EOS * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0200', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0200.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, FLUSH, END); EOSFrameNum = 2; @@ -1309,14 +1309,14 @@ describe('AudioDecoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0300 * @tc.name : 003.EOS -> reset -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0300', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0300.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, RESET, CONFIGURE, END); EOSFrameNum = 2; @@ -1324,14 +1324,14 @@ describe('AudioDecoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0400 * @tc.name : 004.EOS -> stop -> start -> EOS * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0400', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0400.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, STOP, START, END); EOSFrameNum = 2; @@ -1339,14 +1339,14 @@ describe('AudioDecoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0500 * @tc.name : 005.EOS -> stop -> start -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_CALLBACK_0500', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0500.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, STOP, START, STOP, END); EOSFrameNum = 2; diff --git a/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderReliabilityPromiseTest.test.js b/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderReliabilityPromiseTest.test.js index a8e2074f1..6ad1811b0 100644 --- a/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderReliabilityPromiseTest.test.js +++ b/multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderReliabilityPromiseTest.test.js @@ -588,84 +588,84 @@ describe('AudioDecoderReliabilityPromise', function () { } /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0100 * @tc.name : 001.create -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0100.pcm'; let mySteps = new Array(CONFIGURE, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0200 * @tc.name : 002.prepare -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0200.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, CONFIGURE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0300 * @tc.name : 003.start -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0300.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, CONFIGURE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0400 * @tc.name : 004.flush -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0400.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, CONFIGURE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0500 * @tc.name : 005.stop -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0500.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP ,CONFIGURE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0600 * @tc.name : 006.EOS -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0600', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0600.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, CONFIGURE_ERROR, END); EOSFrameNum = 2; @@ -673,140 +673,140 @@ describe('AudioDecoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0700 * @tc.name : 007.reset -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0700', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0700.pcm'; let mySteps = new Array(RESET, CONFIGURE, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0800 * @tc.name : 008.configure -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0800', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0800.pcm'; let mySteps = new Array(CONFIGURE, CONFIGURE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0900 * @tc.name : 009.configure -> reset -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_CONFIGURE_PROMISE_0900', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0900.pcm'; let mySteps = new Array(CONFIGURE, RESET, CONFIGURE, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0100 * @tc.name : 001.create -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0100.pcm'; let mySteps = new Array(PREPARE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0200 * @tc.name : 002.configure -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0200.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0300 * @tc.name : 003.prepare -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0300.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, PREPARE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0400 * @tc.name : 004.start -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0400.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, PREPARE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0500 * @tc.name : 005.flush -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0500.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, PREPARE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0600 * @tc.name : 006.stop -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0600', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0600.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, PREPARE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0700 * @tc.name : 007.EOS -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0700', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0700.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, PREPARE_ERROR, END); EOSFrameNum = 2; @@ -814,56 +814,56 @@ describe('AudioDecoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0800 * @tc.name : 008.reset -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_PREPARE_PROMISE_0800', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0800.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, PREPARE_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_START_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_PROMISE_0100 * @tc.name : 001.create -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_START_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'start_0100.pcm'; let mySteps = new Array(START_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_START_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_PROMISE_0200 * @tc.name : 002.configure -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_START_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'start_0200.pcm'; let mySteps = new Array(CONFIGURE, START_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_START_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_PROMISE_0300 * @tc.name : 003.prepare -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_START_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'start_0300.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, WAITFORALLOUTS); workdoneAtEOS = true; @@ -871,42 +871,42 @@ describe('AudioDecoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_START_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_PROMISE_0400 * @tc.name : 004.start -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_START_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'start_0400.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, START_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_START_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_PROMISE_0500 * @tc.name : 005.flush -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_START_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'start_0500.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, START, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_START_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_PROMISE_0600 * @tc.name : 006.stop -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_START_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_PROMISE_0600', 0, async function (done) { let savepath = BASIC_PATH + 'start_0600.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, START, WAITFORALLOUTS); workdoneAtEOS = true; @@ -914,14 +914,14 @@ describe('AudioDecoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_START_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_PROMISE_0700 * @tc.name : 007.EOS -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_START_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_PROMISE_0700', 0, async function (done) { let savepath = BASIC_PATH + 'start_0700.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, START_ERROR, END); EOSFrameNum = 2; @@ -929,70 +929,70 @@ describe('AudioDecoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_START_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_PROMISE_0800 * @tc.name : 008.reset -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_START_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_START_PROMISE_0800', 0, async function (done) { let savepath = BASIC_PATH + 'start_0800.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, START_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0100 * @tc.name : 001.create -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0100.pcm'; let mySteps = new Array(FLUSH_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0200 * @tc.name : 002.configure -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0200.pcm'; let mySteps = new Array(CONFIGURE, FLUSH_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0300 * @tc.name : 003.prepare -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0300.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, FLUSH_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0400 * @tc.name : 004.start -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0400.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, START, WAITFORALLOUTS); workdoneAtEOS = true; @@ -1000,14 +1000,14 @@ describe('AudioDecoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0500 * @tc.name : 005.flush -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0500.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, START, FLUSH, START, WAITFORALLOUTS); workdoneAtEOS = true; @@ -1015,28 +1015,28 @@ describe('AudioDecoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0600 * @tc.name : 006.stop -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0600', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0600.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP ,FLUSH_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0700 * @tc.name : 007.EOS -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0700', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0700.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, FLUSH, START, END); EOSFrameNum = 2; @@ -1044,112 +1044,112 @@ describe('AudioDecoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0800 * @tc.name : 008.reset -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_FLUSH_PROMISE_0800', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0800.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, FLUSH_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0100 * @tc.name : 001.create -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0100.pcm'; let mySteps = new Array(STOP_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0200 * @tc.name : 002.configure -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0200.pcm'; let mySteps = new Array(CONFIGURE, STOP_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0300 * @tc.name : 003.prepare -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0300.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, STOP_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0400 * @tc.name : 004.start -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0400.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0500 * @tc.name : 005.flush -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0500.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, STOP, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0600 * @tc.name : 006.stop -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0600', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0600.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, STOP_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0700 * @tc.name : 007.EOS -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0700', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0700.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, STOP, END); EOSFrameNum = 2; @@ -1157,112 +1157,112 @@ describe('AudioDecoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0800 * @tc.name : 008.reset -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_STOP_PROMISE_0800', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0800.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, STOP_ERROR, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0100 * @tc.name : 001.create -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0100.pcm'; let mySteps = new Array(RESET, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0200 * @tc.name : 002.configure -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0200.pcm'; let mySteps = new Array(CONFIGURE, RESET, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0300 * @tc.name : 003.prepare -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0300.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, RESET, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0400 * @tc.name : 004.start -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0400.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0500 * @tc.name : 005.flush -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0500.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, RESET, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0600 * @tc.name : 006.stop -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0600', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0600.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, RESET, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0700 * @tc.name : 007.EOS -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0700', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0700.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, RESET, END); EOSFrameNum = 2; @@ -1270,28 +1270,28 @@ describe('AudioDecoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0800 * @tc.name : 008.reset -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_RESET_PROMISE_0800', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0800.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, RESET, END); createAudioDecoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0100 * @tc.name : 001.EOS -> flush -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0100.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, FLUSH, STOP, END); EOSFrameNum = 2; @@ -1299,14 +1299,14 @@ describe('AudioDecoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0200 * @tc.name : 002.EOS -> flush -> EOS * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0200.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, FLUSH, END); EOSFrameNum = 2; @@ -1315,14 +1315,14 @@ describe('AudioDecoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0300 * @tc.name : 003.EOS -> reset -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0300.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, RESET, CONFIGURE, END); EOSFrameNum = 2; @@ -1330,14 +1330,14 @@ describe('AudioDecoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0400 * @tc.name : 004.EOS -> stop -> start -> EOS * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0400.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, STOP, START, END); EOSFrameNum = 2; @@ -1345,14 +1345,14 @@ describe('AudioDecoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0500 * @tc.name : 005.EOS -> stop -> start -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_API_EOS_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0500.pcm'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, STOP, START, STOP, END); EOSFrameNum = 2; 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 5b48e792e..bfc7580a4 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 @@ -299,14 +299,14 @@ describe('AudioEncoderFuncCallback', function () { } /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_00_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_0100 * @tc.name : 000.test set EOS after last frame and reset * @tc.desc : basic Encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_0100', 0, async function (done) { console.info("test set EOS after last frame and reset"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -383,14 +383,14 @@ describe('AudioEncoderFuncCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_01_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_0200 * @tc.name : 001.test set EOS manually before last frame and reset * @tc.desc : basic Encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_01_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_0200', 0, async function (done) { console.info("case test set EOS manually before last frame and reset"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -442,14 +442,14 @@ describe('AudioEncoderFuncCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_01_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_0300 * @tc.name : 002.test flush at running state * @tc.desc : basic Encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_01_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_0300', 0, async function (done) { console.info("case test flush at running state"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -516,14 +516,14 @@ describe('AudioEncoderFuncCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_01_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_0400 * @tc.name : 003. test flush at EOS state * @tc.desc : basic Encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_01_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_0400', 0, async function (done) { console.info("case test flush at EOS state"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -575,14 +575,14 @@ describe('AudioEncoderFuncCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_01_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_0500 * @tc.name : 004.test stop at running state and reset * @tc.desc : basic Encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_01_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_0500', 0, async function (done) { console.info("case test stop at running state and reset"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -659,14 +659,14 @@ describe('AudioEncoderFuncCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_01_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_0600 * @tc.name : 005.test stop and restart * @tc.desc : basic Encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_01_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_0600', 0, async function (done) { console.info("case test stop and restart"); let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -740,14 +740,14 @@ describe('AudioEncoderFuncCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_01_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_0700 * @tc.name : 006.test reconfigure for new file with the same format * @tc.desc : basic Encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_01_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_CALLBACK_0700', 0, async function (done) { console.info("case test reconfigure for new file with the same format"); let events = require('events'); let eventEmitter = new events.EventEmitter(); 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 f69d2a009..95fd3a3ab 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 @@ -293,14 +293,14 @@ describe('AudioEncoderFuncPromise', function () { } /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_00_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_0100 * @tc.name : 000.test set EOS after last frame and reset * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_0100', 0, async function (done) { console.info("case test set EOS after last frame and reset"); let mediaDescription = { "channel_count": 2, @@ -359,14 +359,14 @@ describe('AudioEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_01_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_0200 * @tc.name : 001.test set EOS manually before last frame and reset * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_01_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_0200', 0, async function (done) { console.info("case test set EOS manually before last frame and reset"); let mediaDescription = { "channel_count": 2, @@ -399,14 +399,14 @@ describe('AudioEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_01_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_0300 * @tc.name : 002.test flush at running state * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_01_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_0300', 0, async function (done) { console.info("case test flush at running state"); let mediaDescription = { "channel_count": 2, @@ -450,14 +450,14 @@ describe('AudioEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_01_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_0400 * @tc.name : 003.test flush at EOS state * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_01_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_0400', 0, async function (done) { console.info("case test flush at EOS state"); let mediaDescription = { "channel_count": 2, @@ -490,14 +490,14 @@ describe('AudioEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_01_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_0500 * @tc.name : 004.test stop at running state and reset * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_01_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_0500', 0, async function (done) { console.info("case test stop at running state and reset"); let mediaDescription = { "channel_count": 2, @@ -542,14 +542,14 @@ describe('AudioEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_01_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_0600 * @tc.name : 005.test stop and restart * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_01_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_0600', 0, async function (done) { console.info("case test stop and restart"); let mediaDescription = { "channel_count": 2, @@ -597,14 +597,14 @@ describe('AudioEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_01_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_0700 * @tc.name : 006.test reconfigure for new file with the same format * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_01_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_FUNCTION_PROMISE_0700', 0, async function (done) { console.info("case test reconfigure for new file with the same format"); let mediaDescription = { "channel_count": 2, 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 60b79b0b4..ca290f527 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 @@ -283,14 +283,14 @@ describe('AudioEncoderMultiInstances', function () { } /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_MULTIINSTANCE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_MULTIINSTANCE_0100 * @tc.name : 001.create multiple encoder2 * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_MULTIINSTANCE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_MULTIINSTANCE_0100', 0, async function (done) { console.info("case test multiple encoder instances"); let array = new Array(); for (let i = 0; i < 2; i += 1) { diff --git a/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderReliabilityCallbackTest.test.js b/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderReliabilityCallbackTest.test.js index 8fc8d6973..e3fa8c2d5 100644 --- a/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderReliabilityCallbackTest.test.js +++ b/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderReliabilityCallbackTest.test.js @@ -398,84 +398,84 @@ describe('AudioEncoderReliabilityCallback', function () { } /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0100 * @tc.name : 001.create -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0100', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0100.es'; let mySteps = new Array(CONFIGURE, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0200 * @tc.name : 002.prepare -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0200', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0200.es'; let mySteps = new Array(CONFIGURE, PREPARE, CONFIGURE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0300 * @tc.name : 003.start -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0300', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0300.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, CONFIGURE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0400 * @tc.name : 004.flush -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0400', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0400.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, CONFIGURE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0500 * @tc.name : 005.stop -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0500', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0500.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP ,CONFIGURE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0600 * @tc.name : 006.EOS -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0600', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0600.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, CONFIGURE_ERROR, END); EOSFrameNum = 2; @@ -483,140 +483,140 @@ describe('AudioEncoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0700 * @tc.name : 007.reset -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0700', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0700.es'; let mySteps = new Array(RESET, CONFIGURE, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0800 * @tc.name : 008.configure -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0800', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0800.es'; let mySteps = new Array(CONFIGURE, CONFIGURE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0900 * @tc.name : 009.configure -> reset -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_CALLBACK_0900', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0900.es'; let mySteps = new Array(CONFIGURE, RESET, CONFIGURE, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0100 * @tc.name : 001.create -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0100', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0100.es'; let mySteps = new Array(PREPARE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0200 * @tc.name : 002.configure -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0200', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0200.es'; let mySteps = new Array(CONFIGURE, PREPARE, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0300 * @tc.name : 003.prepare -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0300', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0300.es'; let mySteps = new Array(CONFIGURE, PREPARE, PREPARE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0400 * @tc.name : 004.start -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0400', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0400.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, PREPARE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0500 * @tc.name : 005.flush -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0500', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0500.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, PREPARE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0600 * @tc.name : 006.stop -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0600', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0600.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, PREPARE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0700 * @tc.name : 007.EOS -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0700', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0700.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, PREPARE_ERROR, END); EOSFrameNum = 2; @@ -624,56 +624,56 @@ describe('AudioEncoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0800 * @tc.name : 008.reset -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_CALLBACK_0800', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0800.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, PREPARE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0100 * @tc.name : 001.create -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0100', 0, async function (done) { let savepath = BASIC_PATH + 'start_0100.es'; let mySteps = new Array(START_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0200 * @tc.name : 002.configure -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0200', 0, async function (done) { let savepath = BASIC_PATH + 'start_0200.es'; let mySteps = new Array(CONFIGURE, START_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0300 * @tc.name : 003.prepare -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0300', 0, async function (done) { let savepath = BASIC_PATH + 'start_0300.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, WAITFORALLOUTS); workdoneAtEOS = true; @@ -681,42 +681,42 @@ describe('AudioEncoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0400 * @tc.name : 004.start -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0400', 0, async function (done) { let savepath = BASIC_PATH + 'start_0400.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, START_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0500 * @tc.name : 005.flush -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0500', 0, async function (done) { let savepath = BASIC_PATH + 'start_0500.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, START, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0600 * @tc.name : 006.stop -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0600', 0, async function (done) { let savepath = BASIC_PATH + 'start_0600.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, START, WAITFORALLOUTS); workdoneAtEOS = true; @@ -724,14 +724,14 @@ describe('AudioEncoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0700 * @tc.name : 007.EOS -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0700', 0, async function (done) { let savepath = BASIC_PATH + 'start_0700.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, START_ERROR, END); EOSFrameNum = 2; @@ -739,70 +739,70 @@ describe('AudioEncoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0800 * @tc.name : 008.reset -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_CALLBACK_0800', 0, async function (done) { let savepath = BASIC_PATH + 'start_0800.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, START_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0100 * @tc.name : 001.create -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0100', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0100.es'; let mySteps = new Array(FLUSH_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0200 * @tc.name : 002.configure -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0200', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0200.es'; let mySteps = new Array(CONFIGURE, FLUSH_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0300 * @tc.name : 003.prepare -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0300', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0300.es'; let mySteps = new Array(CONFIGURE, PREPARE, FLUSH_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0400 * @tc.name : 004.start -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0400', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0400.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, START, WAITFORALLOUTS); workdoneAtEOS = true; @@ -810,14 +810,14 @@ describe('AudioEncoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0500 * @tc.name : 005.flush -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0500', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0500.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, START, FLUSH, START, WAITFORALLOUTS); workdoneAtEOS = true; @@ -825,28 +825,28 @@ describe('AudioEncoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0600 * @tc.name : 006.stop -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0600', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0600.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP ,FLUSH_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0700 * @tc.name : 007.EOS -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0700', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0700.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, FLUSH, END); EOSFrameNum = 2; @@ -854,112 +854,112 @@ describe('AudioEncoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0800 * @tc.name : 008.reset -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_CALLBACK_0800', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0800.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, FLUSH_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0100 * @tc.name : 001.create -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0100', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0100.es'; let mySteps = new Array(STOP_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0200 * @tc.name : 002.configure -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0200', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0200.es'; let mySteps = new Array(CONFIGURE, STOP_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0300 * @tc.name : 003.prepare -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0300', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0300.es'; let mySteps = new Array(CONFIGURE, PREPARE, STOP_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0400 * @tc.name : 004.start -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0400', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0400.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0500 * @tc.name : 005.flush -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0500', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0500.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, STOP, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0600 * @tc.name : 006.stop -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0600', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0600.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, STOP_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0700 * @tc.name : 007.EOS -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0700', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0700.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, STOP, END); EOSFrameNum = 2; @@ -967,112 +967,112 @@ describe('AudioEncoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0800 * @tc.name : 008.reset -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_CALLBACK_0800', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0800.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, STOP_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0100 * @tc.name : 001.create -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0100', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0100.es'; let mySteps = new Array(RESET, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0200 * @tc.name : 002.configure -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0200', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0200.es'; let mySteps = new Array(CONFIGURE, RESET, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0300 * @tc.name : 003.prepare -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0300', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0300.es'; let mySteps = new Array(CONFIGURE, PREPARE, RESET, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0400 * @tc.name : 004.start -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0400', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0400.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0500 * @tc.name : 005.flush -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0500', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0500.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, RESET, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0600 * @tc.name : 006.stop -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0600', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0600.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, RESET, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0700 * @tc.name : 007.EOS -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0700', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0700.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, RESET, END); EOSFrameNum = 2; @@ -1080,28 +1080,28 @@ describe('AudioEncoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0800 * @tc.name : 008.reset -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_CALLBACK_0800', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0800.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, RESET, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0100 * @tc.name : 001.EOS -> flush -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0100', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0100.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, FLUSH, STOP, END); EOSFrameNum = 2; @@ -1109,14 +1109,14 @@ describe('AudioEncoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0200 * @tc.name : 002.EOS -> flush -> EOS * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0200', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0200.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, FLUSH, END); EOSFrameNum = 2; @@ -1125,14 +1125,14 @@ describe('AudioEncoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0300 * @tc.name : 003.EOS -> reset -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0300', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0300.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, RESET, CONFIGURE, END); EOSFrameNum = 2; @@ -1140,14 +1140,14 @@ describe('AudioEncoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0400 * @tc.name : 004.EOS -> stop -> start -> EOS * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0400', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0400.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, STOP, START, END); EOSFrameNum = 2; @@ -1155,14 +1155,14 @@ describe('AudioEncoderReliabilityCallback', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0500 * @tc.name : 005.EOS -> stop -> start -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_CALLBACK_0500', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0500.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, STOP, START, STOP, END); EOSFrameNum = 2; diff --git a/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderReliabilityPromiseTest.test.js b/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderReliabilityPromiseTest.test.js index 5ef3d5221..3d2f5133f 100644 --- a/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderReliabilityPromiseTest.test.js +++ b/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderReliabilityPromiseTest.test.js @@ -400,84 +400,84 @@ describe('AudioEncoderReliabilityPromise', function () { } /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0100 * @tc.name : 001.create -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0100.es'; let mySteps = new Array(CONFIGURE, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0200 * @tc.name : 002.prepare -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0200.es'; let mySteps = new Array(CONFIGURE, PREPARE, CONFIGURE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0300 * @tc.name : 003.start -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0300.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, CONFIGURE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0400 * @tc.name : 004.flush -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0400.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, CONFIGURE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0500 * @tc.name : 005.stop -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0500.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP ,CONFIGURE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0600 * @tc.name : 006.EOS -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0600', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0600.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, CONFIGURE_ERROR, END); EOSFrameNum = 2; @@ -485,140 +485,140 @@ describe('AudioEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0700 * @tc.name : 007.reset -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0700', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0700.es'; let mySteps = new Array(RESET, CONFIGURE, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0800 * @tc.name : 008.configure -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0800', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0800.es'; let mySteps = new Array(CONFIGURE, CONFIGURE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0900 * @tc.name : 009.configure -> reset -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_CONFIGURE_PROMISE_0900', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0900.es'; let mySteps = new Array(CONFIGURE, RESET, CONFIGURE, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0100 * @tc.name : 001.create -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0100.es'; let mySteps = new Array(PREPARE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0200 * @tc.name : 002.configure -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0200.es'; let mySteps = new Array(CONFIGURE, PREPARE, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0300 * @tc.name : 003.prepare -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0300.es'; let mySteps = new Array(CONFIGURE, PREPARE, PREPARE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0400 * @tc.name : 004.start -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0400.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, PREPARE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0500 * @tc.name : 005.flush -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0500.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, PREPARE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0600 * @tc.name : 006.stop -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0600', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0600.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, PREPARE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0700 * @tc.name : 007.EOS -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0700', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0700.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, PREPARE_ERROR, END); EOSFrameNum = 2; @@ -626,56 +626,56 @@ describe('AudioEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0800 * @tc.name : 008.reset -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_PREPARE_PROMISE_0800', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0800.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, PREPARE_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0100 * @tc.name : 001.create -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'start_0100.es'; let mySteps = new Array(START_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0200 * @tc.name : 002.configure -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'start_0200.es'; let mySteps = new Array(CONFIGURE, START_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0300 * @tc.name : 003.prepare -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'start_0300.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, WAITFORALLOUTS); workdoneAtEOS = true; @@ -683,42 +683,42 @@ describe('AudioEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0400 * @tc.name : 004.start -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'start_0400.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, START_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0500 * @tc.name : 005.flush -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'start_0500.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, START, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0600 * @tc.name : 006.stop -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0600', 0, async function (done) { let savepath = BASIC_PATH + 'start_0600.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, START, WAITFORALLOUTS); workdoneAtEOS = true; @@ -726,14 +726,14 @@ describe('AudioEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0700 * @tc.name : 007.EOS -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0700', 0, async function (done) { let savepath = BASIC_PATH + 'start_0700.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, START_ERROR, END); EOSFrameNum = 2; @@ -741,70 +741,70 @@ describe('AudioEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0800 * @tc.name : 008.reset -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_START_PROMISE_0800', 0, async function (done) { let savepath = BASIC_PATH + 'start_0800.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, START_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0100 * @tc.name : 001.create -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0100.es'; let mySteps = new Array(FLUSH_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0200 * @tc.name : 002.configure -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0200.es'; let mySteps = new Array(CONFIGURE, FLUSH_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0300 * @tc.name : 003.prepare -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0300.es'; let mySteps = new Array(CONFIGURE, PREPARE, FLUSH_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0400 * @tc.name : 004.start -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0400.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, START, WAITFORALLOUTS); workdoneAtEOS = true; @@ -812,14 +812,14 @@ describe('AudioEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0500 * @tc.name : 005.flush -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0500.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, START, FLUSH, START, WAITFORALLOUTS); workdoneAtEOS = true; @@ -827,28 +827,28 @@ describe('AudioEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0600 * @tc.name : 006.stop -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0600', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0600.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP ,FLUSH_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0700 * @tc.name : 007.EOS -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0700', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0700.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, FLUSH, START, END); EOSFrameNum = 2; @@ -856,112 +856,112 @@ describe('AudioEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0800 * @tc.name : 008.reset -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_FLUSH_PROMISE_0800', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0800.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, FLUSH_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0100 * @tc.name : 001.create -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0100.es'; let mySteps = new Array(STOP_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0200 * @tc.name : 002.configure -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0200.es'; let mySteps = new Array(CONFIGURE, STOP_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0300 * @tc.name : 003.prepare -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0300.es'; let mySteps = new Array(CONFIGURE, PREPARE, STOP_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0400 * @tc.name : 004.start -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0400.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0500 * @tc.name : 005.flush -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0500.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, STOP, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0600 * @tc.name : 006.stop -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0600', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0600.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, STOP_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0700 * @tc.name : 007.EOS -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0700', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0700.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, STOP, END); EOSFrameNum = 2; @@ -969,112 +969,112 @@ describe('AudioEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0800 * @tc.name : 008.reset -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_STOP_PROMISE_0800', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0800.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, STOP_ERROR, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0100 * @tc.name : 001.create -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0100.es'; let mySteps = new Array(RESET, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0200 * @tc.name : 002.configure -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0200.es'; let mySteps = new Array(CONFIGURE, RESET, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0300 * @tc.name : 003.prepare -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0300.es'; let mySteps = new Array(CONFIGURE, PREPARE, RESET, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0400 * @tc.name : 004.start -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0400.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0500 * @tc.name : 005.flush -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0500.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, FLUSH, RESET, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0600 * @tc.name : 006.stop -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0600', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0600.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, STOP, RESET, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0700 * @tc.name : 007.EOS -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0700', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0700.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, RESET, END); EOSFrameNum = 2; @@ -1082,28 +1082,28 @@ describe('AudioEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0800 * @tc.name : 008.reset -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_RESET_PROMISE_0800', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0800.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, RESET, RESET, END); createAudioEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0100 * @tc.name : 001.EOS -> flush -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0100.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, FLUSH, STOP, END); EOSFrameNum = 2; @@ -1111,14 +1111,14 @@ describe('AudioEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0200 * @tc.name : 002.EOS -> flush -> EOS * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0200.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, FLUSH, END); EOSFrameNum = 2; @@ -1127,14 +1127,14 @@ describe('AudioEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0300 * @tc.name : 003.EOS -> reset -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0300.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, RESET, CONFIGURE, END); EOSFrameNum = 2; @@ -1142,14 +1142,14 @@ describe('AudioEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0400 * @tc.name : 004.EOS -> stop -> start -> EOS * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0400.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, STOP, START, END); EOSFrameNum = 2; @@ -1157,14 +1157,14 @@ describe('AudioEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0500 * @tc.name : 005.EOS -> stop -> start -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_ENCODER_API_EOS_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0500.es'; let mySteps = new Array(CONFIGURE, PREPARE, START, HOLDON, JUDGE_EOS, STOP, START, STOP, END); EOSFrameNum = 2; diff --git a/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioAPI.test.js b/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioAPI.test.js index 41eaaa123..3e42214fa 100644 --- a/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioAPI.test.js +++ b/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioAPI.test.js @@ -148,7 +148,7 @@ describe('PlayerLocalTestAudioAPI', function () { console.info(`case dataLoad called`); expect(audioPlayer.currentTime).assertEqual(0); expect(audioPlayer.duration).assertEqual(DURATION_TIME); - expect(audioPlayer.state).assertEqual('paused'); + expect(audioPlayer.state).assertEqual('idle'); nextStep(mySteps,done); }); audioPlayer.on('play', () => { @@ -735,7 +735,7 @@ describe('PlayerLocalTestAudioAPI', function () { expect(audioPlayer.src).assertEqual(fdHead + fileDescriptor.fd); expect(audioPlayer.currentTime).assertEqual(0); expect(audioPlayer.duration).assertEqual(DURATION_TIME); - expect(audioPlayer.state).assertEqual('paused'); + expect(audioPlayer.state).assertEqual('idle'); expect(audioPlayer.loop).assertEqual(false); done(); }) 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 6f980be5d..e9e50d775 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 @@ -194,7 +194,7 @@ describe('PlayerLocalTestAudioFUNC', function () { console.info(`case dataLoad called`); expect(audioPlayer.currentTime).assertEqual(0); expect(audioPlayer.duration).assertEqual(DURATION_TIME); - expect(audioPlayer.state).assertEqual('paused'); + expect(audioPlayer.state).assertEqual('idle'); nextStep(mySteps, done); }); audioPlayer.on('play', () => { @@ -287,14 +287,14 @@ describe('PlayerLocalTestAudioFUNC', function () { } /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_SETSOURCE + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_SETSOURCE * @tc.name : 001.test setSorce '' * @tc.desc : Audio playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_SETSOURCE', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_SETSOURCE', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); bufferFlag = true; let mySteps = new Array(SRC_STATE, ERROR_STATE, RELEASE_STATE, END_STATE); @@ -304,30 +304,63 @@ describe('PlayerLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_SETVOLUME + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_SETVOLUME * @tc.name : 001.test SetVolume 0/0.5/1 * @tc.desc : Audio playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_SETVOLUME', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_SETVOLUME', 0, async function (done) { let mySteps = new Array(SRC_STATE, PLAY_STATE, VOLUME_STATE, 0, VOLUME_STATE, 0.5, VOLUME_STATE, MAX_VOLUME, RESET_STATE, RELEASE_STATE, END_STATE); initAudioPlayer(); setCallback(mySteps, done); - audioPlayer.src = fdPath; + audioPlayer.src = fdPath; + }) + + /* * + * @tc.number : SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_SEEK + * @tc.name : 001.test seek mode 0 / 0.5 * duration/ duration + * @tc.desc : Audio playback control test + * @tc.size : MediumTest + * @tc.type : Function test + * @tc.level : Level0 + */ + it('SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_SEEK', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let mySteps = new Array(SRC_STATE, PLAY_STATE, SEEK_STATE, 0, SEEK_STATE, + DURATION_TIME / 2, SEEK_STATE, DURATION_TIME, FINISH_STATE, RELEASE_STATE, END_STATE); + initAudioPlayer(); + setCallback(mySteps, done); + audioPlayer.src = fdHead + fileDescriptor.fd; }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_LOOP + * @tc.number : SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_GETTRECKDESCRIPTION + * @tc.name : 001.test getTrackDescription + * @tc.desc : Audio playback control test + * @tc.size : MediumTest + * @tc.type : Function test + * @tc.level : Level0 + */ + it('SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_GETTRECKDESCRIPTION', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let mySteps = new Array(SRC_STATE, GETDESCRIPTION_PROMISE, GETDESCRIPTION_CALLBACK, RELEASE_STATE, END_STATE); + initAudioPlayer(); + setCallback(mySteps, done); + audioPlayer.src = fdHead + fileDescriptor.fd; + }) + + /* * + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_LOOP * @tc.name : 001.test loop * @tc.desc : Audio playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_LOOP', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_LOOP', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let playCount = 0; let seekCount = 0; @@ -342,7 +375,7 @@ describe('PlayerLocalTestAudioFUNC', function () { testAudioPlayer.on('dataLoad', () => { expect(testAudioPlayer.duration).assertEqual(DURATION_TIME); - expect(testAudioPlayer.state).assertEqual('paused'); + expect(testAudioPlayer.state).assertEqual('idle'); testAudioPlayer.play(); }); testAudioPlayer.on('play', () => { @@ -409,40 +442,40 @@ describe('PlayerLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_BASE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_BASE_0100 * @tc.name : 001.test audio player (src) * @tc.desc : Audio playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_BASE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_BASE_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); playAudioSource(fdPath, DURATION_TIME, PLAY_TIME, true, done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_BASE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_BASE_0200 * @tc.name : 002.test audio player (fdsrc) * @tc.desc : Audio playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_BASE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_BASE_0200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); playAudioSource(fileDescriptor, DURATION_TIME, PLAY_TIME, true, done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_MULTIPLE + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_MULTIPLE * @tc.name : 001.test two audio player * @tc.desc : Audio playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_MULTIPLE', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FUNCTION_MULTIPLE', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); function waitForDone() { console.info('case wait for next player'); diff --git a/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFormat.test.js b/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFormat.test.js index 665b74bf8..9cc739cda 100644 --- a/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFormat.test.js +++ b/multimedia/media/media_js_standard/audioPlayer/src/main/js/test/PlayerLocalTestAudioFormat.test.js @@ -122,7 +122,7 @@ describe('PlayerLocalTestAudioFormat', function () { } /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP3_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP3_0100 * @tc.name : 001.Playing mp3 streams * @tc.desc : Format : MP3 Codec : MP3 @@ -133,12 +133,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP3_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP3_0100', 0, async function (done) { playSource('01.mp3', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP3_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP3_0200 * @tc.name : 002.Playing mp3 streams * @tc.desc : Format : MP3 Codec : MP3 @@ -149,12 +149,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP3_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP3_0200', 0, async function (done) { playSource('02.mp3', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP3_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP3_0300 * @tc.name : 003.Playing mp3 streams * @tc.desc : Format : MP3 Codec : MP3 @@ -165,12 +165,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP3_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP3_0300', 0, async function (done) { playSource('03.mp3', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP3_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP3_0400 * @tc.name : 004.Playing mp3 streams * @tc.desc : Format : MP3 Codec : MP3 @@ -181,12 +181,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP3_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP3_0400', 0, async function (done) { playSource('04.mp3', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0100 * @tc.name : 001.Playing mp4 streams * @tc.desc : Format : MP4 Codec : AAC LC @@ -197,13 +197,13 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0100', 0, async function (done) { playSource('47.mp4', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0300 * @tc.name : 003.Playing mp4 streams * @tc.desc : Format : MP4 Codec : AAC LC @@ -214,12 +214,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0300', 0, async function (done) { playSource('49.mp4', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0400 * @tc.name : 004.Playing mp4 streams * @tc.desc : Format : MP4 Codec : AAC LC @@ -230,12 +230,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0400', 0, async function (done) { playSource('50.mp4', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0500 * @tc.name : 005.Playing mp4 streams * @tc.desc : Format : MP4 Codec : AAC LC @@ -246,12 +246,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0500', 0, async function (done) { playSource('51.mp4', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0600 * @tc.name : 006.Playing mp4 streams * @tc.desc : Format : MP4 Codec : AAC LC @@ -262,12 +262,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0600', 0, async function (done) { playSource('54.mp4', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0700 * @tc.name : 007.Playing mp4 streams * @tc.desc : Format : MP4 Codec : MP3 @@ -278,12 +278,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0700', 0, async function (done) { playSource('64.mp4', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0800 * @tc.name : 008.Playing mp4 streams * @tc.desc : Format : MP4 Codec : MP3 @@ -294,12 +294,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0800', 0, async function (done) { playSource('65.mp4', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0900 * @tc.name : 009.Playing mp4 streams * @tc.desc : Format : MP4 Codec : MP3 @@ -310,12 +310,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_0900', 0, async function (done) { playSource('66.mp4', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_1000 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1000 * @tc.name : 010.Playing mp4 streams * @tc.desc : Format : MP4 Codec : MP3 @@ -326,12 +326,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_1000', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1000', 0, async function (done) { playSource('67.mp4', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_1100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1100 * @tc.name : 011.Playing mp4 streams * @tc.desc : Format : MP4 Codec : Vorbis @@ -342,12 +342,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_1100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1100', 0, async function (done) { playSource('92.mp4', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_1200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1200 * @tc.name : 012.Playing mp4 streams * @tc.desc : Format : MP4 Codec : Vorbis @@ -358,12 +358,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_1200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1200', 0, async function (done) { playSource('93.mp4', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_1300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1300 * @tc.name : 013.Playing mp4 streams * @tc.desc : Format : MP4 Codec : Vorbis @@ -374,12 +374,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_1300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1300', 0, async function (done) { playSource('94.mp4', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_1400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1400 * @tc.name : 014.Playing mp4 streams * @tc.desc : Format : MP4 Codec : Vorbis @@ -390,12 +390,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_1400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1400', 0, async function (done) { playSource('96.mp4', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_1500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1500 * @tc.name : 015.Playing mp4 streams * @tc.desc : Format : MP4 Codec : Vorbis @@ -406,12 +406,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_1500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1500', 0, async function (done) { playSource('97.mp4', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_1600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1600 * @tc.name : 016.Playing mp4 streams * @tc.desc : Format : MP4 Codec : Vorbis @@ -422,12 +422,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_MP4_1600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_MP4_1600', 0, async function (done) { playSource('98.mp4', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_M4A_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0100 * @tc.name : 001.Playing m4a streams * @tc.desc : Format : M4A Codec : AAC LC @@ -438,13 +438,13 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_M4A_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0100', 0, async function (done) { playSource('55.m4a', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_M4A_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0300 * @tc.name : 003.Playing m4a streams * @tc.desc : Format : M4A Codec : AAC LC @@ -455,12 +455,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_M4A_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0300', 0, async function (done) { playSource('57.m4a', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_M4A_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0400 * @tc.name : 004.Playing m4a streams * @tc.desc : Format : M4A Codec : AAC LC @@ -471,12 +471,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_M4A_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0400', 0, async function (done) { playSource('58.m4a', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_M4A_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0500 * @tc.name : 005.Playing m4a streams * @tc.desc : Format : M4A Codec : AAC LC @@ -487,12 +487,12 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_M4A_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0500', 0, async function (done) { playSource('59.m4a', done); }) /* * - * @tc.number : SUB_MEDIA_PLAYER_LOCAL_FORMAT_M4A_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0700 * @tc.name : 007.Playing m4a streams * @tc.desc : Format : M4A Codec : AAC LC @@ -503,7 +503,7 @@ describe('PlayerLocalTestAudioFormat', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_PLAYER_LOCAL_FORMAT_M4A_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_LOCAL_FORMAT_M4A_0700', 0, async function (done) { playSource('62.m4a', done); }) }) diff --git a/multimedia/media/media_js_standard/audioRecorder/Test.json b/multimedia/media/media_js_standard/audioRecorder/Test.json index 67543d85b..39dee9724 100644 --- a/multimedia/media/media_js_standard/audioRecorder/Test.json +++ b/multimedia/media/media_js_standard/audioRecorder/Test.json @@ -10,7 +10,8 @@ { "type": "ShellKit", "run-command": [ - "rm -rf /storage/media/100/local/files/Videos/audio_*" + "rm -rf /storage/media/100/local/files/Videos/audio_*", + "rm -rf /storage/media/100/local/files/Audios/audio_*" ], "teardown-command":[ ] diff --git a/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/AudioRecorderEnumTest.test.js b/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/AudioRecorderEnumTest.test.js index cbf624d96..7c3d06381 100644 --- a/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/AudioRecorderEnumTest.test.js +++ b/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/AudioRecorderEnumTest.test.js @@ -34,14 +34,14 @@ describe('AudioRecorderEnumTest', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_RECORDER_ENUM_AUDIO_OUTPUT_FORMAT_00_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_ENUM_AUDIO_OUTPUT_FORMAT_0100 * @tc.name : AudioOutputFormat * @tc.desc : AudioOutputFormat Enumeration test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_RECORDER_ENUM_AUDIO_OUTPUT_FORMAT_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_ENUM_AUDIO_OUTPUT_FORMAT_0100', 0, async function (done) { expect(media.AudioOutputFormat.DEFAULT).assertEqual(0); expect(media.AudioOutputFormat.MPEG_4).assertEqual(2); expect(media.AudioOutputFormat.AMR_NB).assertEqual(3); @@ -51,14 +51,14 @@ describe('AudioRecorderEnumTest', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_RECORDER_ENUM_AUDIO_ENCODER_00_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_ENUM_AUDIO_ENCODER_0100 * @tc.name : AudioOutputFormat * @tc.desc : AudioOutputFormat Enumeration test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_RECORDER_ENUM_AUDIO_ENCODER_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_ENUM_AUDIO_ENCODER_0100', 0, async function (done) { expect(media.AudioEncoder.DEFAULT).assertEqual(0); expect(media.AudioEncoder.AMR_NB).assertEqual(1); expect(media.AudioEncoder.AMR_WB).assertEqual(2); @@ -68,14 +68,14 @@ describe('AudioRecorderEnumTest', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_DECODER_ENUM_CodecMimeType_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_ENUM_CodecMimeType_0100 * @tc.name : CodecMimeType * @tc.desc : Test Enumerate CodecMimeType * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_AUDIO_DECODER_ENUM_CodecMimeType_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_DECODER_ENUM_CodecMimeType_0100', 0, async function (done) { expect(media.CodecMimeType.AUDIO_AAC).assertEqual('audio/mp4a-latm'); expect(media.CodecMimeType.AUDIO_VORBIS).assertEqual('audio/vorbis'); expect(media.CodecMimeType.AUDIO_FLAC).assertEqual('audio/flac'); diff --git a/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioAPI.test.js b/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioAPI.test.js index 7969e22b7..1b554a13d 100644 --- a/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioAPI.test.js +++ b/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioAPI.test.js @@ -18,7 +18,7 @@ import * as mediaTestBase from '../../../../../MediaTestBase.js'; import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index' describe('RecorderLocalTestAudioAPI', function () { - let audioRecorder = media.createAudioRecorder(); + let audioRecorder = null; const END_STATE = 0; const PRE_STATE = 1; const START_STATE = 2; @@ -42,9 +42,9 @@ describe('RecorderLocalTestAudioAPI', function () { fileFormat : media.ContainerFormatType.CFT_MPEG_4A, } function initAudioRecorder() { - if (typeof (audioRecorder) != 'undefined') { + if (audioRecorder != null) { audioRecorder.release(); - audioRecorder = undefined; + audioRecorder = null; } audioRecorder = media.createAudioRecorder(); } @@ -83,7 +83,7 @@ describe('RecorderLocalTestAudioAPI', function () { case RELEASE_STATE: console.info('case to release'); audioRecorder.release(); - audioRecorder = undefined; + audioRecorder = null; break; case ERROR_STATE: console.info('case to wait error callback'); @@ -138,9 +138,7 @@ describe('RecorderLocalTestAudioAPI', function () { nextStep(mySteps,done); }); audioRecorder.on('error', (err) => { - console.info(`case error called,errName is ${err.name}`); console.info(`case error called,errCode is ${err.code}`); - console.info(`case error called,errMessage is ${err.message}`); mySteps.shift(); expect(mySteps[0]).assertEqual(ERROR_STATE); mySteps.shift(); @@ -168,36 +166,6 @@ describe('RecorderLocalTestAudioAPI', function () { console.info('afterAll case'); }) - /* * - * @tc.number : SUB_MEDIA_RECORDER_createAudioRecorder_API_0100 - * @tc.name : Create an AudioRecoder Object by function of createAudioRecorder - * @tc.desc : Reliability Test - * @tc.size : MediumTest - * @tc.type : Reliability - * @tc.level : Level2 - */ - it('SUB_MEDIA_RECORDER_createAudioRecorder_API_0100', 0, async function (done) { - let testAudioRecorder = undefined; - testAudioRecorder= media.createAudioRecorder(); - expect(testAudioRecorder != undefined).assertTrue(); - done(); - }) - - /* * - * @tc.number : SUB_MEDIA_RECORDER_AudioRecorder_Prepare_API_0100 - * @tc.name : 01.creatAudioRecorder->prepare - * @tc.desc : Reliability Test - * @tc.size : MediumTest - * @tc.type : Reliability - * @tc.level : Level2 - */ - it('SUB_MEDIA_RECORDER_AudioRecorder_Prepare_API_0100', 0, async function (done) { - let testAudioRecorder= media.createAudioRecorder(); - expect(testAudioRecorder != null).assertTrue(); - testAudioRecorder.prepare(audioConfig); - done(); - }) - /* * * @tc.number : SUB_MEDIA_RECORDER_AudioRecorder_Prepare_API_0200 * @tc.name : 02.start->prepare @@ -1000,7 +968,7 @@ describe('RecorderLocalTestAudioAPI', function () { let mySteps = new Array(RELEASE_STATE, END_STATE); setCallback(mySteps, done); audioRecorder.release(); - audioRecorder = undefined; + audioRecorder = null; }) /* * diff --git a/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioFUNC.test.js b/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioFUNC.test.js index 8e3818213..2cd8c6304 100644 --- a/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioFUNC.test.js +++ b/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioFUNC.test.js @@ -19,7 +19,7 @@ import * as videoRecorderBase from '../../../../../VideoRecorderTestBase.js'; import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index' describe('RecorderLocalTestAudioFUNC', function () { - let audioRecorder = media.createAudioRecorder(); + let audioRecorder = null; const END_STATE = 0; const PRE_STATE = 1; const START_STATE = 2; @@ -52,9 +52,9 @@ describe('RecorderLocalTestAudioFUNC', function () { } function initAudioRecorder() { - if (typeof (audioRecorder) != 'undefined') { + if (audioRecorder != null) { audioRecorder.release(); - audioRecorder = undefined; + audioRecorder = null; } audioRecorder = media.createAudioRecorder(); } @@ -110,7 +110,7 @@ describe('RecorderLocalTestAudioFUNC', function () { case RELEASE_STATE: console.info('case to release'); audioRecorder.release(); - audioRecorder = undefined; + audioRecorder = null; break; case CHECK_STATE: mySteps.shift(); @@ -174,9 +174,7 @@ describe('RecorderLocalTestAudioFUNC', function () { nextStep(mySteps, done); }); audioRecorder.on('error', (err) => { - console.info(`case error called,errName is ${err.name}`); console.info(`case error called,errCode is ${err.code}`); - console.info(`case error called,errMessage is ${err.message}`); mySteps.shift(); expect(mySteps[0]).assertEqual(ERROR_STATE); mySteps.shift(); @@ -185,14 +183,14 @@ describe('RecorderLocalTestAudioFUNC', function () { } /* * - * @tc.number : SUB_MEDIA_RECORDER_CODEC_AAC_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_0100 * @tc.name : 01.AAC * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_CODEC_AAC_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_0100', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_01.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -205,14 +203,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_CODEC_AAC_0210 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_0200 * @tc.name : 02.AAC_Different Channels 1 * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_CODEC_AAC_0210', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_0200', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_02.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -226,14 +224,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_CODEC_AAC_0220 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_0300 * @tc.name : 02.AAC_Different Channels 2 * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_CODEC_AAC_0220', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_0300', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_03.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -247,14 +245,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_CODEC_AAC_0310 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_0400 * @tc.name : 03.AAC_DifferentSampleRate 8000 * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_CODEC_AAC_0310', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_0400', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_04.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -269,14 +267,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_CODEC_AAC_0320 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_0500 * @tc.name : 03.AAC_DifferentSampleRate 32000 * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_CODEC_AAC_0320', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_0500', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_05.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -292,14 +290,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_CODEC_AAC_0330 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_0600 * @tc.name : 03.AAC_DifferentSampleRate 44100 * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_CODEC_AAC_0330', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_0600', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_06.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -315,14 +313,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_CODEC_AAC_0340 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_0700 * @tc.name : 03.AAC_DifferentSampleRate 64000 * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_CODEC_AAC_0340', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_0700', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_07.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -345,7 +343,7 @@ describe('RecorderLocalTestAudioFUNC', function () { * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_CODEC_AAC_0340', 0, async function (done) { + it('SUB_MEDIA_RECORDER_CODEC_AAC_0350', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_08.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -361,14 +359,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_CODEC_AAC_0410 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_0900 * @tc.name : 04.AAC_DifferentBitrate 8000 * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_CODEC_AAC_0410', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_0900', 0, async function (done) { fdObject = await mediaTestBase.getFd('audio_09.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -385,14 +383,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_CODEC_AAC_0420 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_1000 * @tc.name : 04.AAC_DifferentBitrate 16000 * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_CODEC_AAC_0420', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_1000', 0, async function (done) { fdObject = await mediaTestBase.getFd('audio_10.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -409,14 +407,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_CODEC_AAC_0430 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_1100 * @tc.name : 04.AAC_DifferentBitrate 32000 * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_CODEC_AAC_0430', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_1100', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_11.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -433,14 +431,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_CODEC_AAC_0440 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_1200 * @tc.name : 04.AAC_DifferentBitrate 64000 * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_CODEC_AAC_0440', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_1200', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_12.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -457,14 +455,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_CODEC_AAC_0450 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_1300 * @tc.name : 04.AAC_DifferentBitrate 112000 * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_CODEC_AAC_0450', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_CODEC_AAC_1300', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_13.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -481,14 +479,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_FORMAT_MP4_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_FORMAT_MP4_0100 * @tc.name : 02.AAC,mp4 * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_FORMAT_MP4_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_RECORDER_FORMAT_MP4_0100', 0, async function (done) { fdObject = await mediaTestBase.getFd('audio_14.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -512,7 +510,7 @@ describe('RecorderLocalTestAudioFUNC', function () { * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_FORMAT_MP4_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_RECORDER_FORMAT_MP4_0100', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_15.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -529,14 +527,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0100 * @tc.name : 001.start * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0100', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_16.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -550,14 +548,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0200 * @tc.name : 002.pause * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0200', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_17.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -571,14 +569,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0300 * @tc.name : 003.pause->resume * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0300', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_18.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -592,14 +590,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0400 * @tc.name : 005.reset * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0400', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_19.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -613,14 +611,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0500 * @tc.name : 006.pause->resume->pause * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0500', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_20.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -634,14 +632,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0600 * @tc.name : 007.pause->stop->reset * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0600', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_21.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -655,14 +653,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0700 * @tc.name : 008.pause->resume->stop->reset * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0700', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_22.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -676,14 +674,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0800 * @tc.name : 009.stop->reset->pause->resume->stop->reset * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0800', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_23.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -698,14 +696,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_1000 + * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0900 * @tc.name : 010.stop->reset->pause->stop->reset * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_1000', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_0900', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_24.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -720,14 +718,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_1100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1000 * @tc.name : 011.start->reset->start->stop * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_1100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1000', 0, async function (done) { fdObject = await mediaTestBase.getFd('audio_25.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -741,14 +739,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_1200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1100 * @tc.name : 012.start->pause->start(error) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_1200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1100', 0, async function (done) { fdObject = await mediaTestBase.getFd('audio_26.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -762,14 +760,14 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_1300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1200 * @tc.name : 013.start->stop->pause(error) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_1300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1200', 0, async function (done) { fdObject = await mediaTestBase.getFd('audio_27.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); audioConfig.uri = fdPath; @@ -783,7 +781,7 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_1400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1300 * @tc.name : 014. API8 audioEncoderMime: audio/mp4a-latm, * fileFormat:mp4 * @tc.desc : Audio recordr control test @@ -791,7 +789,7 @@ describe('RecorderLocalTestAudioFUNC', function () { * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_1400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1300', 0, async function (done) { fdObject = await mediaTestBase.getFd('audio_28.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); let newAudioConfig = { @@ -813,7 +811,7 @@ describe('RecorderLocalTestAudioFUNC', function () { }) /* * - * @tc.number : SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_1500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1400 * @tc.name : 014. API8 audioEncoderMime: audio/mp4a-latm, * fileFormat:m4a * @tc.desc : Audio recordr control test @@ -821,7 +819,7 @@ describe('RecorderLocalTestAudioFUNC', function () { * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_RECORDER_AUDIO_FUNCTION_06_1500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_RECORDER_AUDIO_FUNCTION_1400', 0, async function (done) { fdObject = await mediaTestBase.getAudioFd('audio_29.m4a'); fdPath = "fd://" + fdObject.fdNumber.toString(); let newAudioConfig = { diff --git a/multimedia/media/media_js_standard/hlsPlayer/src/main/js/test/AudioPlayerHLSTest.test.js b/multimedia/media/media_js_standard/hlsPlayer/src/main/js/test/AudioPlayerHLSTest.test.js index 6ce277515..c4d5d0d71 100644 --- a/multimedia/media/media_js_standard/hlsPlayer/src/main/js/test/AudioPlayerHLSTest.test.js +++ b/multimedia/media/media_js_standard/hlsPlayer/src/main/js/test/AudioPlayerHLSTest.test.js @@ -45,7 +45,7 @@ describe('AudioPlayerHLSTest', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('testHlsAudioPlayer', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_HLS_0100', 0, async function (done) { playAudioSource(HTTP_PATH + '05.hls/audio_only/index.m3u8', 219600, PLAY_TIME, false, done); }) @@ -57,7 +57,7 @@ describe('AudioPlayerHLSTest', function () { * @tc.type : Function test * @tc.level : Level2 */ - it('testHlsAudioPlayerVariant', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_HLS_0100Variant', 0, async function (done) { playAudioSource(HTTP_PATH + '05.hls/hls_variant_audio/index.m3u8', 219600, PLAY_TIME, false, done); }) }) diff --git a/multimedia/media/media_js_standard/hlsPlayer/src/main/js/test/VideoPlayerHLSBitrateTest.test.js b/multimedia/media/media_js_standard/hlsPlayer/src/main/js/test/VideoPlayerHLSBitrateTest.test.js index 8c2029ce1..d00280172 100644 --- a/multimedia/media/media_js_standard/hlsPlayer/src/main/js/test/VideoPlayerHLSBitrateTest.test.js +++ b/multimedia/media/media_js_standard/hlsPlayer/src/main/js/test/VideoPlayerHLSBitrateTest.test.js @@ -134,7 +134,7 @@ describe('VideoPlayerHLSBitrateTest.test', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('testHlsVideoPlayerSelectBitrate_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_SelectBitrate_0100', 0, async function (done) { await initVideoPlayer(done); await setVideoUrl(HTTP_PATH + '05.hls/hls_variant/index.m3u8'); await playAndSetLoop(PLAY_TIME * 2); @@ -156,7 +156,7 @@ describe('VideoPlayerHLSBitrateTest.test', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('testHlsVideoPlayerSelectBitrate_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_SelectBitrate_0200', 0, async function (done) { await initVideoPlayer(done); await setVideoUrl(HTTP_PATH + '05.hls/hls_variant/index.m3u8'); await playAndSetLoop(PLAY_TIME); diff --git a/multimedia/media/media_js_standard/hlsPlayer/src/main/js/test/VideoPlayerHLSSeekTest.test.js b/multimedia/media/media_js_standard/hlsPlayer/src/main/js/test/VideoPlayerHLSSeekTest.test.js index 0051e916c..8e9078f9b 100644 --- a/multimedia/media/media_js_standard/hlsPlayer/src/main/js/test/VideoPlayerHLSSeekTest.test.js +++ b/multimedia/media/media_js_standard/hlsPlayer/src/main/js/test/VideoPlayerHLSSeekTest.test.js @@ -54,7 +54,7 @@ describe('VideoPlayerHLSTest', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('testHlsVideoPlayerSeek', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_SEEK_0100', 0, async function (done) { await testVideoSeek(HTTP_PATH + '05.hls/1/index.m3u8', 10033, PLAY_TIME, done); done(); }) @@ -67,7 +67,7 @@ describe('VideoPlayerHLSTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHlsVideoPlayerSeekSeparate', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_SEEK_0100Separate', 0, async function (done) { await testVideoSeek(HTTP_PATH + '05.hls/2/index.m3u8', 10033, PLAY_TIME, done); done(); }) @@ -80,7 +80,7 @@ describe('VideoPlayerHLSTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHlsVideoPlayerSeekAudioOnly', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_SEEK_0100AudioOnly', 0, async function (done) { await testVideoSeek(HTTP_PATH + '05.hls/audio_only/index.m3u8', 10033, PLAY_TIME, done); done(); }) @@ -93,7 +93,7 @@ describe('VideoPlayerHLSTest', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('testHlsVideoPlayerSeekVariant', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_SEEK_0100Variant', 0, async function (done) { await testVideoSeek(HTTP_PATH + '05.hls/hls_variant/index.m3u8', 10033, PLAY_TIME, done); done(); }) @@ -106,7 +106,7 @@ describe('VideoPlayerHLSTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHlsVideoPlayerSeekVariantAudioOff', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_SEEK_0100VariantAudioOff', 0, async function (done) { await testVideoSeek(HTTP_PATH + '05.hls/hls_variant2/index.m3u8', 10080, PLAY_TIME, done); done(); }) @@ -119,7 +119,7 @@ describe('VideoPlayerHLSTest', function () { * @tc.type : Function test * @tc.level : Level2 */ - it('testHlsVideoPlayerSeekCodecChange', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_SEEK_0100CodecChange', 0, async function (done) { await testVideoSeek(HTTP_PATH + '05.hls/hls_variant3/index.m3u8', 10080, PLAY_TIME, done); done(); }) diff --git a/multimedia/media/media_js_standard/hlsPlayer/src/main/js/test/VideoPlayerHLSTest.test.js b/multimedia/media/media_js_standard/hlsPlayer/src/main/js/test/VideoPlayerHLSTest.test.js index 11b8b7052..fac7a5860 100644 --- a/multimedia/media/media_js_standard/hlsPlayer/src/main/js/test/VideoPlayerHLSTest.test.js +++ b/multimedia/media/media_js_standard/hlsPlayer/src/main/js/test/VideoPlayerHLSTest.test.js @@ -54,7 +54,7 @@ describe('VideoPlayerHLSTest', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('testHlsVideoPlayer', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_0100', 0, async function (done) { await playVideoSource(HTTP_PATH + '05.hls/1/index.m3u8', 640, 320, 10033, PLAY_TIME, done); done(); }) @@ -67,7 +67,7 @@ describe('VideoPlayerHLSTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHlsVideoPlayerSeparate', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_0100Separate', 0, async function (done) { await playVideoSource(HTTP_PATH + '05.hls/2/index.m3u8', 640, 320, 10033, PLAY_TIME, done); done(); }) @@ -80,7 +80,7 @@ describe('VideoPlayerHLSTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHlsVideoPlayerAudioOnly', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_0100AudioOnly', 0, async function (done) { await playVideoSource(HTTP_PATH + '05.hls/audio_only/index.m3u8', 0, 0, 10033, PLAY_TIME, done); done(); }) @@ -93,7 +93,7 @@ describe('VideoPlayerHLSTest', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('testHlsVideoPlayerVariant', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_0100Variant', 0, async function (done) { await playVideoSource(HTTP_PATH + '05.hls/hls_variant/index.m3u8', null, null, 10033, PLAY_TIME, done); done(); }) @@ -106,7 +106,7 @@ describe('VideoPlayerHLSTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHlsVideoPlayerVariantAudioOff', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_0100VariantAudioOff', 0, async function (done) { await playVideoSource(HTTP_PATH + '05.hls/hls_variant2/index.m3u8', null, null, 10080, PLAY_TIME, done); done(); }) @@ -119,7 +119,7 @@ describe('VideoPlayerHLSTest', function () { * @tc.type : Function test * @tc.level : Level2 */ - it('testHlsVideoPlayerCodecChange', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HLS_0100CodecChange', 0, async function (done) { await playVideoSource(HTTP_PATH + '05.hls/hls_variant3/index.m3u8', null, null, 10080, PLAY_TIME, done); done(); }) diff --git a/multimedia/media/media_js_standard/httpPlayer/src/main/js/test/HttpPlayerCompatibilityTest.test.js b/multimedia/media/media_js_standard/httpPlayer/src/main/js/test/HttpPlayerCompatibilityTest.test.js index 92f64bdec..f223df92d 100644 --- a/multimedia/media/media_js_standard/httpPlayer/src/main/js/test/HttpPlayerCompatibilityTest.test.js +++ b/multimedia/media/media_js_standard/httpPlayer/src/main/js/test/HttpPlayerCompatibilityTest.test.js @@ -59,7 +59,7 @@ describe('HttpPlayerCompatibilityTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHttpVideoPlayerFormatMp4_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MP4_0100', 0, async function (done) { let path = VIDEOPLAYER_PATH + 'mp4/h264_aac_640x320_30r.mp4'; await playVideoSource(path, 640, 320, 10100, PLAY_TIME, done); done(); @@ -73,7 +73,7 @@ describe('HttpPlayerCompatibilityTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHttpVideoPlayerFormatMp4_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MP4_0200', 0, async function (done) { let path = VIDEOPLAYER_PATH + 'mp4/h264_mp3_640x480_25r.mp4'; await playVideoSource(path, 640, 480, 10080, PLAY_TIME, done); done(); @@ -87,7 +87,7 @@ describe('HttpPlayerCompatibilityTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHttpVideoPlayerFormatTs_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_TS_0100', 0, async function (done) { let path = VIDEOPLAYER_PATH + 'mpeg_ts/h264_aac_640x480_30r.ts'; await playVideoSource(path, 640, 480, 10161, PLAY_TIME, done); done(); @@ -101,7 +101,7 @@ describe('HttpPlayerCompatibilityTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHttpVideoPlayerFormatTs_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_TS_0200', 0, async function (done) { let path = VIDEOPLAYER_PATH + 'mpeg_ts/h264_mp3_640x480_25r.ts'; await playVideoSource(path, 640, 480, 10169, PLAY_TIME, done); done(); @@ -115,7 +115,7 @@ describe('HttpPlayerCompatibilityTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHttpVideoPlayerFormatMkv_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MKV_0100', 0, async function (done) { let path = VIDEO_PATH + 'H264_AAC.mkv'; await playVideoSource(path, 720, 480, 10057, PLAY_TIME, done); done(); @@ -129,7 +129,7 @@ describe('HttpPlayerCompatibilityTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHttpVideoPlayerFormatMkv_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MKV_0200', 0, async function (done) { let path = VIDEO_PATH + 'H264_MP3.mkv'; await playVideoSource(path, 720, 480, 10059, PLAY_TIME, done); done(); @@ -143,7 +143,7 @@ describe('HttpPlayerCompatibilityTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHttpVideoPlayerFormatMkv_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MKV_0300', 0, async function (done) { let path = VIDEO_PATH + 'MPEG2_AAC.mkv'; await playVideoSource(path, 720, 480, 10057, PLAY_TIME, done); done(); @@ -157,7 +157,7 @@ describe('HttpPlayerCompatibilityTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHttpVideoPlayerFormatMkv_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MKV_0400', 0, async function (done) { let path = VIDEO_PATH + 'MPEG2_MP3.mkv'; await playVideoSource(path, 720, 480, 10059, PLAY_TIME, done); done(); @@ -171,7 +171,7 @@ describe('HttpPlayerCompatibilityTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHttpVideoPlayerFormatMkv_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_MKV_0500', 0, async function (done) { let path = VIDEO_PATH + 'MPEG4_MP3.mkv'; await playVideoSource(path, 720, 480, 10059, PLAY_TIME, done); done(); @@ -185,7 +185,7 @@ describe('HttpPlayerCompatibilityTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHttpVideoPlayerFormatWebm_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FORMAT_WEBM_0100', 0, async function (done) { let path = VIDEO_PATH + 'VP8_VORBIS.webm'; await playVideoSource(path, 720, 480, 10083, PLAY_TIME, done); done(); @@ -199,7 +199,7 @@ describe('HttpPlayerCompatibilityTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHttpAudioPlayerFormatMp3_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_HTTP_FORMAT_MP3_0100', 0, async function (done) { let path = AUDIO_PATH + '01.mp3'; await playAudioSource(path, 219600, PLAY_TIME, true, done); }) @@ -212,7 +212,7 @@ describe('HttpPlayerCompatibilityTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHttpAudioPlayerFormatAac_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_HTTP_FORMAT_AAC_0100', 0, async function (done) { let path = AUDIOPLAYER_PATH + 'aac/aac_96ksr_64kbr_2ch.aac'; await playAudioSource(path, 12198, PLAY_TIME, true, done); }) @@ -225,7 +225,7 @@ describe('HttpPlayerCompatibilityTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHttpAudioPlayerFormatWav_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_HTTP_FORMAT_WAV_0100', 0, async function (done) { let path = AUDIOPLAYER_PATH + 'wav/pcm_48ksr_16kbr_1ch.wav'; await playAudioSource(path, 5461, PLAY_TIME, true, done); }) @@ -238,7 +238,7 @@ describe('HttpPlayerCompatibilityTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHttpAudioPlayerFormatFlac_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_HTTP_FORMAT_FLAC_0100', 0, async function (done) { let path = AUDIOPLAYER_PATH + 'flac/flac_96ksr_64kbr_2ch.flac'; await playAudioSource(path, 10000, PLAY_TIME, true, done); }) @@ -251,7 +251,7 @@ describe('HttpPlayerCompatibilityTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHttpAudioPlayerFormatM4a_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_HTTP_FORMAT_M4A_0100', 0, async function (done) { let path = AUDIO_PATH + '55.m4a'; await playAudioSource(path, 219575, PLAY_TIME, true, done); }) @@ -264,7 +264,7 @@ describe('HttpPlayerCompatibilityTest', function () { * @tc.type : Function test * @tc.level : Level1 */ - it('testHttpAudioPlayerFormatOgg_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_PLAYER_HTTP_FORMAT_OGG_0100', 0, async function (done) { let path = AUDIOPLAYER_PATH + 'ogg/vorbis_48ksr_32kbr_1ch.ogg'; await playAudioSource(path, 10009, PLAY_TIME, true, done); }) diff --git a/multimedia/media/media_js_standard/httpPlayer/src/main/js/test/HttpPlayerFuncPromiseTest.test.js b/multimedia/media/media_js_standard/httpPlayer/src/main/js/test/HttpPlayerFuncPromiseTest.test.js index f4adfe431..6ab8c67b9 100644 --- a/multimedia/media/media_js_standard/httpPlayer/src/main/js/test/HttpPlayerFuncPromiseTest.test.js +++ b/multimedia/media/media_js_standard/httpPlayer/src/main/js/test/HttpPlayerFuncPromiseTest.test.js @@ -115,14 +115,14 @@ describe('HttpPlayerFuncPromiseTest', function () { } /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0100 * @tc.name : 001.play (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0100', 0, async function (done) { surfaceID = globalThis.value; console.info('case new surfaceID is ' + surfaceID); let videoPlayer = null; @@ -167,14 +167,14 @@ describe('HttpPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0200 * @tc.name : 002.pause (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0200', 0, async function (done) { surfaceID = globalThis.value; console.info('case new surfaceID is ' + surfaceID); let videoPlayer = null; @@ -223,14 +223,14 @@ describe('HttpPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0300 * @tc.name : 003.pause->play (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0300', 0, async function (done) { surfaceID = globalThis.value; console.info('case new surfaceID is ' + surfaceID); let videoPlayer = null; @@ -288,14 +288,14 @@ describe('HttpPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0400 * @tc.name : 004.stop (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0400', 0, async function (done) { surfaceID = globalThis.value; console.info('case new surfaceID is ' + surfaceID); let videoPlayer = null; @@ -344,14 +344,14 @@ describe('HttpPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0500 * @tc.name : 005.reset (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0500', 0, async function (done) { surfaceID = globalThis.value; console.info('case new surfaceID is ' + surfaceID); let videoPlayer = null; @@ -400,14 +400,14 @@ describe('HttpPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0600 * @tc.name : 006.seek (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0600', 0, async function (done) { surfaceID = globalThis.value; console.info('case new surfaceID is ' + surfaceID); let videoPlayer = null; @@ -457,14 +457,14 @@ describe('HttpPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0700 * @tc.name : 007.seek CLOSEST(promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0700', 0, async function (done) { surfaceID = globalThis.value; console.info('case new surfaceID is ' + surfaceID); let videoPlayer = null; @@ -544,14 +544,14 @@ describe('HttpPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0800 * @tc.name : 008.setVolume (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0800', 0, async function (done) { surfaceID = globalThis.value; console.info('case new surfaceID is ' + surfaceID); let videoPlayer = null; @@ -600,14 +600,14 @@ describe('HttpPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0900 * @tc.name : 009.setSpeed (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_0900', 0, async function (done) { surfaceID = globalThis.value; console.info('case new surfaceID is ' + surfaceID); let videoPlayer = null; @@ -661,14 +661,14 @@ describe('HttpPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_1000 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_1000 * @tc.name : 010.getTrackDescription (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_1000', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_1000', 0, async function (done) { surfaceID = globalThis.value; console.info('case new surfaceID is ' + surfaceID); let videoPlayer = null; @@ -711,14 +711,14 @@ describe('HttpPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_1100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_1100 * @tc.name : 011.Loop true (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_1100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_HTTP_FUNCTION_PROMISE_1100', 0, async function (done) { surfaceID = globalThis.value; console.info('case new surfaceID is ' + surfaceID); let videoPlayer = null; diff --git a/multimedia/media/media_js_standard/recorderFormat/src/main/js/test/AudioRecorderFormatCompatibilityTest.test.js b/multimedia/media/media_js_standard/recorderFormat/src/main/js/test/AudioRecorderFormatCompatibilityTest.test.js index 13241788f..ef7e8be5f 100644 --- a/multimedia/media/media_js_standard/recorderFormat/src/main/js/test/AudioRecorderFormatCompatibilityTest.test.js +++ b/multimedia/media/media_js_standard/recorderFormat/src/main/js/test/AudioRecorderFormatCompatibilityTest.test.js @@ -247,14 +247,14 @@ describe('AudioRecorderFormatCompatibilityTest', function () { } /* * - * @tc.number : SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0100 * @tc.name : location: {latitude: -90, longitude: -180} * @tc.desc : location test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0100', 0, async function (done) { await getFd('COMPATIBILITY_0100.m4a'); audioConfig.uri = fdPath; audioConfig.location.latitude = -90; @@ -266,14 +266,14 @@ describe('AudioRecorderFormatCompatibilityTest', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0200 * @tc.name : location: {latitude: 90, longitude: 180} * @tc.desc : location test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0200', 0, async function (done) { await getFd('COMPATIBILITY_0200.m4a'); audioConfig.uri = fdPath; audioConfig.location.latitude = 90; @@ -285,14 +285,14 @@ describe('AudioRecorderFormatCompatibilityTest', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0300 * @tc.name : location: {latitude: 0, longitude: 0} * @tc.desc : location test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0300', 0, async function (done) { await getFd('COMPATIBILITY_0300.m4a'); audioConfig.uri = fdPath; audioConfig.location.latitude = 0; @@ -304,14 +304,14 @@ describe('AudioRecorderFormatCompatibilityTest', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0400 * @tc.name : location: {latitude: 0, longitude: 180} * @tc.desc : location test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0400', 0, async function (done) { await getFd('COMPATIBILITY_0400.m4a'); audioConfig.uri = fdPath; audioConfig.location.latitude = 0; @@ -323,14 +323,14 @@ describe('AudioRecorderFormatCompatibilityTest', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0500 * @tc.name : location: {latitude: -30, longitude: 60} * @tc.desc : location test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0500', 0, async function (done) { await getFd('COMPATIBILITY_0500.m4a'); audioConfig.uri = fdPath; audioConfig.location.latitude = -30; @@ -342,14 +342,14 @@ describe('AudioRecorderFormatCompatibilityTest', function () { }) /* * - * @tc.number : SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0600 * @tc.name : location: {latitude: 60, longitude: -90} * @tc.desc : location test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_AUDIO_RECORDER_FORMAT_COMPATIBILITY_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_AUDIO_RECORDER_FORMAT_0600', 0, async function (done) { await getFd('COMPATIBILITY_0600.m4a'); audioConfig.uri = fdPath; audioConfig.location.latitude = 60; diff --git a/multimedia/media/media_js_standard/recorderProfile/src/main/js/test/ProfileAbnormalTestCallback.test.js b/multimedia/media/media_js_standard/recorderProfile/src/main/js/test/ProfileAbnormalTestCallback.test.js index 4fcdd705d..8b46680c6 100644 --- a/multimedia/media/media_js_standard/recorderProfile/src/main/js/test/ProfileAbnormalTestCallback.test.js +++ b/multimedia/media/media_js_standard/recorderProfile/src/main/js/test/ProfileAbnormalTestCallback.test.js @@ -96,249 +96,249 @@ describe('ProfileAbnormalTestCallback', function () { } /* * - * @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_0100 + * @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_0100 * @tc.name : test isAudioRecoderConfigSupported false * @tc.desc : 5 args all set wrong * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_CALLBACK_0100', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_CALLBACK_0100', 0, async function (done) { console.info("test getAudioRecorderCaps"); callbackAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalAll, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_0200 + * @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_0200 * @tc.name : test isAudioRecoderConfigSupported false * @tc.desc : FormatType is wrong * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_CALLBACK_0200', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_CALLBACK_0200', 0, async function (done) { console.info("test getAudioRecorderCaps"); callbackAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalFormatType, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_0300 + * @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_0300 * @tc.name : test isAudioRecoderConfigSupported fasle * @tc.desc : CodecMimeType is wrong * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_CALLBACK_0300', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_CALLBACK_0300', 0, async function (done) { console.info("test getAudioRecorderCaps"); callbackAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalCodecMimeType, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_0400 + * @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_0400 * @tc.name : test isAudioRecoderConfigSupported false * @tc.desc : bitrate is wrong * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_CALLBACK_0400', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_CALLBACK_0400', 0, async function (done) { console.info("test getAudioRecorderCaps"); callbackAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalBitrate, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_0500 + * @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_0500 * @tc.name : test isAudioRecoderConfigSupported false * @tc.desc : sampleRate is wrong * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_CALLBACK_0500', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_CALLBACK_0500', 0, async function (done) { console.info("test getAudioRecorderCaps"); callbackAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalSampleRate, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_0600 + * @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_0600 * @tc.name : test isAudioRecoderConfigSupported false * @tc.desc : channel is wrong * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_CALLBACK_0600', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_CALLBACK_0600', 0, async function (done) { console.info("test getAudioRecorderCaps"); callbackAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalSampleChannel, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_0700 + * @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_0700 * @tc.name : test hasVideoRecorderProfile * @tc.desc : sourceId 1 qualityLevel 0 * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_CALLBACK_0700', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_CALLBACK_0700', 0, async function (done) { console.info('test hasVideoRecorderProfile'); callbackAbnormalHasVideoProfile(1, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_0800 + * @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_0800 * @tc.name : test hasVideoRecorderProfile sourceId -1 * @tc.desc : sourceId -1 qualityLevel 0 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_CALLBACK_0800', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_CALLBACK_0800', 0, async function (done) { console.info("test hasVideoRecorderProfile"); callbackAbnormalHasVideoProfile(-1, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_0900 + * @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_0900 * @tc.name : test hasVideoRecorderProfile qualityLevel -1 * @tc.desc : sourceId 0 qualityLevel -1 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_CALLBACK_0900', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_CALLBACK_0900', 0, async function (done) { console.info("test hasVideoRecorderProfile"); callbackAbnormalHasVideoProfile(0, -1, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1000 + * @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1000 * @tc.name : test hasVideoRecorderProfile sourceId 65536 * @tc.desc : sourceId 65535 qualityLevel 0 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_CALLBACK_1000', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_CALLBACK_1000', 0, async function (done) { console.info("test hasVideoRecorderProfile"); callbackAbnormalHasVideoProfile(65535, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1100 + * @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1100 * @tc.name : test hasVideoRecorderProfile sourceId 65536 * @tc.desc : sourceId 65536 qualityLevel 0 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_CALLBACK_1100', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_CALLBACK_1100', 0, async function (done) { console.info("test hasVideoRecorderProfile"); callbackAbnormalHasVideoProfile(65536, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1200 + * @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1200 * @tc.name : test hasVideoRecorderProfile qualityLevel 65536 * @tc.desc : sourceId 0 qualityLevel 65535 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_CALLBACK_1200', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_CALLBACK_1200', 0, async function (done) { console.info("test hasVideoRecorderProfile"); callbackAbnormalHasVideoProfile(0, 65535, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1300 + * @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1300 * @tc.name : test hasVideoRecorderProfile qualityLevel 65536 * @tc.desc : sourceId 0 qualityLevel 65536 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_CALLBACK_1300', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_CALLBACK_1300', 0, async function (done) { console.info("test hasVideoRecorderProfile"); callbackAbnormalHasVideoProfile(0, 65536, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1400 + * @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1400 * @tc.name : test getVideoRecorderProfile sourceId -1 * @tc.desc : sourceId -1 qualityLevel 0 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_CALLBACK_1400', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_CALLBACK_1400', 0, async function (done) { console.info("test getVideoRecorderProfile"); callbackAbnormalGetVideoProfile(-1, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1500 + * @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1500 * @tc.name : test getVideoRecorderProfile qualityLevel -1 * @tc.desc : sourceId 0 qualityLevel -1 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_CALLBACK_1500', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_CALLBACK_1500', 0, async function (done) { console.info("test getVideoRecorderProfile"); callbackAbnormalGetVideoProfile(0, -1, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1600 + * @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1600 * @tc.name : test getVideoRecorderProfile sourceId 65535 * @tc.desc : sourceId 65535 qualityLevel 0 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_CALLBACK_1600', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_CALLBACK_1600', 0, async function (done) { console.info("test getVideoRecorderProfile"); callbackAbnormalGetVideoProfile(65535, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1700 + * @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1700 * @tc.name : test getVideoRecorderProfile sourceId 65536 * @tc.desc : sourceId 65536 qualityLevel 0 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_CALLBACK_1700', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_CALLBACK_1700', 0, async function (done) { console.info("test getVideoRecorderProfile"); callbackAbnormalGetVideoProfile(65536, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1800 + * @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1800 * @tc.name : test getVideoRecorderProfile qualityLevel 65535 * @tc.desc : sourceId 0 qualityLevel 65535 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_CALLBACK_1800', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_CALLBACK_1800', 0, async function (done) { console.info("test getVideoRecorderProfile"); callbackAbnormalGetVideoProfile(0, 65535, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_CALLBACK_1900 + * @tc.number : SUB_PROFILE_RELIABILITY_CALLBACK_1900 * @tc.name : test getVideoRecorderProfile qualityLevel 65536 * @tc.desc : sourceId 0 qualityLevel 65536 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_CALLBACK_1900', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_CALLBACK_1900', 0, async function (done) { console.info("test getVideoRecorderProfile"); callbackAbnormalGetVideoProfile(0, 65536, done); }) diff --git a/multimedia/media/media_js_standard/recorderProfile/src/main/js/test/ProfileAbnormalTestPromise.test.js b/multimedia/media/media_js_standard/recorderProfile/src/main/js/test/ProfileAbnormalTestPromise.test.js index 62c26ecd6..b5dd178a1 100644 --- a/multimedia/media/media_js_standard/recorderProfile/src/main/js/test/ProfileAbnormalTestPromise.test.js +++ b/multimedia/media/media_js_standard/recorderProfile/src/main/js/test/ProfileAbnormalTestPromise.test.js @@ -106,248 +106,248 @@ describe('ProfileAbnormalTestPromise', function () { /* * - * @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_0100 + * @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_0100 * @tc.name : test isAudioRecoderConfigSupported false * @tc.desc : 5 args all set wrong * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_PROMISE_0100', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_PROMISE_0100', 0, async function (done) { console.info("test getAudioRecorderCaps"); promiseAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalAll, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_0200 + * @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_0200 * @tc.name : test isAudioRecoderConfigSupported false * @tc.desc : FormatType is wrong * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_PROMISE_0200', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_PROMISE_0200', 0, async function (done) { console.info("test getAudioRecorderCaps"); promiseAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalFormatType, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_0300 + * @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_0300 * @tc.name : test isAudioRecoderConfigSupported * @tc.desc : CodecMimeType is wrong * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_PROMISE_0300', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_PROMISE_0300', 0, async function (done) { console.info("test getAudioRecorderCaps"); promiseAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalCodecMimeType, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_0400 + * @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_0400 * @tc.name : test isAudioRecoderConfigSupported * @tc.desc : bitrate is wrong * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_PROMISE_0400', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_PROMISE_0400', 0, async function (done) { console.info("test getAudioRecorderCaps"); promiseAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalBitrate, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_0500 + * @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_0500 * @tc.name : test isAudioRecoderConfigSupported * @tc.desc : sampleRate is wrong * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_PROMISE_0500', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_PROMISE_0500', 0, async function (done) { console.info("test getAudioRecorderCaps"); promiseAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalSampleRate, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_0600 + * @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_0600 * @tc.name : test isAudioRecoderConfigSupported * @tc.desc : channel is wrong * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_PROMISE_0600', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_PROMISE_0600', 0, async function (done) { console.info("test getAudioRecorderCaps"); promiseAbnormalAudioRecoderConfigSupported(base.audioRecorderAbnormalSampleChannel, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_0700 + * @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_0700 * @tc.name : test hasVideoRecorderProfile * @tc.desc : sourceId 1 qualityLevel 0 * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_PROMISE_0700', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_PROMISE_0700', 0, async function (done) { console.info('test hasVideoRecorderProfile'); promiseAbnormalHasVideoProfile(1, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_0800 + * @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_0800 * @tc.name : test hasVideoRecorderProfile sourceId -1 * @tc.desc : sourceId -1 qualityLevel 0 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_PROMISE_0800', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_PROMISE_0800', 0, async function (done) { console.info("test hasVideoRecorderProfile"); promiseAbnormalHasVideoProfile(-1, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_0900 + * @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_0900 * @tc.name : test hasVideoRecorderProfile qualityLevel -1 * @tc.desc : sourceId 0 qualityLevel -1 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_PROMISE_0900', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_PROMISE_0900', 0, async function (done) { console.info("test hasVideoRecorderProfile"); promiseAbnormalHasVideoProfile(0, -1, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1000 + * @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1000 * @tc.name : test hasVideoRecorderProfile sourceId 65536 * @tc.desc : sourceId 65535 qualityLevel 0 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_PROMISE_1000', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_PROMISE_1000', 0, async function (done) { console.info("test hasVideoRecorderProfile"); promiseAbnormalHasVideoProfile(65535, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1100 + * @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1100 * @tc.name : test hasVideoRecorderProfile sourceId 65536 * @tc.desc : sourceId 65536 qualityLevel 0 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_PROMISE_1100', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_PROMISE_1100', 0, async function (done) { console.info("test hasVideoRecorderProfile"); promiseAbnormalHasVideoProfile(65536, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1200 + * @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1200 * @tc.name : test hasVideoRecorderProfile qualityLevel 65536 * @tc.desc : sourceId 0 qualityLevel 65535 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_PROMISE_1200', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_PROMISE_1200', 0, async function (done) { console.info("test hasVideoRecorderProfile"); promiseAbnormalHasVideoProfile(0, 65535, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1300 + * @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1300 * @tc.name : test hasVideoRecorderProfile qualityLevel 65536 * @tc.desc : sourceId 0 qualityLevel 65536 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_PROMISE_1300', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_PROMISE_1300', 0, async function (done) { console.info("test hasVideoRecorderProfile"); promiseAbnormalHasVideoProfile(0, 65536, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1400 + * @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1400 * @tc.name : test getVideoRecorderProfile sourceId -1 * @tc.desc : sourceId -1 qualityLevel 0 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_PROMISE_1400', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_PROMISE_1400', 0, async function (done) { console.info("test getVideoRecorderProfile"); promiseAbnormalGetVideoProfile(-1, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1500 + * @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1500 * @tc.name : test getVideoRecorderProfile qualityLevel -1 * @tc.desc : sourceId 0 qualityLevel -1 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_PROMISE_1500', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_PROMISE_1500', 0, async function (done) { console.info("test getVideoRecorderProfile"); promiseAbnormalGetVideoProfile(0, -1, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1600 + * @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1600 * @tc.name : test getVideoRecorderProfile sourceId 65535 * @tc.desc : sourceId 65535 qualityLevel 0 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_PROMISE_1600', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_PROMISE_1600', 0, async function (done) { console.info("test getVideoRecorderProfile"); promiseAbnormalGetVideoProfile(65535, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1700 + * @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1700 * @tc.name : test getVideoRecorderProfile sourceId 65536 * @tc.desc : sourceId 65536 qualityLevel 0 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_PROMISE_1700', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_PROMISE_1700', 0, async function (done) { console.info("test getVideoRecorderProfile"); promiseAbnormalGetVideoProfile(65536, media.VideoRecorderQualityLevel.RECORDER_QUALITY_LOW, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1800 + * @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1800 * @tc.name : test getVideoRecorderProfile qualityLevel 65535 * @tc.desc : sourceId 0 qualityLevel 65535 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_PROMISE_1800', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_PROMISE_1800', 0, async function (done) { console.info("test getVideoRecorderProfile"); promiseAbnormalGetVideoProfile(0, 65535, done); }) /* * - * @tc.number : SUB_PROFILE_ABNORMAL_PROMISE_1900 + * @tc.number : SUB_PROFILE_RELIABILITY_PROMISE_1900 * @tc.name : test getVideoRecorderProfile qualityLevel 65536 * @tc.desc : sourceId 0 qualityLevel 65536 * @tc.size : MediumTest * @tc.type : Abnormal test * @tc.level : Level2 */ - it('SUB_PROFILE_ABNORMAL_PROMISE_1900', 0, async function (done) { + it('SUB_PROFILE_RELIABILITY_PROMISE_1900', 0, async function (done) { console.info("test getVideoRecorderProfile"); promiseAbnormalGetVideoProfile(0, 65536, done); }) diff --git a/multimedia/media/media_js_standard/videoCodecFormat/src/main/js/test/VideoDecoderFormatPromiseTest.test.js b/multimedia/media/media_js_standard/videoCodecFormat/src/main/js/test/VideoDecoderFormatPromiseTest.test.js index 0086163d9..fc823a8c6 100644 --- a/multimedia/media/media_js_standard/videoCodecFormat/src/main/js/test/VideoDecoderFormatPromiseTest.test.js +++ b/multimedia/media/media_js_standard/videoCodecFormat/src/main/js/test/VideoDecoderFormatPromiseTest.test.js @@ -490,14 +490,14 @@ describe('VideoDecoderFormatPromise', function () { } /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_01_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0100 * @tc.name : 001.test h264 format-HP-resolution 720*480-frame rate 30FPS-bitrate 3000000bps * @tc.desc : video decoder format compatibility test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_01_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0100', 0, async function (done) { console.info("case test h264 format-HP-resolution 720*480-frame rate 30FPS-bitrate 3000000bps"); ES_FRAME_SIZE = H264_HP_720_480_30_3000000; let name = "avdec_h264"; @@ -519,14 +519,14 @@ describe('VideoDecoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_01_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0200 * @tc.name : 001.test h264 format-HP-resolution 640*480-frame rate 30FPS-bitrate 3000000bps * @tc.desc : video decoder format compatibility test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_01_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0200', 0, async function (done) { console.info("case test h264 format-HP-resolution 640*480-frame rate 30FPS-bitrate 3000000bps"); ES_FRAME_SIZE = H264_HP_640_480_30_3000000; let name = "avdec_h264"; @@ -548,14 +548,14 @@ describe('VideoDecoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_01_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0300 * @tc.name : 001.test h264 format-HP-resolution 352*288-frame rate 30FPS-bitrate 3000000bps * @tc.desc : video decoder format compatibility test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_01_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0300', 0, async function (done) { console.info("case test h264 format-HP-resolution 352*288-frame rate 30FPS-bitrate 3000000bps"); ES_FRAME_SIZE = H264_HP_352_288_30_3000000; let name = "avdec_h264"; @@ -577,14 +577,14 @@ describe('VideoDecoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_02_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0400 * @tc.name : 001.test h264 format-HP-resolution 720*480-frame rate 25FPS-bitrate 3000000bps * @tc.desc : video decoder format compatibility test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_02_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0400', 0, async function (done) { console.info("case test h264 format-HP-resolution 720*480-frame rate 25FPS-bitrate 3000000bps"); ES_FRAME_SIZE = H264_HP_720_480_25_3000000; let name = "avdec_h264"; @@ -606,14 +606,14 @@ describe('VideoDecoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_02_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0500 * @tc.name : 001.test h264 format-BP-resolution 720*480-frame rate 10FPS-bitrate 3000000bps * @tc.desc : video decoder format compatibility test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_02_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0500', 0, async function (done) { console.info("case test h264 format-BP-resolution 720*480-frame rate 10FPS-bitrate 3000000bps"); ES_FRAME_SIZE = H264_BP_720_480_10_3000000; let name = "avdec_h264"; @@ -635,14 +635,14 @@ describe('VideoDecoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0600 * @tc.name : 001.test h264 format-BP-resolution 720*480-frame rate 30FPS-bitrate 2000000bps * @tc.desc : video decoder format compatibility test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0600', 0, async function (done) { console.info("case test h264 format-BP-resolution 720*480-frame rate 30FPS-bitrate 2000000bps"); ES_FRAME_SIZE = H264_BP_720_480_30_2000000; let name = "avdec_h264"; @@ -664,14 +664,14 @@ describe('VideoDecoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0700 * @tc.name : 001.test h264 format-BP-resolution 720*480-frame rate 30FPS-bitrate 768000bps * @tc.desc : video decoder format compatibility test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0700', 0, async function (done) { console.info("case test h264 format-BP-resolution 720*480-frame rate 30FPS-bitrate 768000bps"); ES_FRAME_SIZE = H264_BP_720_480_30_768000; let name = "avdec_h264"; @@ -693,14 +693,14 @@ describe('VideoDecoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0800 * @tc.name : 001.test h264 format-MP-resolution 720*480-frame rate 30FPS-bitrate 384000bps * @tc.desc : video decoder format compatibility test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0800', 0, async function (done) { console.info("case test h264 format-MP-resolution 720*480-frame rate 30FPS-bitrate 384000bps"); ES_FRAME_SIZE = H264_MP_720_480_30_384000; let name = "avdec_h264"; @@ -722,14 +722,14 @@ describe('VideoDecoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0900 * @tc.name : 001.test h264 format-MP-resolution 720*480-frame rate 30FPS-bitrate 192000bps * @tc.desc : video decoder format compatibility test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_0900', 0, async function (done) { console.info("case test h264 format-MP-resolution 720*480-frame rate 30FPS-bitrate 192000bps"); ES_FRAME_SIZE = H264_MP_720_480_30_192000; let name = "avdec_h264"; @@ -751,14 +751,14 @@ describe('VideoDecoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_1000 * @tc.name : 001.test h264 format-MP-resolution 720*480-frame rate 30FPS-bitrate 128000bps * @tc.desc : video decoder format compatibility test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_1000', 0, async function (done) { console.info("case test h264 format-MP-resolution 720*480-frame rate 30FPS-bitrate 128000bps"); ES_FRAME_SIZE = H264_MP_720_480_30_128000; let name = "avdec_h264"; @@ -780,14 +780,14 @@ describe('VideoDecoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_1100 * @tc.name : 001.test h264 format-MP-resolution 720*480-frame rate 30FPS-bitrate 64000bps * @tc.desc : video decoder format compatibility test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_COMPATIBILITY_H264_PROMISE_03_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_SOFTWARE_FORMAT_H264_PROMISE_1100', 0, async function (done) { console.info("case test h264 format-MP-resolution 720*480-frame rate 30FPS-bitrate 64000bps"); ES_FRAME_SIZE = H264_MP_720_480_30_64000; let name = "avdec_h264"; diff --git a/multimedia/media/media_js_standard/videoCodecFormat/src/main/js/test/VideoEncoderFormatPromiseTest.test.js b/multimedia/media/media_js_standard/videoCodecFormat/src/main/js/test/VideoEncoderFormatPromiseTest.test.js index 937ce4b9c..5cb9c658a 100644 --- a/multimedia/media/media_js_standard/videoCodecFormat/src/main/js/test/VideoEncoderFormatPromiseTest.test.js +++ b/multimedia/media/media_js_standard/videoCodecFormat/src/main/js/test/VideoEncoderFormatPromiseTest.test.js @@ -352,14 +352,14 @@ describe('VideoEncoderFormatPromise', function () { } /* * - * @tc.number : SUB_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_COMPATIBILITY_MPEG4_PROMISE_01_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_MPEG4_PROMISE_0100 * @tc.name : 000.test MPEG4 format-resolution 640*480-frame rate 30 FPS * @tc.desc : video encoder format compatibility test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_COMPATIBILITY_MPEG4_PROMISE_01_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_MPEG4_PROMISE_0100', 0, async function (done) { console.info("case test MPEG4 format-resolution 640*480-frame rate 30 FPS"); let savePath = 'rk_mpeg4_video_software_640_480_30.es'; let name= 'avenc_mpeg4'; @@ -375,14 +375,14 @@ describe('VideoEncoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_COMPATIBILITY_MPEG4_PROMISE_01_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_MPEG4_PROMISE_0200 * @tc.name : 000.test MPEG4 format-resolution 352*288-frame rate 30 FPS * @tc.desc : video encoder format compatibility test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_COMPATIBILITY_MPEG4_PROMISE_01_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_MPEG4_PROMISE_0200', 0, async function (done) { console.info("case test MPEG4 format-resolution 352*288-frame rate 30 FPS"); let savePath = 'rk_mpeg4_video_software_352_288_30.es'; let name= 'avenc_mpeg4'; @@ -398,14 +398,14 @@ describe('VideoEncoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_COMPATIBILITY_MPEG4_PROMISE_02_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_MPEG4_PROMISE_0300 * @tc.name : 000.test MPEG4 format-resolution 640*480-frame rate 25 FPS * @tc.desc : video encoder format compatibility test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_COMPATIBILITY_MPEG4_PROMISE_02_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_MPEG4_PROMISE_0300', 0, async function (done) { console.info("case test MPEG4 format-resolution 640*480-frame rate 25 FPS"); let savePath = 'rk_mpeg4_video_software_640_480_25.es'; let name= 'avenc_mpeg4'; @@ -421,14 +421,14 @@ describe('VideoEncoderFormatPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_COMPATIBILITY_MPEG4_PROMISE_02_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_MPEG4_PROMISE_0400 * @tc.name : 000.test MPEG4 format-resolution 640*480-frame rate 10 FPS * @tc.desc : video encoder format compatibility test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_COMPATIBILITY_MPEG4_PROMISE_02_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_ENCODER_SOFTWARE_FORMAT_MPEG4_PROMISE_0400', 0, async function (done) { console.info("case test MPEG4 format-resolution 640*480-frame rate 10 FPS"); let savePath = 'rk_mpeg4_video_software_640_480_10.es'; let name= 'avenc_mpeg4'; diff --git a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderEnumTest.test.js b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderEnumTest.test.js index 13a47e31d..335638a5e 100644 --- a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderEnumTest.test.js +++ b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderEnumTest.test.js @@ -300,14 +300,14 @@ describe('VideoDecoderEnum', function () { } /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_ENUM_CodecBuffer_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_ENUM_CodecBuffer_0100 * @tc.name : 001.CodecBuffer * @tc.desc : Test Interface CodecBuffer * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_ENUM_CodecBuffer_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_ENUM_CodecBuffer_0100', 0, async function (done) { ES_FRAME_SIZE = H264_FRAME_SIZE_60FPS_320; isCodecData = true; let srcPath = 'out_320_240_10s.h264'; diff --git a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderFuncCallbackTest.test.js b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderFuncCallbackTest.test.js index 830e07122..86d93447c 100644 --- a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderFuncCallbackTest.test.js +++ b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderFuncCallbackTest.test.js @@ -355,14 +355,14 @@ describe('VideoDecoderFuncCallbackTest', function () { }); /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_H264_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_H264_CALLBACK_0100 * @tc.name : 001.basic Video decode function * @tc.desc : start-> EOS -> stop -> reset * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0s */ - it('SUB_MEDIA_VIDEO_DECODER_H264_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_H264_CALLBACK_0100', 0, async function (done) { ES_FRAME_SIZE = H264_FRAME_SIZE_60FPS_320; isCodecData = true; let srcPath = 'out_320_240_10s.h264'; @@ -390,14 +390,14 @@ describe('VideoDecoderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_MPEG2_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MPEG2_CALLBACK_0100 * @tc.name : 001.basic Video decode function * @tc.desc : start-> EOS -> stop -> reset * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_MPEG2_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MPEG2_CALLBACK_0100', 0, async function (done) { ES_FRAME_SIZE = MPEG2_FRAME_SIZE; let srcPath = 'MPEG2_720_480.es'; readpath = srcPath; @@ -424,14 +424,14 @@ describe('VideoDecoderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_MPEG4_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MPEG4_CALLBACK_0100 * @tc.name : 001.basic Video decode function * @tc.desc : start-> EOS -> stop -> reset * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_MPEG4_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MPEG4_CALLBACK_0100', 0, async function (done) { ES_FRAME_SIZE = MPEG4_FRAME_SIZE; let srcPath = 'mpeg4_320_240.es'; readpath = srcPath; diff --git a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderFuncPromiseTest.test.js b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderFuncPromiseTest.test.js index db620f797..4cc7d507d 100644 --- a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderFuncPromiseTest.test.js +++ b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderFuncPromiseTest.test.js @@ -335,14 +335,14 @@ describe('VideoDecoderFuncPromiseTest', function () { } /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_H264_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_H264_PROMISE_0100 * @tc.name : 001.basic Video decode function * @tc.desc : start-> EOS -> stop -> reset * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_H264_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_H264_PROMISE_0100', 0, async function (done) { ES_FRAME_SIZE = H264_FRAME_SIZE_60FPS_320; isCodecData = true; let srcPath = 'out_320_240_10s.h264'; @@ -369,14 +369,14 @@ describe('VideoDecoderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_MPEG2_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MPEG2_PROMISE_0100 * @tc.name : 001.basic Video decode function * @tc.desc : start-> EOS -> stop -> reset * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_MPEG2_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MPEG2_PROMISE_0100', 0, async function (done) { ES_FRAME_SIZE = MPEG2_FRAME_SIZE; let srcPath = 'MPEG2_720_480.es'; readpath = srcPath; @@ -402,14 +402,14 @@ describe('VideoDecoderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_MPEG4_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MPEG4_PROMISE_0100 * @tc.name : 001.basic Video decode function * @tc.desc : start-> EOS -> stop -> reset * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_MPEG4_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MPEG4_PROMISE_0100', 0, async function (done) { ES_FRAME_SIZE = MPEG4_FRAME_SIZE; let srcPath = 'mpeg4_320_240.es'; readpath = srcPath; @@ -435,14 +435,14 @@ describe('VideoDecoderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_MULTIINSTANCE_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MULTIINSTANCE_PROMISE_0100 * @tc.name : 001.creat multiple video decoders * @tc.desc : creat multiple video decoders * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_MULTIINSTANCE_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_MULTIINSTANCE_PROMISE_0100', 0, async function (done) { ES_FRAME_SIZE = H264_FRAME_SIZE_60FPS_320; isCodecData = true; let srcPath = 'out_320_240_10s.h264'; diff --git a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliCallbackTest.test.js b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliCallbackTest.test.js index 51e4ed2b8..349fe720a 100644 --- a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliCallbackTest.test.js +++ b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliCallbackTest.test.js @@ -454,14 +454,14 @@ describe('VideoDecoderReliCallbackTest', function () { } /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_01_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_0100 * @tc.name : test set EOS manually before last frame and reset * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_01_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_ALL_OUTS); workdoneAtEOS = true; @@ -469,14 +469,14 @@ describe('VideoDecoderReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_01_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_0200 * @tc.name : test flush at running state * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_01_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_ALL_OUTS); workdoneAtEOS = true; @@ -484,14 +484,14 @@ describe('VideoDecoderReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_01_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_0300 * @tc.name : test flush at EOS state * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_01_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_ALL_OUTS); eosFrameId = 10; @@ -500,28 +500,28 @@ describe('VideoDecoderReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_01_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_0400 * @tc.name : test stop at running state and reset * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_01_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_01_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_0500 * @tc.name : test stop and restart * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_01_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.STOP, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RESET, DECODE_STEP.RELEASE); @@ -530,83 +530,83 @@ describe('VideoDecoderReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0100 * @tc.name : 001.create -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0200 * @tc.name : 002.prepare -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0300 * @tc.name : 003.start -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0400 * @tc.name : 004.flush -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0500 * @tc.name : 005.stop -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0600 * @tc.name : 006.EOS -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -614,136 +614,136 @@ describe('VideoDecoderReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0700 * @tc.name : 007.reset -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.RESET, DECODE_STEP.CONFIGURE, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0800 * @tc.name : 008.configure -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0900 * @tc.name : 009.configure -> reset -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0900', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.RESET, DECODE_STEP.CONFIGURE, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0100 * @tc.name : 001.create -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0200 * @tc.name : 002.configure -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0300 * @tc.name : 003.prepare -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0400 * @tc.name : 004.start -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0500 * @tc.name : 005.flush -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0600 * @tc.name : 006.stop -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0700 * @tc.name : 007.EOS -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS , DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); @@ -752,110 +752,110 @@ describe('VideoDecoderReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0800 * @tc.name : 008.reset -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_CALLBACK_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0100 * @tc.name : 001.create -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0200 * @tc.name : 002.configure -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0300 * @tc.name : 003.prepare -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0400 * @tc.name : 004.start -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0500 * @tc.name : 005.flush -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.START, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0600 * @tc.name : 006.stop -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.START, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0700 * @tc.name : 007.EOS -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); @@ -864,110 +864,110 @@ describe('VideoDecoderReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0800 * @tc.name : 008.reset -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_CALLBACK_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0100 * @tc.name : 001.create -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0200 * @tc.name : 002.configure -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0300 * @tc.name : 003.prepare -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0400 * @tc.name : 004.start -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0500 * @tc.name : 005.flush -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0600 * @tc.name : 006.stop -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP , DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0700 * @tc.name : 007.EOS -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.FLUSH, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -975,110 +975,110 @@ describe('VideoDecoderReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0800 * @tc.name : 008.reset -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0100 * @tc.name : 001.create -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0200 * @tc.name : 002.configure -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0300 * @tc.name : 003.prepare -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0400 * @tc.name : 004.start -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0500 * @tc.name : 005.flush -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.STOP, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0600 * @tc.name : 006.stop -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0700 * @tc.name : 007.EOS -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.STOP, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1086,110 +1086,110 @@ describe('VideoDecoderReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0800 * @tc.name : 008.reset -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0100 * @tc.name : 001.create -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0200 * @tc.name : 002.configure -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0300 * @tc.name : 003.prepare -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0400 * @tc.name : 004.start -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0500 * @tc.name : 005.flush -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0600 * @tc.name : 006.stop -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0700 * @tc.name : 007.EOS -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.RESET, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1197,28 +1197,28 @@ describe('VideoDecoderReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0800 * @tc.name : 008.reset -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByMime('video/avc', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0100 * @tc.name : 001.EOS -> flush -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.FLUSH, DECODE_STEP.STOP, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1226,14 +1226,14 @@ describe('VideoDecoderReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0200 * @tc.name : 002.EOS -> flush -> EOS * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.FLUSH, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1241,14 +1241,14 @@ describe('VideoDecoderReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0300 * @tc.name : 003.EOS -> reset -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.RESET, DECODE_STEP.CONFIGURE, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1256,14 +1256,14 @@ describe('VideoDecoderReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0400 * @tc.name : 004.EOS -> stop -> start -> EOS * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.STOP, DECODE_STEP.START, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1271,14 +1271,14 @@ describe('VideoDecoderReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0500 * @tc.name : 005.EOS -> stop -> start -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.STOP, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RELEASE); eosFrameId = 10; diff --git a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliPromiseTest.test.js b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliPromiseTest.test.js index a467be844..6a88d5b01 100644 --- a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliPromiseTest.test.js +++ b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliPromiseTest.test.js @@ -451,14 +451,14 @@ describe('VideoDecoderReliPromiseTest', function () { } /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_01_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_0100 * @tc.name : test set EOS manually before last frame and reset * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_01_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_ALL_OUTS); workdoneAtEOS = true; @@ -466,14 +466,14 @@ describe('VideoDecoderReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_01_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_0200 * @tc.name : test flush at running state * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_01_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_ALL_OUTS); workdoneAtEOS = true; @@ -481,14 +481,14 @@ describe('VideoDecoderReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_01_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_0300 * @tc.name : test flush at EOS state * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_01_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_ALL_OUTS); eosFrameId = 10; @@ -497,28 +497,28 @@ describe('VideoDecoderReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_01_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_0400 * @tc.name : test stop at running state and reset * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_01_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_01_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_0500 * @tc.name : test stop and restart * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_01_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.STOP, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RESET, DECODE_STEP.RELEASE); @@ -527,83 +527,83 @@ describe('VideoDecoderReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0100 * @tc.name : 001.create -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0200 * @tc.name : 002.prepare -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0300 * @tc.name : 003.start -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0400 * @tc.name : 004.flush -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0500 * @tc.name : 005.stop -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0600 * @tc.name : 006.EOS -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -611,136 +611,136 @@ describe('VideoDecoderReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0700 * @tc.name : 007.reset -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.RESET, DECODE_STEP.CONFIGURE, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0800 * @tc.name : 008.configure -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0900 * @tc.name : 009.configure -> reset -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0900', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.RESET, DECODE_STEP.CONFIGURE, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0100 * @tc.name : 001.create -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0200 * @tc.name : 002.configure -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0300 * @tc.name : 003.prepare -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0400 * @tc.name : 004.start -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0500 * @tc.name : 005.flush -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0600 * @tc.name : 006.stop -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0700 * @tc.name : 007.EOS -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS , DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); @@ -749,110 +749,110 @@ describe('VideoDecoderReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0800 * @tc.name : 008.reset -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_PREPARE_PROMISE_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_START_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_PROMISE_0100 * @tc.name : 001.create -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_START_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_PROMISE_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_START_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_PROMISE_0200 * @tc.name : 002.configure -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_START_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_PROMISE_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_START_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_PROMISE_0300 * @tc.name : 003.prepare -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_START_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_PROMISE_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_START_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_PROMISE_0400 * @tc.name : 004.start -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_START_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_PROMISE_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_START_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_PROMISE_0500 * @tc.name : 005.flush -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_START_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_PROMISE_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.START, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_START_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_PROMISE_0600 * @tc.name : 006.stop -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_START_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_PROMISE_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.START, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_START_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_PROMISE_0700 * @tc.name : 007.EOS -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_START_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_PROMISE_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); @@ -861,110 +861,110 @@ describe('VideoDecoderReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_START_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_PROMISE_0800 * @tc.name : 008.reset -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_START_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_START_PROMISE_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0100 * @tc.name : 001.create -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0200 * @tc.name : 002.configure -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0300 * @tc.name : 003.prepare -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0400 * @tc.name : 004.start -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0500 * @tc.name : 005.flush -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0600 * @tc.name : 006.stop -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP , DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0700 * @tc.name : 007.EOS -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.FLUSH, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -972,110 +972,110 @@ describe('VideoDecoderReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0800 * @tc.name : 008.reset -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0100 * @tc.name : 001.create -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0200 * @tc.name : 002.configure -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0300 * @tc.name : 003.prepare -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0400 * @tc.name : 004.start -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0500 * @tc.name : 005.flush -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.STOP, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0600 * @tc.name : 006.stop -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0700 * @tc.name : 007.EOS -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.STOP, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1083,110 +1083,110 @@ describe('VideoDecoderReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0800 * @tc.name : 008.reset -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0100 * @tc.name : 001.create -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0200 * @tc.name : 002.configure -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0300 * @tc.name : 003.prepare -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0400 * @tc.name : 004.start -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0500 * @tc.name : 005.flush -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0600 * @tc.name : 006.stop -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0700 * @tc.name : 007.EOS -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.RESET, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1194,28 +1194,28 @@ describe('VideoDecoderReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0800 * @tc.name : 008.reset -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0100 * @tc.name : 001.EOS -> flush -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.FLUSH, DECODE_STEP.STOP, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1223,14 +1223,14 @@ describe('VideoDecoderReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0200 * @tc.name : 002.EOS -> flush -> EOS * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.FLUSH, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1238,14 +1238,14 @@ describe('VideoDecoderReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0300 * @tc.name : 003.EOS -> reset -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.RESET, DECODE_STEP.CONFIGURE, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1253,14 +1253,14 @@ describe('VideoDecoderReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0400 * @tc.name : 004.EOS -> stop -> start -> EOS * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.STOP, DECODE_STEP.START, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1268,14 +1268,14 @@ describe('VideoDecoderReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0500 * @tc.name : 005.EOS -> stop -> start -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.STOP, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RELEASE); eosFrameId = 10; diff --git a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareFuncCallbackTest.test.js b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareFuncCallbackTest.test.js index 9e9c60190..f6608e20d 100644 --- a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareFuncCallbackTest.test.js +++ b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareFuncCallbackTest.test.js @@ -327,14 +327,14 @@ describe('VideoSoftwareDecoderFuncCallbackTest', function () { }); /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_H264_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_H264_CALLBACK_0100 * @tc.name : 001.basic Video decode function * @tc.desc : start-> EOS -> stop -> reset * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_H264_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_H264_CALLBACK_0100', 0, async function (done) { ES_FRAME_SIZE = H264_FRAME_SIZE_240; isCodecData = true; let srcPath = 'out_320_240_10s.h264'; @@ -361,14 +361,14 @@ describe('VideoSoftwareDecoderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG2_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG2_CALLBACK_0100 * @tc.name : 001.basic Video decode function * @tc.desc : start-> EOS -> stop -> reset * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG2_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG2_CALLBACK_0100', 0, async function (done) { ES_FRAME_SIZE = MPEG2_FRAME_SIZE; let srcPath = 'MPEG2_720_480.es'; readpath = srcPath; @@ -394,14 +394,14 @@ describe('VideoSoftwareDecoderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG4_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG4_CALLBACK_0100 * @tc.name : 001.basic Video decode function * @tc.desc : start-> EOS -> stop -> reset * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG4_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG4_CALLBACK_0100', 0, async function (done) { ES_FRAME_SIZE = MPEG4_FRAME_SIZE; let srcPath = 'mpeg4_320_240.es'; readpath = srcPath; @@ -427,14 +427,14 @@ describe('VideoSoftwareDecoderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_0600 * @tc.name : test reconfigure for new file with the same format * @tc.desc : start-> EOS -> stop -> reset * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_0600', 0, async function (done) { ES_FRAME_SIZE = H264_FRAME_SIZE_240; isCodecData = true; let srcPath = 'out_320_240_10s.h264'; @@ -492,14 +492,14 @@ describe('VideoSoftwareDecoderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_0700 * @tc.name : test reconfigure for new file with the different format * @tc.desc : start-> EOS -> stop -> reset * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_0700', 0, async function (done) { ES_FRAME_SIZE = H264_FRAME_SIZE_240; isCodecData = true; let srcPath = 'out_320_240_10s.h264'; diff --git a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareFuncPromiseTest.test.js b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareFuncPromiseTest.test.js index cccf57fa7..00f9aaa10 100644 --- a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareFuncPromiseTest.test.js +++ b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareFuncPromiseTest.test.js @@ -329,14 +329,14 @@ describe('VideoSoftwareDecoderFuncPromiseTest', function () { } /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_H264_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_H264_PROMISE_0100 * @tc.name : 001.basic Video decode function * @tc.desc : start-> EOS -> stop -> reset * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_H264_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_H264_PROMISE_0100', 0, async function (done) { ES_FRAME_SIZE = H264_FRAME_SIZE_240; isCodecData = true; let srcPath = 'out_320_240_10s.h264'; @@ -362,14 +362,14 @@ describe('VideoSoftwareDecoderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG2_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG2_PROMISE_0100 * @tc.name : 001.basic Video decode function * @tc.desc : start-> EOS -> stop -> reset * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG2_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG2_PROMISE_0100', 0, async function (done) { ES_FRAME_SIZE = MPEG2_FRAME_SIZE; let srcPath = 'MPEG2_720_480.es'; readpath = srcPath; @@ -394,14 +394,14 @@ describe('VideoSoftwareDecoderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG4_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG4_PROMISE_0100 * @tc.name : 001.basic Video decode function * @tc.desc : start-> EOS -> stop -> reset * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG4_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_MPEG4_PROMISE_0100', 0, async function (done) { ES_FRAME_SIZE = MPEG4_FRAME_SIZE; let srcPath = 'mpeg4_320_240.es'; readpath = srcPath; @@ -426,14 +426,14 @@ describe('VideoSoftwareDecoderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_0600 * @tc.name : test reconfigure for new file with the same format * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_0600', 0, async function (done) { ES_FRAME_SIZE = H264_FRAME_SIZE_240; isCodecData = true; let srcPath = 'out_320_240_10s.h264'; @@ -489,14 +489,14 @@ describe('VideoSoftwareDecoderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_0700 * @tc.name : test reconfigure for new file with the different format * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_0700', 0, async function (done) { ES_FRAME_SIZE = H264_FRAME_SIZE_240; isCodecData = true; let srcPath = 'out_320_240_10s.h264'; diff --git a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliCallbackTest.test.js b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliCallbackTest.test.js index 56e61b19b..84bac5423 100644 --- a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliCallbackTest.test.js +++ b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliCallbackTest.test.js @@ -451,14 +451,14 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () { } /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_0100 * @tc.name : test set EOS manually before last frame and reset * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_ALL_OUTS); workdoneAtEOS = true; @@ -466,14 +466,14 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_0200 * @tc.name : test flush at running state * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.WAIT_FOR_ALL_OUTS); workdoneAtEOS = true; @@ -481,14 +481,14 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_0300 * @tc.name : test flush at EOS state * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_ALL_OUTS); eosFrameId = 10; @@ -497,28 +497,28 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_0400 * @tc.name : test stop at running state and reset * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_0500 * @tc.name : test stop and restart * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.STOP, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RESET, DECODE_STEP.RELEASE); @@ -527,83 +527,83 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0100 * @tc.name : 001.create -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0200 * @tc.name : 002.prepare -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0300 * @tc.name : 003.start -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0400 * @tc.name : 004.flush -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0500 * @tc.name : 005.stop -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0600 * @tc.name : 006.EOS -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -611,136 +611,136 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0700 * @tc.name : 007.reset -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.RESET, DECODE_STEP.CONFIGURE, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0800 * @tc.name : 008.configure -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0900 * @tc.name : 009.configure -> reset -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0900', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.RESET, DECODE_STEP.CONFIGURE, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0100 * @tc.name : 001.create -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0200 * @tc.name : 002.configure -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0300 * @tc.name : 003.prepare -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0400 * @tc.name : 004.start -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0500 * @tc.name : 005.flush -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0600 * @tc.name : 006.stop -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0700 * @tc.name : 007.EOS -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS , DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); @@ -749,110 +749,110 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0800 * @tc.name : 008.reset -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_CALLBACK_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0100 * @tc.name : 001.create -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0200 * @tc.name : 002.configure -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0300 * @tc.name : 003.prepare -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0400 * @tc.name : 004.start -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0500 * @tc.name : 005.flush -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0600 * @tc.name : 006.stop -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.START, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0700 * @tc.name : 007.EOS -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); @@ -861,110 +861,110 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0800 * @tc.name : 008.reset -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_CALLBACK_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0100 * @tc.name : 001.create -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0200 * @tc.name : 002.configure -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0300 * @tc.name : 003.prepare -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0400 * @tc.name : 004.start -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0500 * @tc.name : 005.flush -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.FLUSH, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0600 * @tc.name : 006.stop -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP , DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0700 * @tc.name : 007.EOS -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.FLUSH, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -972,110 +972,110 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0800 * @tc.name : 008.reset -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0100 * @tc.name : 001.create -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0200 * @tc.name : 002.configure -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0300 * @tc.name : 003.prepare -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0400 * @tc.name : 004.start -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0500 * @tc.name : 005.flush -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.STOP, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0600 * @tc.name : 006.stop -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0700 * @tc.name : 007.EOS -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.STOP, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1083,110 +1083,110 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0800 * @tc.name : 008.reset -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0100 * @tc.name : 001.create -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0200 * @tc.name : 002.configure -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0300 * @tc.name : 003.prepare -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0400 * @tc.name : 004.start -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0500 * @tc.name : 005.flush -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0600 * @tc.name : 006.stop -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0700 * @tc.name : 007.EOS -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.RESET, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1194,28 +1194,28 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0800 * @tc.name : 008.reset -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0100 * @tc.name : 001.EOS -> flush -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.FLUSH, DECODE_STEP.STOP, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1223,14 +1223,14 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0200 * @tc.name : 002.EOS -> flush -> EOS * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.FLUSH, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1238,14 +1238,14 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0300 * @tc.name : 003.EOS -> reset -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.RESET, DECODE_STEP.CONFIGURE, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1253,14 +1253,14 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0400 * @tc.name : 004.EOS -> stop -> start -> EOS * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.STOP, DECODE_STEP.START, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1268,14 +1268,14 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0500 * @tc.name : 005.EOS -> stop -> start -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.STOP, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RELEASE); eosFrameId = 10; diff --git a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliPromiseTest.test.js b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliPromiseTest.test.js index 576daa65d..3f483dcbe 100644 --- a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliPromiseTest.test.js +++ b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliPromiseTest.test.js @@ -446,14 +446,14 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () { } /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_0100 * @tc.name : test set EOS manually before last frame and reset * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_ALL_OUTS); workdoneAtEOS = true; @@ -461,14 +461,14 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_0200 * @tc.name : test flush at running state * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.WAIT_FOR_ALL_OUTS); workdoneAtEOS = true; @@ -476,14 +476,14 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_0300 * @tc.name : test flush at EOS state * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_ALL_OUTS); eosFrameId = 10; @@ -492,28 +492,28 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_0400 * @tc.name : test stop at running state and reset * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_0500 * @tc.name : test stop and restart * @tc.desc : test basic function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.STOP, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RESET, DECODE_STEP.RELEASE); @@ -522,83 +522,83 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0100 * @tc.name : 001.create -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0200 * @tc.name : 002.prepare -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0300 * @tc.name : 003.start -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0400 * @tc.name : 004.flush -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0500 * @tc.name : 005.stop -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0600 * @tc.name : 006.EOS -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -606,136 +606,136 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0700 * @tc.name : 007.reset -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.RESET, DECODE_STEP.CONFIGURE, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0800 * @tc.name : 008.configure -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.CONFIGURE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0900 * @tc.name : 009.configure -> reset -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0900', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.RESET, DECODE_STEP.CONFIGURE, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0100 * @tc.name : 001.create -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0200 * @tc.name : 002.configure -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0300 * @tc.name : 003.prepare -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0400 * @tc.name : 004.start -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0500 * @tc.name : 005.flush -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0600 * @tc.name : 006.stop -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0700 * @tc.name : 007.EOS -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS , DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); @@ -744,110 +744,110 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0800 * @tc.name : 008.reset -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_PREPARE_PROMISE_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.PREPARE, DECODE_STEP.ERROR, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0100 * @tc.name : 001.create -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0200 * @tc.name : 002.configure -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0300 * @tc.name : 003.prepare -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0400 * @tc.name : 004.start -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0500 * @tc.name : 005.flush -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0600 * @tc.name : 006.stop -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.START, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0700 * @tc.name : 007.EOS -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); @@ -856,110 +856,110 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0800 * @tc.name : 008.reset -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_START_PROMISE_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.START, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0100 * @tc.name : 001.create -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0200 * @tc.name : 002.configure -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0300 * @tc.name : 003.prepare -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0400 * @tc.name : 004.start -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0500 * @tc.name : 005.flush -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.FLUSH, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0600 * @tc.name : 006.stop -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP , DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0700 * @tc.name : 007.EOS -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.FLUSH, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -967,110 +967,110 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0800 * @tc.name : 008.reset -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.FLUSH, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0100 * @tc.name : 001.create -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0200 * @tc.name : 002.configure -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0300 * @tc.name : 003.prepare -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0400 * @tc.name : 004.start -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0500 * @tc.name : 005.flush -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.STOP, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0600 * @tc.name : 006.stop -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0700 * @tc.name : 007.EOS -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.STOP, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1078,110 +1078,110 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0800 * @tc.name : 008.reset -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.STOP, DECODE_STEP.ERROR, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0100 * @tc.name : 001.create -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0200 * @tc.name : 002.configure -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0300 * @tc.name : 003.prepare -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0400 * @tc.name : 004.start -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0500 * @tc.name : 005.flush -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.FLUSH, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0600 * @tc.name : 006.stop -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0600', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0700 * @tc.name : 007.EOS -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0700', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.RESET, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1189,28 +1189,28 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0800 * @tc.name : 008.reset -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0800', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.RESET, DECODE_STEP.RESET, DECODE_STEP.RELEASE); toCreateVideoDecoderByName('avdec_h264', mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0100 * @tc.name : 001.EOS -> flush -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0100', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.FLUSH, DECODE_STEP.STOP, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1218,14 +1218,14 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0200 * @tc.name : 002.EOS -> flush -> EOS * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0200', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.FLUSH, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1233,14 +1233,14 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0300 * @tc.name : 003.EOS -> reset -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0300', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.RESET, DECODE_STEP.CONFIGURE, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1248,14 +1248,14 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0400 * @tc.name : 004.EOS -> stop -> start -> EOS * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0400', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.STOP, DECODE_STEP.START, DECODE_STEP.RELEASE); eosFrameId = 10; @@ -1263,14 +1263,14 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0500 * @tc.name : 005.EOS -> stop -> start -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0500', 0, async function (done) { let mySteps = new Array(DECODE_STEP.CONFIGURE, DECODE_STEP.SETSURFACE, DECODE_STEP.PREPARE, DECODE_STEP.START, DECODE_STEP.WAIT_FOR_EOS, DECODE_STEP.STOP, DECODE_STEP.START, DECODE_STEP.STOP, DECODE_STEP.RELEASE); eosFrameId = 10; diff --git a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderEnumTest.test.js b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderEnumTest.test.js index 504a0e0df..92ba892ac 100644 --- a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderEnumTest.test.js +++ b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderEnumTest.test.js @@ -43,7 +43,7 @@ describe('VideoEncoderEnum', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_ENUM_VideoEncodeBitrateMode_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_ENUM_VideoEncodeBitrateMode_0100', 0, async function (done) { expect(media.VideoEncodeBitrateMode.CBR).assertEqual(0); expect(media.VideoEncodeBitrateMode.VBR).assertEqual(1); expect(media.VideoEncodeBitrateMode.CQ).assertEqual(2); diff --git a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderHardwareFuncPromiseTest.test.js b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderHardwareFuncPromiseTest.test.js index 388e44c00..480601a84 100644 --- a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderHardwareFuncPromiseTest.test.js +++ b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderHardwareFuncPromiseTest.test.js @@ -556,14 +556,14 @@ describe('videoHardwareEncoderFuncPromise', function () { }); /* * - * @tc.number : SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_00_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0100 * @tc.name : 000.test video software encoder capbility * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0100', 0, async function (done) { console.info("test video software encoder capbility"); let supportedEncForm = []; let supportedDecForm = []; @@ -606,14 +606,14 @@ describe('videoHardwareEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0200 * @tc.name : 001.test release after last frame * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0200', 0, async function (done) { checkFormat(done); console.info("case test release after last frame"); let savePath = 'video_hardware_encoder_function_0100.es'; @@ -626,14 +626,14 @@ describe('videoHardwareEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0300 * @tc.name : 002.test stop at running state and restart * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0300', 0, async function (done) { checkFormat(done); console.info("test stop at runnning state and restart"); let savePath = 'video_hardware_encoder_function_0200.es'; @@ -657,14 +657,14 @@ describe('videoHardwareEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0400 * @tc.name : 003.test stop at EOS and restart * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0400', 0, async function (done) { checkFormat(done); console.info('case test stop at EOS and restart'); let savePath = 'video_hardware_encoder_function_0300.es'; @@ -686,14 +686,14 @@ describe('videoHardwareEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0500 * @tc.name : 004.test flush at running state * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0500', 0, async function (done) { checkFormat(done); console.info('case test flush at running state'); let savePath = 'video_hardware_encoder_function_0400.es'; @@ -715,14 +715,14 @@ describe('videoHardwareEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0600 * @tc.name : 005.test flush at eos state * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0600', 0, async function (done) { checkFormat(done); console.info("case test flush at eos state"); let savePath = 'video_hardware_encoder_function_0500.es'; @@ -744,14 +744,14 @@ describe('videoHardwareEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0700 * @tc.name : 006.test reconfigure * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0700', 0, async function (done) { checkFormat(done); console.info("case test reconfigure"); let savePath = 'video_hardware_encoder_function_0600.es'; @@ -781,14 +781,14 @@ describe('videoHardwareEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0800 * @tc.name : 007.test recreate videoencoder * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_01_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_FUNCTION_PROMISE_0800', 0, async function (done) { checkFormat(done); console.info('case test recreate videoencoder'); let savePath = 'video_hardware_encoder_function_0700.es'; diff --git a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderMultiInstancesTest.test.js b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderMultiInstancesTest.test.js index 71e990ddc..42d936729 100644 --- a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderMultiInstancesTest.test.js +++ b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderMultiInstancesTest.test.js @@ -328,14 +328,14 @@ describe('videoEncoderSoftwareMultiInstances', function () { /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_MULTIINSTANCE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_MULTIINSTANCE_0100 * @tc.name : 001.create multiple encoders * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_MULTIINSTANCE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_MULTIINSTANCE_0100', 0, async function (done) { console.info("case test multiple encoder instances"); let savepath = BASIC_PATH + '0100.es'; let mime = 'video/mp4v-es'; diff --git a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncCallbackTest.test.js b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncCallbackTest.test.js index 9e0a18f23..bbc2d4e61 100644 --- a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncCallbackTest.test.js +++ b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncCallbackTest.test.js @@ -337,14 +337,14 @@ describe('VideoEncoderSoftwareFuncCallbackTest', function () { }); /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_00_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0100 * @tc.name : 000.test stop after last frame and reset * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0100', 0, async function (done) { let decPath = 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_00_0100.es'; let mime = 'video/mp4v-es'; let mediaDescription = { @@ -399,14 +399,14 @@ describe('VideoEncoderSoftwareFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0200 * @tc.name : 000.test stop at running state and reset * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0200', 0, async function (done) { let decPath = 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0100.es'; let name= 'avenc_mpeg4'; let mediaDescription = { @@ -435,14 +435,14 @@ describe('VideoEncoderSoftwareFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0300 * @tc.name : 000.test stop at end of stream and restart * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0300', 0, async function (done) { let decPath = 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0200.es'; let name= 'avenc_mpeg4'; let mediaDescription = { @@ -471,14 +471,14 @@ describe('VideoEncoderSoftwareFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0400 * @tc.name : 000.test stop at running state and restart * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0400', 0, async function (done) { let decPath = 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0300.es'; let name= 'avenc_mpeg4'; let mediaDescription = { @@ -508,14 +508,14 @@ describe('VideoEncoderSoftwareFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0500 * @tc.name : 000.test flush at running state * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0500', 0, async function (done) { let decPath = 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0400.es'; let name= 'avenc_mpeg4'; let mediaDescription = { @@ -544,14 +544,14 @@ describe('VideoEncoderSoftwareFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0600 * @tc.name : 000.test flush at end of stream * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0600', 0, async function (done) { let decPath = 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0500.es'; let name= 'avenc_mpeg4'; let mediaDescription = { @@ -579,14 +579,14 @@ describe('VideoEncoderSoftwareFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0700 * @tc.name : 000.test reconfigure * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0700', 0, async function (done) { let decPath = 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0600.es'; let name= 'avenc_mpeg4'; let mediaDescription = { @@ -595,7 +595,7 @@ describe('VideoEncoderSoftwareFuncCallbackTest', function () { 'pixel_format': 3, 'frame_rate': 30.00, } - let decPath2 = 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_01_0600_2.es'; + let decPath2 = 'SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_CALLBACK_0700_2.es'; let mediaDescription2 = { 'width': 320, 'height': 240, diff --git a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncPromiseTest.test.js b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncPromiseTest.test.js index f6a3c7dc2..095732453 100644 --- a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncPromiseTest.test.js +++ b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncPromiseTest.test.js @@ -400,14 +400,14 @@ describe('videoSoftwareEncoderFuncPromise', function () { } /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_00_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0100 * @tc.name : 000.test stop after last frame and reset * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0100', 0, async function (done) { console.info("case test stop after last frame"); let savepath = BASIC_PATH + '0000.es'; let name= 'avenc_mpeg4'; @@ -465,14 +465,14 @@ describe('videoSoftwareEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0200 * @tc.name : 001.test stop at runnning state and reset * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0200', 0, async function (done) { console.info("case test stop at runnning state and reset"); let savepath = BASIC_PATH + '0100.es'; let mime = 'video/mp4v-es'; @@ -504,14 +504,14 @@ describe('videoSoftwareEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0300 * @tc.name : 002.test stop at end of stream and restart * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0300', 0, async function (done) { console.info("test stop at end of stream and restart"); let savepath = BASIC_PATH + '0200.es'; let mime = 'video/mp4v-es'; @@ -544,14 +544,14 @@ describe('videoSoftwareEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0400 * @tc.name : 003.test stop at running state and restart * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0400', 0, async function (done) { console.info("test stop at runnning state and restart"); let savepath = BASIC_PATH + '0300.es'; let mime = 'video/mp4v-es'; @@ -585,14 +585,14 @@ describe('videoSoftwareEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0500 * @tc.name : 004.test flush at running state * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0500', 0, async function (done) { console.info("case test flush at running state"); let savepath = BASIC_PATH + '0400.es'; let mime = 'video/mp4v-es'; @@ -621,14 +621,14 @@ describe('videoSoftwareEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0600 * @tc.name : 005.test flush at end of stream * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0600', 0, async function (done) { console.info("case test flush at end of stream"); let savepath = BASIC_PATH + '0500.es'; let mime = 'video/mp4v-es'; @@ -660,14 +660,14 @@ describe('videoSoftwareEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0700 * @tc.name : 006.test reconfigure * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0700', 0, async function (done) { console.info("case test reconfigure"); let savepath = BASIC_PATH + '0600.es'; let mime = 'video/mp4v-es'; @@ -715,14 +715,14 @@ describe('videoSoftwareEncoderFuncPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0800 * @tc.name : 007.test recreate videoencoder * @tc.desc : basic encode function * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_01_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_FUNCTION_PROMISE_0800', 0, async function (done) { console.info("case test recreate videoencoder"); let savepath = BASIC_PATH + '0700.es'; let mime = 'video/mp4v-es'; diff --git a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareReliabilityCallbackTest.test.js b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareReliabilityCallbackTest.test.js index 4162c4232..f99145527 100644 --- a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareReliabilityCallbackTest.test.js +++ b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareReliabilityCallbackTest.test.js @@ -398,28 +398,28 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { } /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0100 * @tc.name : 001.create -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0100', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0100.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, ENCODE_STEP.RELEASE); toCreateVideoEncoderByName('avenc_mpeg4', path, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0200 * @tc.name : 002.prepare -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0200', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0200.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, ENCODE_STEP.PREPARE, @@ -428,14 +428,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0300 * @tc.name : 003.start -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0300', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0300.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, ENCODE_STEP.PREPARE, @@ -444,14 +444,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0400 * @tc.name : 004.flush -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0400', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0400.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, ENCODE_STEP.PREPARE, @@ -461,14 +461,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0500 * @tc.name : 005.stop -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0500', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0500.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, ENCODE_STEP.PREPARE, @@ -478,14 +478,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0600 * @tc.name : 006.EOS -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0600', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0600.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, ENCODE_STEP.PREPARE, @@ -496,14 +496,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0700 * @tc.name : 007.reset -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0700', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0700.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, ENCODE_STEP.PREPARE, @@ -514,14 +514,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0800 * @tc.name : 008.configure -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0800', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0800.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, ENCODE_STEP.CONFIGURE, @@ -530,14 +530,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0900 * @tc.name : 009.configure -> reset -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability test * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0900', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_CALLBACK_0900.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, ENCODE_STEP.PREPARE, @@ -548,28 +548,28 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0100 * @tc.name : 001.create -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0100', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0100.es'; let mySteps = new Array(ENCODE_STEP.PREPARE, ENCODE_STEP.ERROR, ENCODE_STEP.RELEASE); toCreateVideoEncoderByName('avenc_mpeg4', path, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0200 * @tc.name : 002.configure -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0200', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0200.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -578,14 +578,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0300 * @tc.name : 003.prepare -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0300', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0300.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, ENCODE_STEP.PREPARE, @@ -594,14 +594,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0400 * @tc.name : 004.start -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0400', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0400.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -611,14 +611,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0500 * @tc.name : 005.flush -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0500', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0500.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -628,14 +628,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0600 * @tc.name : 006.stop -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0600', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0600.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -645,14 +645,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0700 * @tc.name : 007.EOS -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0700', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0700.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -663,14 +663,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0800 * @tc.name : 008.reset -> prepare * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0800', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_CALLBACK_0800.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -680,28 +680,28 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0100 * @tc.name : 001.create -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0100', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0100.es'; let mySteps = new Array(ENCODE_STEP.START, ENCODE_STEP.ERROR, ENCODE_STEP.RELEASE); toCreateVideoEncoderByName('avenc_mpeg4', path, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0200 * @tc.name : 002.configure -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0200', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0200.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, ENCODE_STEP.START, @@ -710,14 +710,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0300 * @tc.name : 003.prepare -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0300', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0300.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -726,14 +726,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0400 * @tc.name : 004.start -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0400', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0400.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -742,14 +742,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0500 * @tc.name : 005.flush -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0500', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0500.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, ENCODE_STEP.PREPARE, @@ -758,14 +758,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0600 * @tc.name : 006.stop -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0600', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0600.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -774,14 +774,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0700 * @tc.name : 007.EOS -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0700', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0700.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -792,14 +792,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0800 * @tc.name : 008.reset -> start * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0800', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_CALLBACK_0800.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -809,28 +809,28 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0100 * @tc.name : 001.create -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0100', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0100.es'; let mySteps = new Array(ENCODE_STEP.FLUSH, ENCODE_STEP.ERROR, ENCODE_STEP.RELEASE); toCreateVideoEncoderByName('avenc_mpeg4', path, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0200 * @tc.name : 002.configure -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0200', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0200.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, @@ -839,14 +839,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0300 * @tc.name : 003.prepare -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0300', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0300.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -855,14 +855,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0400 * @tc.name : 004.start -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0400', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0400.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -871,14 +871,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0500 * @tc.name : 005.flush -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0500', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0500.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -887,14 +887,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0600 * @tc.name : 006.stop -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0600', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0600.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -904,14 +904,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0700 * @tc.name : 007.EOS -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0700', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0700.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -922,14 +922,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0800 * @tc.name : 008.reset -> flush * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0800', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_CALLBACK_0800.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -939,28 +939,28 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0100 * @tc.name : 001.create -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0100', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0100.es'; let mySteps = new Array(ENCODE_STEP.STOP, ENCODE_STEP.ERROR, ENCODE_STEP.RELEASE); toCreateVideoEncoderByName('avenc_mpeg4', path, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0200 * @tc.name : 002.configure -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0200', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0200.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, STREAM_STEP.START, ENCODE_STEP.STOP, ENCODE_STEP.ERROR, ENCODE_STEP.RELEASE); @@ -968,14 +968,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0300 * @tc.name : 003.prepare -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0300', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0300.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -984,14 +984,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0400 * @tc.name : 004.start -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0400', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0400.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -1000,14 +1000,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0500 * @tc.name : 005.flush -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0500', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0500.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -1017,14 +1017,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0600 * @tc.name : 006.stop -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0600', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0600.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -1034,14 +1034,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0700 * @tc.name : 007.EOS -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0700', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0700.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -1052,14 +1052,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0800 * @tc.name : 008.reset -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0800', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_CALLBACK_0800.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -1069,28 +1069,28 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0100 * @tc.name : 001.create -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0100', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0100.es'; let mySteps = new Array(ENCODE_STEP.RESET, ENCODE_STEP.RELEASE); toCreateVideoEncoderByName('avenc_mpeg4', path, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0200 * @tc.name : 002.configure -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0200', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0200.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, @@ -1099,14 +1099,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0300 * @tc.name : 003.prepare -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0300', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0300.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -1115,14 +1115,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0400 * @tc.name : 004.start -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0400', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0400.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -1131,14 +1131,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0500 * @tc.name : 005.flush -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0500', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0500.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -1147,14 +1147,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0600 * @tc.name : 006.stop -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0600', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0600.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -1163,14 +1163,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0700 * @tc.name : 007.EOS -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0700', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0700.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -1180,14 +1180,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0800 * @tc.name : 008.reset -> reset * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0800', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_CALLBACK_0800.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -1196,14 +1196,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0100 * @tc.name : 001.EOS -> flush -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0100', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0100.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -1214,14 +1214,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0200 * @tc.name : 002.EOS -> flush -> EOS * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0200', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0200.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -1232,14 +1232,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0300 * @tc.name : 003.EOS -> reset -> configure * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0300', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0300.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -1251,14 +1251,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0400 * @tc.name : 004.EOS -> stop -> start -> EOS * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0400', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0400.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -1269,14 +1269,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0500 * @tc.name : 005.EOS -> stop -> start -> stop * @tc.desc : test for state transition * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0500', 0, async function (done) { let path = BASIC_PATH + 'SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_CALLBACK_0500.es'; let mySteps = new Array(ENCODE_STEP.CONFIGURE, STREAM_STEP.CREATE, STREAM_STEP.SET_PARAM, STREAM_STEP.SET_EOS_FRAME, ENCODE_STEP.GET_INPUTSURFACE, STREAM_STEP.START, @@ -1287,14 +1287,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE-RESET_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE+RESET_CALLBACK_0100 * @tc.name : 001. configure -> reset for 50 times * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE-RESET_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE+RESET_CALLBACK_0100', 0, async function (done) { let name = 'avenc_mpeg4'; let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -1338,14 +1338,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START-STOP_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_STOP_CALLBACK_0100 * @tc.name : 001. start -> stop for 50 times * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START-STOP_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_STOP_CALLBACK_0100', 0, async function (done) { let name = 'avenc_mpeg4'; let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -1412,14 +1412,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CREATE-RELEASE_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CREATE_RELEASE_CALLBACK_0100 * @tc.name : 001. create -> release for 50 times * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CREATE-RELEASE_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CREATE_RELEASE_CALLBACK_0100', 0, async function (done) { let name = 'avenc_mpeg4'; let events = require('events'); let eventEmitter = new events.EventEmitter(); @@ -1455,14 +1455,14 @@ describe('VideoEncoderSoftwareReliCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_TOTALLOOP_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_TOTALLOOP_CALLBACK_0100 * @tc.name : 001. total loop for 50 times * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_TOTALLOOP_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_TOTALLOOP_CALLBACK_0100', 0, async function (done) { let name = 'avenc_mpeg4'; let events = require('events'); let eventEmitter = new events.EventEmitter(); diff --git a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareReliabilityPromiseTest.test.js b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareReliabilityPromiseTest.test.js index 116bfa09c..5b046fd9f 100644 --- a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareReliabilityPromiseTest.test.js +++ b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareReliabilityPromiseTest.test.js @@ -441,42 +441,42 @@ describe('videoEncoderReliabilityPromise', function () { } /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0100 * @tc.name : 001.create -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0100.es'; let mySteps = new Array(CONFIGURE, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0200 * @tc.name : 002.prepare -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0200.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, CONFIGURE, ERROR, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0300 * @tc.name : 003.start -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0300.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, CONFIGURE, ERROR, STOPSTREAM, END); @@ -484,14 +484,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0400 * @tc.name : 004.flush -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0400.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, FLUSH, CONFIGURE, ERROR, STOPSTREAM, END); @@ -499,14 +499,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0500 * @tc.name : 005.stop -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0500.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, STOP , CONFIGURE, ERROR, STOPSTREAM, END); @@ -514,14 +514,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0600 * @tc.name : 006.EOS -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0600', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0600.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, START, STARTSTREAM, HOLDON, JUDGE_EOS, CONFIGURE, ERROR, STOPSTREAM, END); @@ -530,98 +530,98 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0700 * @tc.name : 007.reset -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0700', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0700.es'; let mySteps = new Array(RESET, CONFIGURE, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0800 * @tc.name : 008.configure -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0800', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0800.es'; let mySteps = new Array(CONFIGURE, CONFIGURE, ERROR, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0900 * @tc.name : 009.configure -> reset -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_PROMISE_0900', 0, async function (done) { let savepath = BASIC_PATH + 'configure_0900.es'; let mySteps = new Array(CONFIGURE, RESET, CONFIGURE, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0100 * @tc.name : 001.create -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0100.es'; let mySteps = new Array(PREPARE, ERROR, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0200 * @tc.name : 002.configure -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0200.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0300 * @tc.name : 003.prepare -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0300.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, PREPARE, ERROR, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0400 * @tc.name : 004.start -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0400.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, PREPARE, ERROR, STOPSTREAM, END); @@ -629,14 +629,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0500 * @tc.name : 005.flush -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0500.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, FLUSH, PREPARE, ERROR, STOPSTREAM, END); @@ -644,14 +644,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0600 * @tc.name : 006.stop -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0600', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0600.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, STOP, PREPARE, ERROR, STOPSTREAM, END); @@ -659,14 +659,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0700 * @tc.name : 007.EOS -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0700', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0700.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, START, STARTSTREAM, HOLDON, JUDGE_EOS, PREPARE, ERROR, STOPSTREAM, END); @@ -675,14 +675,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0800 * @tc.name : 008.reset -> prepare * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_PREPARE_PROMISE_0800', 0, async function (done) { let savepath = BASIC_PATH + 'prepare_0800.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, RESET, PREPARE, ERROR, STOPSTREAM, END); @@ -690,42 +690,42 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0100 * @tc.name : 001.create -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'start_0100.es'; let mySteps = new Array(START, ERROR, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0200 * @tc.name : 002.configure -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'start_0200.es'; let mySteps = new Array(CONFIGURE, START, ERROR, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0300 * @tc.name : 003.prepare -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'start_0300.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, WAITFORALLOUTS); workdoneAtEOS = true; @@ -733,14 +733,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0400 * @tc.name : 004.start -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'start_0400.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, START, ERROR, STOPSTREAM, END); @@ -748,14 +748,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0500 * @tc.name : 005.flush -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'start_0500.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, FLUSH, START, ERROR, STOPSTREAM, END); @@ -763,14 +763,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0600 * @tc.name : 006.stop -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0600', 0, async function (done) { let savepath = BASIC_PATH + 'start_0600.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, STOP, START, WAITFORALLOUTS); @@ -779,14 +779,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0700 * @tc.name : 007.EOS -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0700', 0, async function (done) { let savepath = BASIC_PATH + 'start_0700.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, START, STARTSTREAM, HOLDON, JUDGE_EOS, START, ERROR, STOPSTREAM, END); @@ -795,14 +795,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0800 * @tc.name : 008.reset -> start * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_PROMISE_0800', 0, async function (done) { let savepath = BASIC_PATH + 'start_0800.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, RESET, START, ERROR, STOPSTREAM, END); @@ -810,56 +810,56 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0100 * @tc.name : 001.create -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0100.es'; let mySteps = new Array(FLUSH, ERROR, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0200 * @tc.name : 002.configure -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0200.es'; let mySteps = new Array(CONFIGURE, FLUSH, ERROR, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0300 * @tc.name : 003.prepare -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0300.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, FLUSH, ERROR, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0400 * @tc.name : 004.start -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0400.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, START, STARTSTREAM, FLUSH, STOPSTREAM, END); @@ -867,14 +867,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0500 * @tc.name : 005.flush -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0500.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, FLUSH, FLUSH, WAITFORALLOUTS); @@ -883,14 +883,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0600 * @tc.name : 006.stop -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0600', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0600.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, STOP, FLUSH, ERROR, STOPSTREAM, END); @@ -898,14 +898,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0700 * @tc.name : 007.EOS -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0700', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0700.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, START, STARTSTREAM, HOLDON, JUDGE_EOS, FLUSH, STOPSTREAM, END); @@ -914,14 +914,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0800 * @tc.name : 008.reset -> flush * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_FLUSH_PROMISE_0800', 0, async function (done) { let savepath = BASIC_PATH + 'flush_0800.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, RESET, FLUSH, ERROR, STOPSTREAM, END); @@ -929,56 +929,56 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0100 * @tc.name : 001.create -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0100.es'; let mySteps = new Array(STOP, ERROR, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0200 * @tc.name : 002.configure -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0200.es'; let mySteps = new Array(CONFIGURE, STOP, ERROR, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0300 * @tc.name : 003.prepare -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0300.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STOP, ERROR, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0400 * @tc.name : 004.start -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0400.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, STOP, STOPSTREAM, END); @@ -986,14 +986,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0500 * @tc.name : 005.flush -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0500.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, FLUSH, STOP, STOPSTREAM, END); @@ -1001,14 +1001,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0600 * @tc.name : 006.stop -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0600', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0600.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, STOP, STOP, ERROR, STOPSTREAM, END); @@ -1016,14 +1016,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0700 * @tc.name : 007.EOS -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0700', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0700.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, START, STARTSTREAM, HOLDON, JUDGE_EOS, STOP, STOPSTREAM, END); @@ -1032,14 +1032,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0800 * @tc.name : 008.reset -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_STOP_PROMISE_0800', 0, async function (done) { let savepath = BASIC_PATH + 'stop_0800.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, RESET, STOP, ERROR, STOPSTREAM, END); @@ -1047,56 +1047,56 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0100 * @tc.name : 001.create -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0100.es'; let mySteps = new Array(RESET, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0200 * @tc.name : 002.configure -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0200.es'; let mySteps = new Array(CONFIGURE, RESET, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0300 * @tc.name : 003.prepare -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0300.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, RESET, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0400 * @tc.name : 004.start -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0400.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, RESET, STOPSTREAM, END); @@ -1104,14 +1104,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0500 * @tc.name : 005.flush -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0500.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, FLUSH, RESET, STOPSTREAM, END); @@ -1119,14 +1119,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0600 * @tc.name : 006.stop -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0600', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0600.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, STOP, RESET, STOPSTREAM, END); @@ -1134,14 +1134,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0700 * @tc.name : 007.EOS -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0700', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0700.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, START, STARTSTREAM, HOLDON, JUDGE_EOS, RESET, STOPSTREAM, END); @@ -1150,14 +1150,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0800 * @tc.name : 008.reset -> reset * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RESET_PROMISE_0800', 0, async function (done) { let savepath = BASIC_PATH + 'reset_0800.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, RESET, RESET, STOPSTREAM, END); @@ -1165,56 +1165,56 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0100 * @tc.name : 001.create -> release * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'release_0100.es'; let mySteps = new Array(RELEASE, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0200 * @tc.name : 002.configure -> release * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'release_0200.es'; let mySteps = new Array(CONFIGURE, RELEASE, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0300 * @tc.name : 003.prepare -> release * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'release_0300.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, RELEASE, END); createVideoEncoder(savepath, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0400 * @tc.name : 004.start -> release * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'release_0400.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, RELEASE, STOPSTREAM, END); @@ -1222,14 +1222,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0500 * @tc.name : 005.flush -> release * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'release_0500.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, FLUSH, RELEASE, STOPSTREAM, END); @@ -1237,14 +1237,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0600 * @tc.name : 006.stop -> release * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0600', 0, async function (done) { let savepath = BASIC_PATH + 'release_0600.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, STOP, RELEASE, STOPSTREAM, END); @@ -1252,14 +1252,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0700 * @tc.name : 007.EOS -> release * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0700', 0, async function (done) { let savepath = BASIC_PATH + 'release_0700.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, START, STARTSTREAM, HOLDON, JUDGE_EOS, RELEASE, STOPSTREAM, END); @@ -1268,14 +1268,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0800 * @tc.name : 008.release -> release * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_RELEASE_PROMISE_0800', 0, async function (done) { let savepath = BASIC_PATH + 'release_0800.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, STARTSTREAM, START, RELEASE, RELEASE, ERROR, STOPSTREAM, END); @@ -1283,14 +1283,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0100 * @tc.name : 001.EOS -> flush -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0100', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0100.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, START, STARTSTREAM, HOLDON, JUDGE_EOS, FLUSH, STOP, STOPSTREAM, END); @@ -1299,14 +1299,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0200 * @tc.name : 002.EOS -> flush -> EOS * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0200', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0200.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, START, STARTSTREAM, HOLDON, JUDGE_EOS, FLUSH, STARTSTREAM, WAITFORALLOUTS); @@ -1316,14 +1316,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0300 * @tc.name : 003.EOS -> reset -> configure * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0300', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0300.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, START, STARTSTREAM, HOLDON, JUDGE_EOS, RESET, CONFIGURE, STOPSTREAM, END); @@ -1332,14 +1332,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0400 * @tc.name : 004.EOS -> stop -> start -> EOS * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0400', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0400.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, START, STARTSTREAM, HOLDON, JUDGE_EOS, STOPSTREAM, STOP, START, SETSTREAMPARAM, STARTSTREAM, WAITFORALLOUTS); @@ -1348,14 +1348,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0500 * @tc.name : 005.EOS -> stop -> start -> stop * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_EOS_PROMISE_0500', 0, async function (done) { let savepath = BASIC_PATH + 'eos_0500.es'; let mySteps = new Array(CONFIGURE, GETSURFACE, SETSTREAMPARAM, PREPARE, START, STARTSTREAM, HOLDON, JUDGE_EOS, STOP, START, STOP, STOPSTREAM, RELEASE, END); @@ -1364,14 +1364,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE-RESET_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_RESET_PROMISE_0100 * @tc.name : 001. configure -> reset for 50 times * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE-RESET_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CONFIGURE_RESET_PROMISE_0100', 0, async function (done) { let name = 'avenc_mpeg4'; await media.createVideoEncoderByName(name).then((processor) => { if (typeof (processor) != 'undefined') { @@ -1400,14 +1400,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START-STOP_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_STOP_PROMISE_0100 * @tc.name : 001. start -> stop for 50 times * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START-STOP_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_START_STOP_PROMISE_0100', 0, async function (done) { let name = 'avenc_mpeg4'; await media.createVideoEncoderByName(name).then((processor) => { if (typeof (processor) != 'undefined') { @@ -1443,14 +1443,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CREATE-RELEASE_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CREATE_RELEASE_PROMISE_0100 * @tc.name : 001. create -> release for 50 times * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CREATE-RELEASE_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_CREATE_RELEASE_PROMISE_0100', 0, async function (done) { let name = 'avenc_mpeg4'; for (let j = 1; j < 51; j++) { console.info('case create-release current loop: ' + j); @@ -1473,14 +1473,14 @@ describe('videoEncoderReliabilityPromise', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_TOTALLOOP_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_TOTALLOOP_PROMISE_0100 * @tc.name : 001. total loop for 50 times * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_SOFTWARE_ENCODER_API_TOTALLOOP_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_SOFTWARE_ENCODER_API_TOTALLOOP_PROMISE_0100', 0, async function (done) { let name = 'avenc_mpeg4'; for (let j = 1; j < 51; j++) { console.info('case create-release current loop: ' + j); diff --git a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoHardwareEncoderEnumTest.test.js b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoHardwareEncoderEnumTest.test.js index 524bdcc37..b4033e53e 100644 --- a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoHardwareEncoderEnumTest.test.js +++ b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoHardwareEncoderEnumTest.test.js @@ -36,14 +36,14 @@ describe('VideoHardwareEncoderEnum', function () { /* * - * @tc.number : SUB_MEDIA_VIDEO_HARDWARE_ENCODER_ENUM_MediaDescriptionKey_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_ENUM_MediaDescriptionKey_0100 * @tc.name : 001.MediaDescriptionKey * @tc.desc : Test Enumerate MediaDescriptionKey * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_HARDWARE_ENCODER_ENUM_MediaDescriptionKey_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_HARDWARE_ENCODER_ENUM_MediaDescriptionKey_0100', 0, async function (done) { expect(media.MediaDescriptionKey.MD_KEY_SUSPEND_INPUT_SURFACE).assertEqual("suspend_input_surface"); expect(media.MediaDescriptionKey.MD_KEY_VIDEO_ENCODE_BITRATE_MODE).assertEqual("video_encode_bitrate_mode"); expect(media.MediaDescriptionKey.MD_KEY_PROFILE).assertEqual("codec_profile"); diff --git a/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerAPICallbackTest.test.js b/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerAPICallbackTest.test.js index 01187ad8e..ce2206127 100644 --- a/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerAPICallbackTest.test.js +++ b/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerAPICallbackTest.test.js @@ -40,6 +40,7 @@ describe('VideoPlayerAPICallbackTest', function () { const SEEK_MODE_EVENT = 'seekMode'; const SETVOLUME_EVENT = 'volume'; const SETSPEED_EVENT = 'speed'; + const FINISH_EVENT = 'finish'; const ERROR_EVENT = 'error'; const END_EVENT = 'end'; const VOLUME_VALUE = 1; @@ -105,6 +106,7 @@ describe('VideoPlayerAPICallbackTest', function () { function setOnCallback(videoPlayer, steps, done) { videoPlayer.on('playbackCompleted', () => { console.info('case playbackCompleted success'); + toNextStep(videoPlayer, steps, done); }); videoPlayer.on('bufferingUpdate', (infoType, value) => { @@ -381,15 +383,20 @@ describe('VideoPlayerAPICallbackTest', function () { }); }); + eventEmitter.on(FINISH_EVENT, (videoPlayer, steps, done) => { + steps.shift(); + console.info('case wait for playbackCompleted'); + }); + /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_fdSrc_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_fdSrc_CALLBACK_0100 * @tc.name : fd is wrong * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_fdSrc_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_fdSrc_CALLBACK_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); fileDescriptor.fd = -1; let videoPlayer = null; @@ -399,14 +406,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_fdSrc_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_fdSrc_CALLBACK_0200 * @tc.name : offset is -1 * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it(' SUB_MEDIA_VIDEO_PLAYER_fdSrc_CALLBACK_0200', 0, async function (done) { + it(' SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_fdSrc_CALLBACK_0200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); fileDescriptor.offset = -1; let videoPlayer = null; @@ -416,14 +423,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_fdSrc_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_fdSrc_CALLBACK_0300 * @tc.name : length is -1 * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it(' SUB_MEDIA_VIDEO_PLAYER_fdSrc_CALLBACK_0300', 0, async function (done) { + it(' SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_fdSrc_CALLBACK_0300', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); fileDescriptor.length = -1; let videoPlayer = null; @@ -433,14 +440,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_fdSrc_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_fdSrc_CALLBACK_0400 * @tc.name : fileDescriptor is null * @tc.desc : Reliability Test * @tc.size : MediumTest * @tc.type : Reliability * @tc.level : Level2 */ - it(' SUB_MEDIA_VIDEO_PLAYER_fdSrc_CALLBACK_0400', 0, async function (done) { + it(' SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_fdSrc_CALLBACK_0400', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); fileDescriptor = null; let videoPlayer = null; @@ -450,14 +457,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0100 * @tc.name : 01.create->prepare * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -466,14 +473,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0200 * @tc.name : 02.play->prepare * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, PLAY_EVENT, @@ -482,14 +489,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0300 * @tc.name : 03.pause->prepare * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0300', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, PLAY_EVENT, @@ -498,14 +505,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0400 * @tc.name : 04.stop->prepare * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0400', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, PLAY_EVENT, @@ -514,14 +521,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0500 * @tc.name : 05.reset->prepare * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0500', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, PLAY_EVENT, @@ -530,14 +537,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0600 * @tc.name : 06.seek->prepare * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0600', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, PLAY_EVENT, @@ -546,14 +553,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0700 * @tc.name : 07.seek(mode)->prepare * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0700', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, PLAY_EVENT, @@ -562,14 +569,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0800 * @tc.name : 08.setvolume->prepare * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0800', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, PLAY_EVENT, @@ -578,14 +585,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0900 * @tc.name : 09.setspeed->prepare * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_0900', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, PLAY_EVENT, @@ -594,14 +601,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_1000 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_1000 * @tc.name : 10.setDisplaySurface->prepare * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_1000', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_1000', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -610,14 +617,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_1100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_1100 * @tc.name : 11.getTrackDescription->prepare * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_1100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_1100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, GETDESCRIPTION, @@ -626,14 +633,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_1200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_1200 * @tc.name : 12.prepare 3 times * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_1200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_1200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, PREPARE_EVENT, @@ -642,14 +649,30 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0100 + * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_1300 + * @tc.name : 13.finish -> prepare + * @tc.desc : Video playback control test + * @tc.size : MediumTest + * @tc.type : Function + * @tc.level : Level2 + */ + it('SUB_MEDIA_VIDEO_PLAYER_PREPARE_CALLBACK_1300', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let videoPlayer = null; + let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, PLAY_EVENT, + SEEK_EVENT, DURATION_TIME, FINISH_EVENT, PREPARE_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); + eventEmitter.emit(mySteps[0], videoPlayer, mySteps, done); + }) + + /* * + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0100 * @tc.name : 01.create->play * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, PLAY_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -657,14 +680,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0200 * @tc.name : 02.prepare->play * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -673,14 +696,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0300 * @tc.name : 03.pause->play * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0300', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -689,14 +712,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0400 * @tc.name : 04.stop->play * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0400', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -705,14 +728,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0500 * @tc.name : 05.reset->play * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0500', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -721,14 +744,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0600 * @tc.name : 06.seek->play * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0600', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -737,14 +760,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0700 * @tc.name : 07.seek(mode)->play * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0700', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -753,14 +776,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0800 * @tc.name : 08.setvolume->play * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0800', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -769,14 +792,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0900 * @tc.name : 09.setspeed->play * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_0900', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -785,14 +808,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_1000 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_1000 * @tc.name : 10.setDisplaySurface->play * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_1000', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_1000', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -801,14 +824,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_1100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_1100 * @tc.name : 11.getTrackDescription->play * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_1100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_1100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -817,14 +840,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_1200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_1200 * @tc.name : 12.play 3 times * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_1200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_1200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -833,14 +856,30 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0100 + * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_1300 + * @tc.name : 13.finish -> play + * @tc.desc : Video playback control test + * @tc.size : MediumTest + * @tc.type : Function + * @tc.level : Level2 + */ + it('SUB_MEDIA_VIDEO_PLAYER_PLAY_CALLBACK_1300', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let videoPlayer = null; + let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, PLAY_EVENT, + SEEK_EVENT, DURATION_TIME, FINISH_EVENT, PLAY_EVENT, RELEASE_EVENT, END_EVENT); + eventEmitter.emit(mySteps[0], videoPlayer, mySteps, done); + }) + + /* * + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0100 * @tc.name : 01.create->pause * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, PAUSE_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -848,14 +887,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0200 * @tc.name : 02.prepare->pause * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -864,14 +903,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0300 * @tc.name : 03.play->pause * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0300', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -880,14 +919,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0400 * @tc.name : 004.stop->pause * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0400', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -896,14 +935,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0500 * @tc.name : 05.reset->pause * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0500', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -912,14 +951,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0600 * @tc.name : 06.seek->pause * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0600', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -928,14 +967,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0700 * @tc.name : 07.seek(mode)->pause * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0700', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -944,14 +983,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0800 * @tc.name : 08.setvolume->pause * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0800', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -960,14 +999,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0900 * @tc.name : 09.setspeed->pause * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_0900', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -976,14 +1015,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_1000 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_1000 * @tc.name : 10.setDisplaySurface->pause * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_1000', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_1000', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -992,14 +1031,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_1100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_1100 * @tc.name : 11.getTrackDescription->pause * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_1100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_1100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1008,14 +1047,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_1200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_1200 * @tc.name : 12.pause 3 times * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_1200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_1200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1025,14 +1064,31 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0100 + * @tc.number : SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_1300 + * @tc.name : 13.finish -> pause + * @tc.desc : Video playback control test + * @tc.size : MediumTest + * @tc.type : Function + * @tc.level : Level2 + */ + it('SUB_MEDIA_VIDEO_PLAYER_PAUSE_CALLBACK_1300', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let videoPlayer = null; + let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, PLAY_EVENT, + SEEK_EVENT, DURATION_TIME, FINISH_EVENT, PAUSE_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); + eventEmitter.emit(mySteps[0], videoPlayer, mySteps, done); + }) + + + /* * + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0100 * @tc.name : 001.create->stop * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, STOP_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -1040,14 +1096,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0200 * @tc.name : 02.prepare->stop * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1056,14 +1112,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0300 * @tc.name : 03.play->stop * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0300', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1072,14 +1128,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0400 * @tc.name : 04.pause->stop * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0400', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1088,14 +1144,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0500 * @tc.name : 05.reset->stop * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0500', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1104,14 +1160,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0600 * @tc.name : 06.seek->stop * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0600', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1120,14 +1176,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0700 * @tc.name : 07.seek(mode)->stop * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0700', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1136,14 +1192,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0800 * @tc.name : 08.setvolume->stop * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0800', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1152,14 +1208,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0900 * @tc.name : 09.setspeed->stop * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_0900', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1168,14 +1224,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_1000 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_1000 * @tc.name : 10.setDisplaySurface->stop * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_1000', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_1000', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1184,14 +1240,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_1100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_1100 * @tc.name : 11.getTrackDescription->stop * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_1100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_1100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1200,31 +1256,47 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_1200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_1200 * @tc.name : 12.stop 3 times * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_1200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_1200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, - PREPARE_EVENT, PLAY_EVENT, STOP_EVENT, - STOP_EVENT, ERROR_EVENT, STOP_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); + PREPARE_EVENT, PLAY_EVENT, STOP_EVENT, STOP_EVENT, ERROR_EVENT, + STOP_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); + eventEmitter.emit(mySteps[0], videoPlayer, mySteps, done); + }) + + /* * + * @tc.number : SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_1300 + * @tc.name : 13.finish -> stop + * @tc.desc : Video playback control test + * @tc.size : MediumTest + * @tc.type : Function + * @tc.level : Level2 + */ + it('SUB_MEDIA_VIDEO_PLAYER_STOP_CALLBACK_1300', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let videoPlayer = null; + let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, PLAY_EVENT, + SEEK_EVENT, DURATION_TIME, FINISH_EVENT, STOP_EVENT, RELEASE_EVENT, END_EVENT); eventEmitter.emit(mySteps[0], videoPlayer, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0100 * @tc.name : 01.create->reset * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, STOP_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -1232,14 +1304,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0200 * @tc.name : 02.prepare->reset * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1248,14 +1320,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0300 * @tc.name : 03.play->reset * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0300', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1264,14 +1336,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0400 * @tc.name : 04.pause->reset * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0400', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1280,14 +1352,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0500 * @tc.name : 05.stop->reset * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0500', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1296,14 +1368,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0600 * @tc.name : 06.seek->reset * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0600', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1312,14 +1384,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0700 * @tc.name : 07.seek(mode)->reset * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0700', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1328,14 +1400,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0800 * @tc.name : 08.setvolume->reset * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0800', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1344,14 +1416,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0900 * @tc.name : 09.setspeed->reset * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_0900', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1360,14 +1432,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_1000 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_1000 * @tc.name : 10.setDisplaySurface->reset * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_1000', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_1000', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1376,14 +1448,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_1100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_1100 * @tc.name : 11.getTrackDescription->reset * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_1100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_1100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1392,30 +1464,48 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_1200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_1200 * @tc.name : 12.reset 3 times * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_1200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_1200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, - PREPARE_EVENT, RESET_EVENT, RESET_EVENT, ERROR_EVENT, RESET_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); + PREPARE_EVENT, RESET_EVENT, RESET_EVENT, ERROR_EVENT, + RESET_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); eventEmitter.emit(mySteps[0], videoPlayer, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0100 + * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_1300 + * @tc.name : 13.finish -> reset + * @tc.desc : Video playback control test + * @tc.size : MediumTest + * @tc.type : Function + * @tc.level : Level2 + */ + it('SUB_MEDIA_VIDEO_PLAYER_RESET_CALLBACK_1300', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let videoPlayer = null; + let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, PLAY_EVENT, + SEEK_EVENT, DURATION_TIME, FINISH_EVENT, RESET_EVENT, SETURL_EVENT, + PREPARE_EVENT, PLAY_EVENT, RELEASE_EVENT, END_EVENT); + eventEmitter.emit(mySteps[0], videoPlayer, mySteps, done); + }) + + /* * + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0100 * @tc.name : 01.create->release * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, RELEASE_EVENT, END_EVENT); @@ -1423,14 +1513,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0200 * @tc.name : 02.prepare->release * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1439,14 +1529,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0300 * @tc.name : 03.play->release * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0300', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1455,14 +1545,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0400 * @tc.name : 04.pause->release * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0400', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1471,14 +1561,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0500 * @tc.name : 05.stop->release * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0500', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1487,14 +1577,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0600 * @tc.name : 06.seek->release * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0600', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1503,14 +1593,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0700 * @tc.name : 07.seek(mode)->release * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0700', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1519,14 +1609,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0800 * @tc.name : 08.setvolume->release * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0800', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1535,14 +1625,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0900 * @tc.name : 09.setspeed->release * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_0900', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1551,14 +1641,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_1000 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_1000 * @tc.name : 10.setDisplaySurface->release * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_1000', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_1000', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, RELEASE_EVENT, END_EVENT); @@ -1566,14 +1656,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_1100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_1100 * @tc.name : 11.getTrackDescription->release * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_1100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_1100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1582,14 +1672,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_1200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_1200 * @tc.name : 12.reset->release * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_1200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_1200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1598,14 +1688,30 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0100 + * @tc.number : SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_1300 + * @tc.name : 13.finish -> RELEASE + * @tc.desc : Video playback control test + * @tc.size : MediumTest + * @tc.type : Function + * @tc.level : Level2 + */ + it('SUB_MEDIA_VIDEO_PLAYER_RELEASE_CALLBACK_1300', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let videoPlayer = null; + let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, PLAY_EVENT, + SEEK_EVENT, DURATION_TIME, FINISH_EVENT, RELEASE_EVENT, END_EVENT); + eventEmitter.emit(mySteps[0], videoPlayer, mySteps, done); + }) + + /* * + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0100 * @tc.name : 01.create->seek * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SEEK_EVENT, SEEK_TIME, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -1613,14 +1719,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0200 * @tc.name : 02.prepare->seek * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1629,14 +1735,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0300 * @tc.name : 03.play->seek * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0300', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1645,14 +1751,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0400 * @tc.name : 04.pause->seek * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0400', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1661,14 +1767,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0500 * @tc.name : 05.stop->seek * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0500', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1677,14 +1783,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0600 * @tc.name : 06.reset->seek * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0600', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1693,14 +1799,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0700 * @tc.name : 07.setvolume->seek * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0700', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1710,14 +1816,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0800 * @tc.name : 08.setspeed->seek * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0800', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1727,14 +1833,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0900 * @tc.name : 09.setDisplaySurface->seek * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_0900', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1743,14 +1849,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_1000 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_1000 * @tc.name : 10.getTrackDescription->seek * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_1000', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_1000', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1759,14 +1865,31 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_1300 + * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_1100 + * @tc.name : 11.seek 3 times + * @tc.desc : Video playback control test + * @tc.size : MediumTest + * @tc.type : Function + * @tc.level : Level2 + */ + it('SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_1100', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let videoPlayer = null; + let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, + PREPARE_EVENT, PLAY_EVENT, SEEK_EVENT, SEEK_TIME, SEEK_EVENT, SEEK_TIME, + SEEK_EVENT, SEEK_TIME, RELEASE_EVENT, END_EVENT); + eventEmitter.emit(mySteps[0], videoPlayer, mySteps, done); + }) + + /* * + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_1300 * @tc.name : 13.seek(-1) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_1300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_1300', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1775,14 +1898,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_1400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_1400 * @tc.name : 14.seek(out of duration) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_1400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_1400', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1791,14 +1914,30 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0100 + * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_1500 + * @tc.name : 13.finish -> seek + * @tc.desc : Video playback control test + * @tc.size : MediumTest + * @tc.type : Function + * @tc.level : Level2 + */ + it('SUB_MEDIA_VIDEO_PLAYER_SEEK_CALLBACK_1500', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let videoPlayer = null; + let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, PLAY_EVENT, + SEEK_EVENT, DURATION_TIME, FINISH_EVENT, SEEK_EVENT, 0, ERROR_EVENT, RELEASE_EVENT, END_EVENT); + eventEmitter.emit(mySteps[0], videoPlayer, mySteps, done); + }) + + /* * + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0100 * @tc.name : 01.create->setvolume * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETVOLUME_EVENT, VOLUME_VALUE, RELEASE_EVENT, END_EVENT); @@ -1806,14 +1945,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0200 * @tc.name : 02.prepare->setvolume * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1822,14 +1961,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0300 * @tc.name : 03.play->setvolume * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0300', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1838,14 +1977,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0400 * @tc.name : 04.pause->setvolume * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0400', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1854,14 +1993,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0500 * @tc.name : 05.stop->setvolume * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0500', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1870,14 +2009,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0600 * @tc.name : 06.reset->setvolume * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0600', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1886,14 +2025,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0700 * @tc.name : 07.seek->setvolume * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0700', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1903,14 +2042,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0800 * @tc.name : 08.setspeed->setvolume * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0800', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1920,14 +2059,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0900 * @tc.name : 09.setDisplaySurface->setvolume * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_0900', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1936,14 +2075,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_1000 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_1000 * @tc.name : 10.getTrackDescription->setvolume * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_1000', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_1000', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1952,14 +2091,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_1100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_1100 * @tc.name : 11.setvolume 3 times * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_1100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_1100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1969,14 +2108,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_1300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_1300 * @tc.name : 13.setvolume(<0) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_1300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_1300', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -1985,14 +2124,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_1400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_1400 * @tc.name : 14.setvolume(> 1) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_1400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_1400', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -2001,14 +2140,30 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0100 + * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_1500 + * @tc.name : 15.finish -> setvolume + * @tc.desc : Video playback control test + * @tc.size : MediumTest + * @tc.type : Function + * @tc.level : Level2 + */ + it('SUB_MEDIA_VIDEO_PLAYER_SETVOLUME_CALLBACK_1500', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let videoPlayer = null; + let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, PLAY_EVENT, + SEEK_EVENT, DURATION_TIME, FINISH_EVENT, SETVOLUME_EVENT, 1, RELEASE_EVENT, END_EVENT); + eventEmitter.emit(mySteps[0], videoPlayer, mySteps, done); + }) + + /* * + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0100 * @tc.name : 01.create->setspeed * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETSPEED_EVENT, SPEED_VALUE,ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -2016,14 +2171,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0200 * @tc.name : 02.prepare->setspeed * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -2032,14 +2187,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0300 * @tc.name : 03.play->setspeed * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0300', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -2048,14 +2203,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0400 * @tc.name : 04.pause->setspeed * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0400', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -2064,14 +2219,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0500 * @tc.name : 05.stop->setspeed * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0500', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -2081,14 +2236,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0600 * @tc.name : 06.reset->setspeed * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0600', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -2098,14 +2253,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0700 * @tc.name : 07.seek->setspeed * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0700', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -2115,14 +2270,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0800 * @tc.name : 08.setvolume->setspeed * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0800', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -2132,14 +2287,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0900 * @tc.name : 09.setDisplaySurface->setspeed * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_0900', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -2148,14 +2303,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_1000 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_1000 * @tc.name : 10.getTrackDescription->setspeed * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_1000', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_1000', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -2164,14 +2319,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_1100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_1100 * @tc.name : 11.setspeed 3 times * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_1100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_1100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -2181,14 +2336,14 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_1300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_1300 * @tc.name : 13.setspeed(< 0) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_1300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_1300', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, @@ -2197,19 +2352,35 @@ describe('VideoPlayerAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_1400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_1400 * @tc.name : 14.setspeed(> 4) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_1400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_1400', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, PLAY_EVENT, SETSPEED_EVENT, 5, ERROR_EVENT, RELEASE_EVENT, END_EVENT); eventEmitter.emit(mySteps[0], videoPlayer, mySteps, done); }) + + /* * + * @tc.number : SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_1500 + * @tc.name : 15.finish -> setspeed + * @tc.desc : Video playback control test + * @tc.size : MediumTest + * @tc.type : Function + * @tc.level : Level2 + */ + it('SUB_MEDIA_VIDEO_PLAYER_SETSPEED_CALLBACK_1500', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let videoPlayer = null; + let mySteps = new Array(CREATE_EVENT, SETURL_EVENT, SETSURFACE_EVENT, PREPARE_EVENT, PLAY_EVENT, + SEEK_EVENT, DURATION_TIME, FINISH_EVENT, SETSPEED_EVENT, 4, RELEASE_EVENT, END_EVENT); + eventEmitter.emit(mySteps[0], videoPlayer, mySteps, done); + }) }) } diff --git a/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerEnumTest.test.js b/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerEnumTest.test.js index 2b9de2e4e..238e955e9 100644 --- a/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerEnumTest.test.js +++ b/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerEnumTest.test.js @@ -35,14 +35,14 @@ describe('VideoPlayerEnumTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_ENUM_SEEK_MODE_00_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_SEEK_MODE_0100 * @tc.name : SeekMode * @tc.desc : SeekMode Enumeration test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_ENUM_SEEK_MODE_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_SEEK_MODE_0100', 0, async function (done) { expect(media.SeekMode.SEEK_NEXT_SYNC).assertEqual(0); expect(media.SeekMode.SEEK_PREV_SYNC).assertEqual(1); expect(media.SeekMode.SEEK_CLOSEST_SYNC).assertEqual(2); @@ -51,14 +51,14 @@ describe('VideoPlayerEnumTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_ERROR_CODE_00_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_ERROR_CODE_0100 * @tc.name : MediaErrorCode * @tc.desc : MediaErrorCode Enumeration test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_ERROR_CODE_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_ERROR_CODE_0100', 0, async function (done) { expect(media.MediaErrorCode.MSERR_OK).assertEqual(0); expect(media.MediaErrorCode.MSERR_NO_MEMORY).assertEqual(1); expect(media.MediaErrorCode.MSERR_OPERATION_NOT_PERMIT).assertEqual(2); @@ -73,28 +73,28 @@ describe('VideoPlayerEnumTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_ENUM_AV_DATA_SOURCE_ERROR_00_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_AV_DATA_SOURCE_ERROR_0100 * @tc.name : AVDataSourceError * @tc.desc : AVDataSourceError Enumeration test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_ENUM_AV_DATA_SOURCE_ERROR_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_AV_DATA_SOURCE_ERROR_0100', 0, async function (done) { expect(media.AVDataSourceError.SOURCE_ERROR_IO).assertEqual(-2); expect(media.AVDataSourceError.SOURCE_ERROR_EOF).assertEqual(-1); done(); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_ENUM_BUFFERING_INFO_TYPE_00_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_BUFFERING_INFO_TYPE_0100 * @tc.name : BufferingInfoType * @tc.desc : BufferingInfoType Enumeration test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_ENUM_BUFFERING_INFO_TYPE_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_BUFFERING_INFO_TYPE_0100', 0, async function (done) { expect(media.BufferingInfoType.BUFFERING_START).assertEqual(1); expect(media.BufferingInfoType.BUFFERING_END).assertEqual(2); expect(media.BufferingInfoType.BUFFERING_PERCENT).assertEqual(3); @@ -103,14 +103,14 @@ describe('VideoPlayerEnumTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_ENUM_PLAYBACK_SPEED_00_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_PLAYBACK_SPEED_0100 * @tc.name : PlaybackSpeed * @tc.desc : PlaybackSpeed Enumeration test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_ENUM_PLAYBACK_SPEED_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_PLAYBACK_SPEED_0100', 0, async function (done) { expect(media.PlaybackSpeed.SPEED_FORWARD_0_75_X).assertEqual(0); expect(media.PlaybackSpeed.SPEED_FORWARD_1_00_X).assertEqual(1); expect(media.PlaybackSpeed.SPEED_FORWARD_1_25_X).assertEqual(2); @@ -120,28 +120,28 @@ describe('VideoPlayerEnumTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_ENUM_CONTAINER_FORMAT_TYPE_00_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_CONTAINER_FORMAT_TYPE_0100 * @tc.name : ContainerFormatType * @tc.desc : ContainerFormatType Enumeration test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_ENUM_CONTAINER_FORMAT_TYPE_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_CONTAINER_FORMAT_TYPE_0100', 0, async function (done) { expect(media.ContainerFormatType.CFT_MPEG_4).assertEqual("mp4"); expect(media.ContainerFormatType.CFT_MPEG_4A).assertEqual("m4a"); done(); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_TYPE_00_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_TYPE_0100 * @tc.name : MediaType * @tc.desc : MediaType Enumeration test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_TYPE_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_TYPE_0100', 0, async function (done) { expect(media.MediaType.MEDIA_TYPE_AUD).assertEqual(0); expect(media.MediaType.MEDIA_TYPE_VID).assertEqual(1); expect(media.MediaType.MEDIA_TYPE_SUBTITLE).assertEqual(2); @@ -149,14 +149,14 @@ describe('VideoPlayerEnumTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_DESCRIPTION_KEY_00_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_DESCRIPTION_KEY_0100 * @tc.name : MediaDescriptionKey * @tc.desc : MediaDescriptionKey Enumeration test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_DESCRIPTION_KEY_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_DESCRIPTION_KEY_0100', 0, async function (done) { expect(media.MediaDescriptionKey.MD_KEY_TRACK_INDEX).assertEqual("track_index"); expect(media.MediaDescriptionKey.MD_KEY_TRACK_TYPE).assertEqual("track_type"); expect(media.MediaDescriptionKey.MD_KEY_CODEC_MIME).assertEqual("codec_mime"); @@ -177,7 +177,7 @@ describe('VideoPlayerEnumTest', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_TYPE_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_ENUM_MEDIA_TYPE_0100', 0, async function (done) { expect(media.VideoScaleType.VIDEO_SCALE_TYPE_FIT).assertEqual(0); expect(media.VideoScaleType.VIDEO_SCALE_TYPE_FIT_CROP).assertEqual(1); done(); 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 2b35768f2..aa9b9f57e 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 @@ -478,7 +478,7 @@ describe('VideoPlayerFuncCallbackTest', function () { * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SETSOURCE', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SETSOURCE_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETSOURCE_EVENT, '', ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -486,14 +486,14 @@ describe('VideoPlayerFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_SETVOLUME + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_SETVOLUME_0100 * @tc.name : 001.test SetVolume 0/0.5/1 (callback) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_SETVOLUME', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_SETVOLUME_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETSOURCE_EVENT, fdPath, SETSURFACE_EVENT, @@ -503,14 +503,14 @@ describe('VideoPlayerFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_SETSPEED + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_SETSPEED_0100 * @tc.name : 001.test SetSpeed 0.75/1/1.25/1.75/2 (callback) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_SETSPEED', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_SETSPEED_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETFDSOURCE_EVENT, fileDescriptor, SETSURFACE_EVENT, @@ -523,14 +523,31 @@ describe('VideoPlayerFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_CALLBACK + * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_SEEKMODE + * @tc.name : 001.test seek mode SEEK_PREV_SYNC/SEEK_NEXT_SYNC (callback) + * @tc.desc : Video playback control test + * @tc.size : MediumTest + * @tc.type : Function test + * @tc.level : Level0 + */ + it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_SEEKMODE', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let videoPlayer = null; + let mySteps = new Array(CREATE_EVENT, SETFDSOURCE_EVENT, fileDescriptor, SETSURFACE_EVENT, + PREPARE_EVENT, PLAY_EVENT, SEEK_MODE_EVENT, SEEK_TIME, media.SeekMode.SEEK_NEXT_SYNC, + SEEK_MODE_EVENT, SEEK_TIME, media.SeekMode.SEEK_PREV_SYNC,RELEASE_EVENT, END_EVENT); + eventEmitter.emit(mySteps[0], videoPlayer, mySteps, done); + }) + + /* * + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_CALLBACK_0100 * @tc.name : 001.test callback bufferingUpdate/videoSizeChanged/startRenderFrame/playbackCompleted * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_CALLBACK', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_CALLBACK_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let frameCount = false; @@ -629,14 +646,30 @@ describe('VideoPlayerFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_LOOP + * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_GETTRECKDESCRIPTION + * @tc.name : 001.test getTrackDescription (callback) + * @tc.desc : Video playback control test + * @tc.size : MediumTest + * @tc.type : Function test + * @tc.level : Level0 + */ + it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_GETTRECKDESCRIPTION', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let videoPlayer = null; + let mySteps = new Array(CREATE_EVENT, SETFDSOURCE_EVENT, fileDescriptor, SETSURFACE_EVENT, + PREPARE_EVENT, GETDESCRIPTION, RELEASE_EVENT, END_EVENT); + eventEmitter.emit(mySteps[0], videoPlayer, mySteps, done); + }) + + /* * + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_LOOP_0100 * @tc.name : 001.test LOOP (callback) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_LOOP', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_LOOP_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let mySteps = new Array(CREATE_EVENT, SETFDSOURCE_EVENT, fileDescriptor, SETSURFACE_EVENT, @@ -645,5 +678,24 @@ describe('VideoPlayerFuncCallbackTest', function () { SEEK_EVENT, DURATION_TIME, WAIT_EVENT, SETLOOP_EVENT, false, RELEASE_EVENT, END_EVENT); eventEmitter.emit(mySteps[0], videoPlayer, mySteps, done); }) + + /* * + * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_BASE + * @tc.name : 001.test video playe (callback) + * @tc.desc : Video playback control test + * @tc.size : MediumTest + * @tc.type : Function test + * @tc.level : Level0 + */ + it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_CALLBACK_BASE', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let videoPlayer = null; + let fdPath = fdHead + fileDescriptor.fd; + let mySteps = new Array(CREATE_EVENT, SETFDSOURCE_EVENT, fileDescriptor, SETSURFACE_EVENT, + PREPARE_EVENT, PLAY_EVENT, PAUSE_EVENT, PLAY_EVENT, STOP_EVENT, RESET_EVENT, SETSOURCE_EVENT, fdPath, + PREPARE_EVENT, SETLOOP_EVENT, true, PLAY_EVENT, SEEK_EVENT, DURATION_TIME / 2, SEEK_EVENT, 0, + SEEK_EVENT, DURATION_TIME, WAIT_EVENT, SETLOOP_EVENT, false, RELEASE_EVENT, END_EVENT); + eventEmitter.emit(mySteps[0], videoPlayer, mySteps, done); + }) }) } 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 bbe06126c..b15636a3a 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 @@ -22,7 +22,7 @@ export default function VideoPlayerFuncPromiseTest() { describe('VideoPlayerFuncPromiseTest', function () { const VIDEO_SOURCE = 'H264_AAC.mp4'; const AUDIO_SOURCE = '01.mp3'; - const PLAY_TIME = 3000; + const PLAY_TIME = 2000; const SEEK_TIME = 5000; const WIDTH_VALUE = 720; const HEIGHT_VALUE = 480; @@ -76,6 +76,13 @@ describe('VideoPlayerFuncPromiseTest', function () { console.info('case file fail'); } + function checkTime(actualTime, expectTIme, delteTime) { + console.info('checkTime case actualTime is :' + actualTime + ', expectTIme is :' + expectTIme); + let valueTime = Math.abs(expectTIme - actualTime); + console.info('checkTime case time is :' + valueTime + ', delteTime is :' + delteTime); + expect(valueTime < delteTime).assertEqual(true); + } + function checkSpeedTime(videoPlayer, speedValue, startTime) { let newTime = videoPlayer.currentTime; if (videoPlayer.state == 'playing') { @@ -102,14 +109,14 @@ describe('VideoPlayerFuncPromiseTest', function () { } /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SetSource + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SETSOURCE_0100 * @tc.name : 001.setSorce "" (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SetSource', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SETSOURCE_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; await media.createVideoPlayer().then((video) => { @@ -134,14 +141,14 @@ describe('VideoPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SetVolume + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SETVOLUME_0100 * @tc.name : 001.SetVolume 0/0.5/1 (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SetVolume', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SETVOLUME_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; await media.createVideoPlayer().then((video) => { @@ -191,14 +198,14 @@ describe('VideoPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SetSpeed + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SETSPEED_0100 * @tc.name : 001.SetSpeed 0.75/1/1.25/1.75/2 (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SetSpeed', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SETSPEED_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; await media.createVideoPlayer().then((video) => { @@ -286,14 +293,100 @@ describe('VideoPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_Callback + * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SeekMode + * @tc.name : 001.seek mode SEEK_PREV_SYNC/SEEK_NEXT_SYNC (promise) + * @tc.desc : Video playback control test + * @tc.size : MediumTest + * @tc.type : Function test + * @tc.level : Level0 + */ + it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_SeekMode', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let videoPlayer = null; + await media.createVideoPlayer().then((video) => { + if (typeof (video) != 'undefined') { + videoPlayer = video; + expect(videoPlayer.state).assertEqual('idle'); + } else { + console.info('case createVideoPlayer is failed'); + expect().assertFail(); + } + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + videoPlayer.url = fdHead + fileDescriptor.fd; + await videoPlayer.setDisplaySurface(surfaceID).then(() => { + expect(videoPlayer.state).assertEqual('idle'); + console.info('case setDisplaySurface success'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + await videoPlayer.prepare().then(() => { + expect(videoPlayer.state).assertEqual('prepared'); + expect(videoPlayer.duration).assertEqual(DURATION_TIME); + expect(videoPlayer.width).assertEqual(WIDTH_VALUE); + expect(videoPlayer.height).assertEqual(HEIGHT_VALUE); + console.info('case prepare called!!'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + let startTime = videoPlayer.currentTime; + await videoPlayer.play().then(() => { + console.info('case play called!!'); + mediaTestBase.msleep(PLAY_TIME); + expect(videoPlayer.state).assertEqual('playing'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + let endTime = videoPlayer.currentTime; + expect(endTime - startTime).assertClose(PLAY_TIME, DELTA_TIME); + + await videoPlayer.seek(SEEK_TIME, media.SeekMode.SEEK_NEXT_SYNC).then((seekDoneTime) => { + expect(videoPlayer.state).assertEqual('playing'); + expect(seekDoneTime).assertClose(NEXT_FRAME_TIME, DELTA_SEEK_TIME); + console.info('case seek called and seekDoneTime is' + seekDoneTime); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + await videoPlayer.seek(SEEK_TIME, media.SeekMode.SEEK_PREV_SYNC).then((seekDoneTime) => { + expect(videoPlayer.state).assertEqual('playing'); + expect(seekDoneTime).assertClose(PREV_FRAME_TIME, DELTA_SEEK_TIME); + console.info('case seek called and seekDoneTime is' + seekDoneTime); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + await videoPlayer.seek(PREV_FRAME_TIME - 100, media.SeekMode.SEEK_PREV_SYNC).then((seekDoneTime) => { + expect(videoPlayer.state).assertEqual('playing'); + expect(seekDoneTime + DELTA_SEEK_TIME).assertClose(DELTA_SEEK_TIME, DELTA_SEEK_TIME); + console.info('case seek called and seekDoneTime is' + seekDoneTime); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + await videoPlayer.seek(PREV_FRAME_TIME + 100, media.SeekMode.SEEK_PREV_SYNC).then((seekDoneTime) => { + expect(videoPlayer.state).assertEqual('playing'); + expect(seekDoneTime).assertClose(PREV_FRAME_TIME, DELTA_SEEK_TIME); + console.info('case seek called and seekDoneTime is' + seekDoneTime); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + await videoPlayer.seek(NEXT_FRAME_TIME - 100, media.SeekMode.SEEK_NEXT_SYNC).then((seekDoneTime) => { + expect(videoPlayer.state).assertEqual('playing'); + expect(seekDoneTime).assertClose(NEXT_FRAME_TIME, DELTA_SEEK_TIME); + console.info('case seek called and seekDoneTime is' + seekDoneTime); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + await videoPlayer.seek(NEXT_FRAME_TIME + 100, media.SeekMode.SEEK_NEXT_SYNC).then((seekDoneTime) => { + expect(videoPlayer.state).assertEqual('playing'); + expect(seekDoneTime).assertClose(NEXT_FRAME_TIME + 100, DELTA_SEEK_TIME); + console.info('case seek called and seekDoneTime is' + seekDoneTime); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + await videoPlayer.release().then(() => { + console.info('case release called!!'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + done(); + }) + + /* * + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_CALLBACK_0100 * @tc.name : 001.test callback bufferingUpdate/videoSizeChanged/startRenderFrame/playbackCompleted * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_Callback', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_CALLBACK_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let frameCount = false; @@ -361,14 +454,75 @@ describe('VideoPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_Loop + * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_GetTreckDescription + * @tc.name : 001.getTrackDescription (promise) + * @tc.desc : Video playback control test + * @tc.size : MediumTest + * @tc.type : Function test + * @tc.level : Level1 + */ + it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_GetTreckDescription', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let videoPlayer = null; + let arrayDescription = null; + let videoTrackKey = new Array('bitrate', 'codec_mime', 'frame_rate', 'height', + 'track_index', 'track_type', 'width'); + let audioTrackKey = new Array('bitrate', 'channel_count', 'codec_mime', 'sample_rate', + 'track_index', 'track_type'); + let videoTrackValue = new Array(1366541, 'video/x-h264', 6000, 480, 0, 1, 720); + let audioTrackValue = new Array(129207, 2, 'audio/mpeg', 44100, 1, 0); + let descriptionKey = new Array(videoTrackKey, audioTrackKey); + let descriptionValue = new Array(videoTrackValue, audioTrackValue); + await media.createVideoPlayer().then((video) => { + if (typeof (video) != 'undefined') { + videoPlayer = video; + expect(videoPlayer.state).assertEqual('idle'); + } else { + console.info('case createVideoPlayer is failed'); + expect().assertFail(); + } + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + videoPlayer.url = fdHead + fileDescriptor.fd; + await videoPlayer.setDisplaySurface(surfaceID).then(() => { + expect(videoPlayer.state).assertEqual('idle'); + console.info('case setDisplaySurface success'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + await videoPlayer.prepare().then(() => { + expect(videoPlayer.state).assertEqual('prepared'); + console.info('case prepare called!!'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + await videoPlayer.getTrackDescription().then((arrayList) => { + console.info('case getTrackDescription called!!'); + if (typeof (arrayList) != 'undefined') { + arrayDescription = arrayList; + } else { + console.info('case getTrackDescription is failed'); + expect().assertFail(); + } + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + for (let i = 0; i < arrayDescription.length; i++) { + mediaTestBase.checkDescription(arrayDescription[i], descriptionKey[i], descriptionValue[i]); + } + + await videoPlayer.release().then(() => { + console.info('case release called!!'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + done(); + }) + + /* * + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_LOOP_0100 * @tc.name : 001.Loop true (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_Loop', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_LOOP_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let bufferCount = false; @@ -442,14 +596,14 @@ describe('VideoPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_BASE + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_BASE_0100 * @tc.name : 001.test video playe (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_BASE', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_BASE_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; await media.createVideoPlayer().then((video) => { @@ -554,14 +708,14 @@ describe('VideoPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_VIDEOSCALETYPE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_VIDEOSCALETYPE_0100 * @tc.name : 001.test video player videoScaleTpe (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_VIDEOSCALETYPE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_VIDEOSCALETYPE_0100', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; await media.createVideoPlayer().then((video) => { @@ -685,14 +839,14 @@ describe('VideoPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_VIDEOSCALETYPE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_VIDEOSCALETYPE_0200 * @tc.name : 002.set videoScaleTpe 100 times in playing (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_VIDEOSCALETYPE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_VIDEOSCALETYPE_0200', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let bufferCount = false; @@ -770,14 +924,14 @@ describe('VideoPlayerFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_VIDEOSCALETYPE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_VIDEOSCALETYPE_0300 * @tc.name : 003.set error value to videoScaleTpe (promise) * @tc.desc : Video playback control test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_VIDEOSCALETYPE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_VIDEOSCALETYPE_0300', 0, async function (done) { mediaTestBase.isFileOpen(fileDescriptor, done); let videoPlayer = null; let errorCount = 0; @@ -808,5 +962,266 @@ describe('VideoPlayerFuncPromiseTest', function () { videoPlayer.videoScaleType = -1; }) + /* * + * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_PARAMETER_0100 + * @tc.name : 001.parameter value after create/reset/release (promise) + * @tc.desc : Video playback control test + * @tc.size : MediumTest + * @tc.type : Function test + * @tc.level : Level0 + */ + it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_PARAMETER_0100', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let videoPlayer = null; + await media.createVideoPlayer().then((video) => { + if (typeof (video) != 'undefined') { + videoPlayer = video; + } else { + console.info('case createVideoPlayer is failed'); + expect().assertFail(); + } + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + expect(videoPlayer.state).assertEqual('idle'); + expect(videoPlayer.url).assertEqual(''); + expect(videoPlayer.fdSrc.fd).assertEqual(0); + expect(videoPlayer.fdSrc.offset).assertEqual(0); + expect(videoPlayer.fdSrc.length).assertEqual(-1); + expect(videoPlayer.currentTime).assertEqual(-1); + expect(videoPlayer.duration).assertEqual(-1); + expect(videoPlayer.width).assertEqual(0); + expect(videoPlayer.height).assertEqual(0); + expect(videoPlayer.loop).assertEqual(false); + videoPlayer.url = fdPath; + await videoPlayer.setDisplaySurface(surfaceID).then(() => { + expect(videoPlayer.state).assertEqual('idle'); + console.info('case setDisplaySurface success'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + await videoPlayer.prepare().then(() => { + console.info('case prepare success'); + videoPlayer.loop = true; + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + expect(videoPlayer.state).assertEqual('prepared'); + expect(videoPlayer.url).assertEqual(fdPath); + expect(videoPlayer.fdSrc.fd).assertEqual(0); + expect(videoPlayer.fdSrc.offset).assertEqual(0); + expect(videoPlayer.fdSrc.length).assertEqual(-1); + expect(videoPlayer.currentTime).assertEqual(0); + expect(videoPlayer.duration).assertEqual(DURATION_TIME); + expect(videoPlayer.width).assertEqual(WIDTH_VALUE); + expect(videoPlayer.height).assertEqual(HEIGHT_VALUE); + expect(videoPlayer.loop).assertEqual(true); + await videoPlayer.reset().then(() => { + console.info('case reset success'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + expect(videoPlayer.state).assertEqual('idle'); + expect(videoPlayer.fdSrc.fd).assertEqual(0); + expect(videoPlayer.fdSrc.offset).assertEqual(0); + expect(videoPlayer.fdSrc.length).assertEqual(-1); + expect(videoPlayer.currentTime).assertEqual(-1); + expect(videoPlayer.duration).assertEqual(-1); + expect(videoPlayer.loop).assertEqual(false); + await videoPlayer.release().then(() => { + console.info('case release called!!'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + done(); + }) + + /* * + * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_PARAMETER_0200 + * @tc.name : 002.speed and loop value after finish (promise) + * @tc.desc : Video playback control test + * @tc.size : MediumTest + * @tc.type : Function test + * @tc.level : Level0 + */ + it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_PARAMETER_0200', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let videoPlayer = null; + await media.createVideoPlayer().then((video) => { + if (typeof (video) != 'undefined') { + videoPlayer = video; + expect(videoPlayer.state).assertEqual('idle'); + } else { + console.info('case createVideoPlayer is failed'); + expect().assertFail(); + } + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + videoPlayer.on('playbackCompleted', async () => { + console.info('case playbackCompleted success'); + expect(videoPlayer.loop).assertEqual(false); + expect(videoPlayer.url).assertEqual(fdPath); + expect(videoPlayer.currentTime).assertEqual(DURATION_TIME); + expect(videoPlayer.duration).assertEqual(DURATION_TIME); + expect(videoPlayer.width).assertEqual(WIDTH_VALUE); + expect(videoPlayer.height).assertEqual(HEIGHT_VALUE); + await videoPlayer.play().then(() => { + expect(videoPlayer.loop).assertEqual(false); + startTime = videoPlayer.currentTime; + console.info('case play called!!'); + mediaTestBase.msleep(PLAY_TIME); + expect(videoPlayer.state).assertEqual('playing'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + endTime = videoPlayer.currentTime; + checkTime(PLAY_TIME * 2, (endTime - startTime), DELTA_TIME); + startTime = videoPlayer.currentTime; + await videoPlayer.setSpeed(media.PlaybackSpeed.SPEED_FORWARD_0_75_X).then((speedMode) => { + expect(videoPlayer.state).assertEqual('playing'); + expect(speedMode).assertEqual(media.PlaybackSpeed.SPEED_FORWARD_0_75_X); + mediaTestBase.msleep(PLAY_TIME); + endTime = videoPlayer.currentTime; + console.info('case setSpeed endTime is ' + endTime); + checkTime(PLAY_TIME * 0.75, (endTime - startTime), DELTA_TIME); + console.info('case setSpeed called and speedMode is ' + speedMode); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + await videoPlayer.release().then(() => { + console.info('case release called!!'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + done(); + }); + + videoPlayer.url = fdPath; + await videoPlayer.setDisplaySurface(surfaceID).then(() => { + expect(videoPlayer.state).assertEqual('idle'); + console.info('case setDisplaySurface success'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + await videoPlayer.prepare().then(() => { + videoPlayer.loop = true; + expect(videoPlayer.state).assertEqual('prepared'); + expect(videoPlayer.duration).assertEqual(DURATION_TIME); + expect(videoPlayer.width).assertEqual(WIDTH_VALUE); + expect(videoPlayer.height).assertEqual(HEIGHT_VALUE); + console.info('case prepare called!!'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + let startTime = videoPlayer.currentTime; + await videoPlayer.play().then(() => { + expect(videoPlayer.loop).assertEqual(true); + console.info('case play called!!'); + mediaTestBase.msleep(1000); + expect(videoPlayer.state).assertEqual('playing'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + let endTime = videoPlayer.currentTime; + checkTime(1000, (endTime - startTime), DELTA_TIME); + + expect(videoPlayer.loop).assertEqual(true); + startTime = videoPlayer.currentTime; + console.info('case startTime is :' + startTime); + await videoPlayer.setSpeed(media.PlaybackSpeed.SPEED_FORWARD_2_00_X).then((speedMode) => { + expect(videoPlayer.state).assertEqual('playing'); + expect(speedMode).assertEqual(media.PlaybackSpeed.SPEED_FORWARD_2_00_X); + mediaTestBase.msleep(PLAY_TIME); + endTime = videoPlayer.currentTime; + checkTime(PLAY_TIME * 2, (endTime - startTime), DELTA_TIME); + console.info('case setSpeed called and speedMode is ' + speedMode); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + await videoPlayer.seek(SEEK_TIME, media.SeekMode.SEEK_PREV_SYNC).then((seekDoneTime) => { + expect(videoPlayer.state).assertEqual('playing'); + expect(seekDoneTime).assertClose(PREV_FRAME_TIME, DELTA_SEEK_TIME); + console.info('case seek called and seekDoneTime is' + seekDoneTime); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + startTime = videoPlayer.currentTime; + mediaTestBase.msleep(PLAY_TIME); + endTime = videoPlayer.currentTime; + checkTime(PLAY_TIME * 2, (endTime - startTime), DELTA_TIME); + expect(videoPlayer.loop).assertEqual(true); + mediaTestBase.msleep(DURATION_TIME); + expect(videoPlayer.loop).assertEqual(true); + videoPlayer.loop = false; + }) + + /* * + * @tc.number : SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_PARAMETER_0300 + * @tc.name : 003.speed and loop value after reset (promise) + * @tc.desc : Video playback control test + * @tc.size : MediumTest + * @tc.type : Function test + * @tc.level : Level0 + */ + it('SUB_MEDIA_VIDEO_PLAYER_FUNCTION_PROMISE_PARAMETER_0300', 0, async function (done) { + mediaTestBase.isFileOpen(fileDescriptor, done); + let videoPlayer = null; + await media.createVideoPlayer().then((video) => { + if (typeof (video) != 'undefined') { + videoPlayer = video; + expect(videoPlayer.state).assertEqual('idle'); + } else { + console.info('case createVideoPlayer is failed'); + expect().assertFail(); + } + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + videoPlayer.on('playbackCompleted', async () => { + console.info('case playbackCompleted success'); + expect(videoPlayer.loop).assertEqual(false); + await videoPlayer.release().then(() => { + console.info('case release called!!'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + done(); + }); + + videoPlayer.url = fdPath; + await videoPlayer.setDisplaySurface(surfaceID).then(() => { + expect(videoPlayer.state).assertEqual('idle'); + console.info('case setDisplaySurface success'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + await videoPlayer.prepare().then(() => { + videoPlayer.loop = true; + expect(videoPlayer.state).assertEqual('prepared'); + expect(videoPlayer.duration).assertEqual(DURATION_TIME); + expect(videoPlayer.width).assertEqual(WIDTH_VALUE); + expect(videoPlayer.height).assertEqual(HEIGHT_VALUE); + console.info('case prepare called!!'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + + let startTime = videoPlayer.currentTime; + await videoPlayer.play().then(() => { + expect(videoPlayer.loop).assertEqual(true); + console.info('case play called!!'); + mediaTestBase.msleep(1000); + expect(videoPlayer.state).assertEqual('playing'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + let endTime = videoPlayer.currentTime; + checkTime(1000, (endTime - startTime), DELTA_TIME); + + expect(videoPlayer.loop).assertEqual(true); + startTime = videoPlayer.currentTime; + console.info('case startTime is :' + startTime); + await videoPlayer.setSpeed(media.PlaybackSpeed.SPEED_FORWARD_2_00_X).then((speedMode) => { + expect(videoPlayer.state).assertEqual('playing'); + expect(speedMode).assertEqual(media.PlaybackSpeed.SPEED_FORWARD_2_00_X); + mediaTestBase.msleep(PLAY_TIME); + endTime = videoPlayer.currentTime; + checkTime(PLAY_TIME * 2, (endTime - startTime), DELTA_TIME); + console.info('case setSpeed called and speedMode is ' + speedMode); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + await videoPlayer.reset().then(() => { + expect(videoPlayer.loop).assertEqual(false); + expect(videoPlayer.state).assertEqual('idle'); + expect(videoPlayer.duration).assertEqual(-1); + console.info('case reset called!!'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + videoPlayer.url = fdPath; + await videoPlayer.prepare().then(() => { + expect(videoPlayer.state).assertEqual('prepared'); + expect(videoPlayer.duration).assertEqual(DURATION_TIME); + expect(videoPlayer.width).assertEqual(WIDTH_VALUE); + expect(videoPlayer.height).assertEqual(HEIGHT_VALUE); + console.info('case prepare called!!'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + startTime = videoPlayer.currentTime; + await videoPlayer.play().then(() => { + expect(videoPlayer.loop).assertEqual(false); + console.info('case play called!!'); + mediaTestBase.msleep(PLAY_TIME); + expect(videoPlayer.state).assertEqual('playing'); + }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); + endTime = videoPlayer.currentTime; + checkTime(PLAY_TIME * 2, (endTime - startTime), DELTA_TIME); + }) }) -} +} \ No newline at end of file diff --git a/multimedia/media/media_js_standard/videoRecorder/src/main/js/test/VideoRecorderAPICallbackTest.test.js b/multimedia/media/media_js_standard/videoRecorder/src/main/js/test/VideoRecorderAPICallbackTest.test.js index f794cf225..b88425eae 100644 --- a/multimedia/media/media_js_standard/videoRecorder/src/main/js/test/VideoRecorderAPICallbackTest.test.js +++ b/multimedia/media/media_js_standard/videoRecorder/src/main/js/test/VideoRecorderAPICallbackTest.test.js @@ -307,28 +307,28 @@ describe('VideoRecorderAPICallbackTest', function () { }); /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0100 * @tc.name : 01.create->prepare * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0100', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, RELEASE_EVENT, END_EVENT); eventEmitter.emit(mySteps[0], videoRecorder, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0200 * @tc.name : 02.start->prepare * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0200', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, PREPARE_EVENT, ERROR_EVENT, RELEASE_EVENT, CLOSE_STREAM, END_EVENT); @@ -336,14 +336,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0300 * @tc.name : 03.pause->prepare * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0300', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, PAUSE_EVENT, CLOSE_STREAM, PREPARE_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -351,14 +351,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0400 * @tc.name : 04.resume->prepare * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0400', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, PAUSE_EVENT, RESUME_EVENT, @@ -367,14 +367,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0500 * @tc.name : 05.stop->prepare * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0500', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, STOP_EVENT, CLOSE_STREAM, PREPARE_EVENT, RELEASE_EVENT, END_EVENT); @@ -382,14 +382,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0600 * @tc.name : 06.reset->prepare * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0600', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, CLOSE_STREAM, RESET_EVENT, PREPARE_EVENT, RELEASE_EVENT, END_EVENT); @@ -397,14 +397,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0700 * @tc.name : 07.getInputSurface->prepare * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0700', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, PREPARE_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -412,14 +412,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0800 * @tc.name : 08.prepare 3 times * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PREPARE_CALLBACK_0800', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, PREPARE_EVENT, ERROR_EVENT, PREPARE_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -427,28 +427,28 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_START_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_START_CALLBACK_0100 * @tc.name : 01.create->start * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_START_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_START_CALLBACK_0100', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, START_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); eventEmitter.emit(mySteps[0], videoRecorder, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_START_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_START_CALLBACK_0200 * @tc.name : 02.prepare->start * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_START_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_START_CALLBACK_0200', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, RELEASE_EVENT, CLOSE_STREAM, END_EVENT); @@ -456,14 +456,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_START_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_START_CALLBACK_0300 * @tc.name : 03.pause->start * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_START_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_START_CALLBACK_0300', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, PAUSE_EVENT, START_EVENT, ERROR_EVENT, RELEASE_EVENT, CLOSE_STREAM, END_EVENT); @@ -471,14 +471,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_START_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_START_CALLBACK_0400 * @tc.name : 04.resume->start * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_START_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_START_CALLBACK_0400', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, PAUSE_EVENT, RESUME_EVENT, @@ -487,14 +487,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_START_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_START_CALLBACK_0500 * @tc.name : 05.stop->start * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_START_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_START_CALLBACK_0500', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, STOP_EVENT, CLOSE_STREAM, START_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -502,14 +502,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_START_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_START_CALLBACK_0600 * @tc.name : 06.reset->start * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_START_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_START_CALLBACK_0600', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, RESET_EVENT, CLOSE_STREAM, START_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -517,14 +517,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_START_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_START_CALLBACK_0700 * @tc.name : 07.getInputSurface->start * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_START_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_START_CALLBACK_0700', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, RELEASE_EVENT, CLOSE_STREAM, END_EVENT); @@ -532,14 +532,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_START_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_START_CALLBACK_0800 * @tc.name : 08.start 3 times * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_START_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_START_CALLBACK_0800', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, START_EVENT, ERROR_EVENT, START_EVENT, ERROR_EVENT, RELEASE_EVENT, CLOSE_STREAM, END_EVENT); @@ -547,42 +547,42 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0100 * @tc.name : 01.create->pause * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0100', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PAUSE_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); eventEmitter.emit(mySteps[0], videoRecorder, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0200 * @tc.name : 02.prepare->pause * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0200', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, PAUSE_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); eventEmitter.emit(mySteps[0], videoRecorder, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0300 * @tc.name : 03.start->pause * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0300', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, PAUSE_EVENT, CLOSE_STREAM, RELEASE_EVENT, END_EVENT); @@ -590,14 +590,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0400 * @tc.name : 04.resume->pause * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0400', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, PAUSE_EVENT, RESUME_EVENT, @@ -606,14 +606,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0500 * @tc.name : 05.stop->pause * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0500', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, STOP_EVENT, CLOSE_STREAM, PAUSE_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -621,14 +621,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0600 * @tc.name : 06.reset->pause * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0600', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, RESET_EVENT, CLOSE_STREAM, PAUSE_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -636,14 +636,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0700 * @tc.name : 07.getInputSurface->pause * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0700', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, PAUSE_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -651,14 +651,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0800 * @tc.name : 08.pause 3 times * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_PAUSE_CALLBACK_0800', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, PAUSE_EVENT, PAUSE_EVENT, ERROR_EVENT, PAUSE_EVENT, ERROR_EVENT, @@ -667,42 +667,42 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0100 * @tc.name : 01.create->resume * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0100', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, RESUME_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); eventEmitter.emit(mySteps[0], videoRecorder, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0200 * @tc.name : 02.prepare->resume * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0200', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, RESUME_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); eventEmitter.emit(mySteps[0], videoRecorder, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0300 * @tc.name : 03.start->resume * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0300', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, RESUME_EVENT, ERROR_EVENT, RELEASE_EVENT, CLOSE_STREAM, END_EVENT); @@ -710,14 +710,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0400 * @tc.name : 04.pause->resume * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0400', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, PAUSE_EVENT, @@ -726,14 +726,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0500 * @tc.name : 05.stop->resume * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0500', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, STOP_EVENT, CLOSE_STREAM, RESUME_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -741,14 +741,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0600 * @tc.name : 06.reset->resume * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0600', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, RESET_EVENT, CLOSE_STREAM, RESUME_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -756,14 +756,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0700 * @tc.name : 07.getInputSurface->resume * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0700', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, RESUME_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -771,14 +771,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0800 * @tc.name : 08.resume 3 times * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESUME_CALLBACK_0800', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, PAUSE_EVENT, @@ -788,42 +788,42 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0100 * @tc.name : 01.create->stop * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0100', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, STOP_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); eventEmitter.emit(mySteps[0], videoRecorder, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0200 * @tc.name : 02.prepare->stop * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0200', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, STOP_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); eventEmitter.emit(mySteps[0], videoRecorder, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0300 * @tc.name : 03.start->stop * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0300', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, STOP_EVENT, CLOSE_STREAM, RELEASE_EVENT, END_EVENT); @@ -831,14 +831,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0400 * @tc.name : 04.pause->stop * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0400', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, PAUSE_EVENT, STOP_EVENT, CLOSE_STREAM, RELEASE_EVENT, END_EVENT); @@ -846,14 +846,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0500 * @tc.name : 05.resume->stop * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0500', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, PAUSE_EVENT, RESUME_EVENT, @@ -862,14 +862,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0600 * @tc.name : 06.reset->stop * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0600', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, RESET_EVENT, STOP_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -877,14 +877,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0700 * @tc.name : 07.getInputSurface->stop * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0700', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, STOP_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -892,14 +892,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0800 * @tc.name : 08.stop 3 times * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_STOP_CALLBACK_0800', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, STOP_EVENT, CLOSE_STREAM, STOP_EVENT, ERROR_EVENT, @@ -908,42 +908,42 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0100 * @tc.name : 01.create->reset * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0100', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, RESET_EVENT, RELEASE_EVENT, END_EVENT); eventEmitter.emit(mySteps[0], videoRecorder, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0200 * @tc.name : 02.prepare->reset * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0200', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, RESET_EVENT, RELEASE_EVENT, END_EVENT); eventEmitter.emit(mySteps[0], videoRecorder, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0300 * @tc.name : 03.start->reset * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0300', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, RESET_EVENT, CLOSE_STREAM, RELEASE_EVENT, END_EVENT); @@ -951,14 +951,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0400 * @tc.name : 04.pause->reset * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0400', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, PAUSE_EVENT, RESET_EVENT, CLOSE_STREAM, RELEASE_EVENT, END_EVENT); @@ -966,14 +966,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0500 * @tc.name : 05.resume->reset * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0500', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, PAUSE_EVENT, RESUME_EVENT, @@ -982,14 +982,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0600 * @tc.name : 06.stop->reset * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0600', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, STOP_EVENT, CLOSE_STREAM, RESET_EVENT, RELEASE_EVENT, END_EVENT); @@ -997,28 +997,28 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0700 * @tc.name : 07.getInputSurface->reset * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0700', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, RESET_EVENT, RELEASE_EVENT, END_EVENT); eventEmitter.emit(mySteps[0], videoRecorder, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0800 * @tc.name : 08.reset 3 times * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_RESET_CALLBACK_0800', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, RESET_EVENT, RESET_EVENT, RESET_EVENT, RELEASE_EVENT, END_EVENT); @@ -1026,42 +1026,42 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0100 * @tc.name : 01.create->getInputSurface * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0100', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, GETSURFACE_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); eventEmitter.emit(mySteps[0], videoRecorder, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0200 * @tc.name : 02.prepare->getInputSurface * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0200', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, RELEASE_EVENT, END_EVENT); eventEmitter.emit(mySteps[0], videoRecorder, mySteps, done); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0300 * @tc.name : 03.start->getInputSurface * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0300', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, GETSURFACE_EVENT, RELEASE_EVENT, CLOSE_STREAM, END_EVENT); @@ -1069,14 +1069,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0400 * @tc.name : 04.pause->getInputSurface * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0400', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, PAUSE_EVENT, GETSURFACE_EVENT, RELEASE_EVENT, CLOSE_STREAM, END_EVENT); @@ -1084,14 +1084,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0500 * @tc.name : 05.resume->getInputSurface * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0500', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, PAUSE_EVENT, RESUME_EVENT, GETSURFACE_EVENT, @@ -1100,14 +1100,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0600 * @tc.name : 06.stop->getInputSurface * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0600', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, START_STREEAM, START_EVENT, STOP_EVENT, CLOSE_STREAM, GETSURFACE_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -1115,14 +1115,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0700 * @tc.name : 07.reset->getInputSurface * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0700', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, RESET_EVENT, GETSURFACE_EVENT, ERROR_EVENT, RELEASE_EVENT, END_EVENT); @@ -1130,14 +1130,14 @@ describe('VideoRecorderAPICallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0800 * @tc.name : 08.getInputSurface 3 times * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level2 */ - it('SUB_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_GETSURFACE_CALLBACK_0800', 0, async function (done) { let videoRecorder = null; let mySteps = new Array(CREATE_EVENT, PREPARE_EVENT, GETSURFACE_EVENT, GETSURFACE_EVENT, GETSURFACE_EVENT, RELEASE_EVENT, END_EVENT); diff --git a/multimedia/media/media_js_standard/videoRecorder/src/main/js/test/VideoRecorderEnumTest.test.js b/multimedia/media/media_js_standard/videoRecorder/src/main/js/test/VideoRecorderEnumTest.test.js index 62a0a5084..e88e23a82 100644 --- a/multimedia/media/media_js_standard/videoRecorder/src/main/js/test/VideoRecorderEnumTest.test.js +++ b/multimedia/media/media_js_standard/videoRecorder/src/main/js/test/VideoRecorderEnumTest.test.js @@ -34,42 +34,42 @@ describe('VideoRecorderEnumTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_ENUM_AUDIO_SOURCE_TYPE_00_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_ENUM_AUDIO_SOURCE_TYPE_0100 * @tc.name : AudioSourceType * @tc.desc : AudioSourceType Enumeration test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_ENUM_AUDIO_SOURCE_TYPE_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_ENUM_AUDIO_SOURCE_TYPE_0100', 0, async function (done) { expect(media.AudioSourceType.AUDIO_SOURCE_TYPE_DEFAULT).assertEqual(0); expect(media.AudioSourceType.AUDIO_SOURCE_TYPE_MIC).assertEqual(1); done(); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_ENUM_VIDEO_SOURCE_TYPE_00_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_ENUM_VIDEO_SOURCE_TYPE_0100 * @tc.name : VideoSourceType * @tc.desc : VideoSourceType Enumeration test * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_ENUM_VIDEO_SOURCE_TYPE_00_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_ENUM_VIDEO_SOURCE_TYPE_0100', 0, async function (done) { expect(media.VideoSourceType.VIDEO_SOURCE_TYPE_SURFACE_YUV).assertEqual(0); expect(media.VideoSourceType.VIDEO_SOURCE_TYPE_SURFACE_ES).assertEqual(1); done(); }) /* * - * @tc.number : SUB_MEDIA_VIDEO_DECODER_ENUM_CodecMimeType_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_ENUM_CodecMimeType_0100 * @tc.name : CodecMimeType * @tc.desc : Test Enumerate CodecMimeType * @tc.size : MediumTest * @tc.type : Function test * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_DECODER_ENUM_CodecMimeType_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_DECODER_ENUM_CodecMimeType_0100', 0, async function (done) { expect(media.CodecMimeType.VIDEO_H263).assertEqual('video/h263'); expect(media.CodecMimeType.VIDEO_AVC).assertEqual('video/avc'); expect(media.CodecMimeType.VIDEO_MPEG2).assertEqual('video/mpeg2'); diff --git a/multimedia/media/media_js_standard/videoRecorder/src/main/js/test/VideoRecorderFuncCallbackTest.test.js b/multimedia/media/media_js_standard/videoRecorder/src/main/js/test/VideoRecorderFuncCallbackTest.test.js index f8d581fda..02ca9ddc8 100644 --- a/multimedia/media/media_js_standard/videoRecorder/src/main/js/test/VideoRecorderFuncCallbackTest.test.js +++ b/multimedia/media/media_js_standard/videoRecorder/src/main/js/test/VideoRecorderFuncCallbackTest.test.js @@ -326,14 +326,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }); /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0100 * @tc.name : 01.start->release (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0100', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_01.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); videoConfig.url = fdPath; @@ -345,14 +345,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0200 * @tc.name : 02.start->pause->release (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0200', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_02.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); videoConfig.url = fdPath; @@ -365,14 +365,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0300 * @tc.name : 03.start->pause->resume->release (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0300', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_03.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); videoConfig.url = fdPath; @@ -385,14 +385,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0400 * @tc.name : 04.start->stop->release (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0400', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_04.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); videoConfig.url = fdPath; @@ -404,14 +404,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0500 * @tc.name : 05.start->reset->release (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0500', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_05.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); videoConfig.url = fdPath; @@ -423,14 +423,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0600 * @tc.name : 06.start->pause->stop->release (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0600', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_06.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); videoConfig.url = fdPath; @@ -442,14 +442,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0700 * @tc.name : 07.start->pause->reset->release (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0700', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_07.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); videoConfig.url = fdPath; @@ -461,14 +461,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0800 * @tc.name : 08.start->pause->resume->stop->release (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0800', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_08.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); videoConfig.url = fdPath; @@ -480,14 +480,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0900 * @tc.name : 09.start->pause->resume->reset->release (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_0900', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_09.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); videoConfig.url = fdPath; @@ -499,7 +499,7 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1000 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1000 * @tc.name : 10.start->stop->release * (audioBitrate 8000,audioSampleRate 8000,videoBitrateRange 8000)(promise) * @tc.desc : Audio recordr control test @@ -507,7 +507,7 @@ describe('VideoRecorderFuncCallbackTest', function () { * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1000', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1000', 0, async function (done) { configFile.audioBitrate = 8000; configFile.audioSampleRate = 8000; configFile.videoBitrate = 8000; @@ -522,7 +522,7 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1100 * @tc.name : 11.start->stop->release * (audioBitrate 16000, audioSampleRate 32000, videoBitrateRange 16000)(callback) * @tc.desc : Audio recordr control test @@ -530,7 +530,7 @@ describe('VideoRecorderFuncCallbackTest', function () { * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1100', 0, async function (done) { configFile.audioBitrate = 16000; configFile.audioSampleRate = 32000; configFile.videoBitrate = 16000; @@ -545,7 +545,7 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1200 * @tc.name : 12.start->stop->release * (audioBitrate 32000, audioSampleRate 44100, videoBitrateRange 32000)(callback) * @tc.desc : Audio recordr control test @@ -553,7 +553,7 @@ describe('VideoRecorderFuncCallbackTest', function () { * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1200', 0, async function (done) { configFile.audioBitrate = 32000; configFile.audioSampleRate = 44100; configFile.videoBitrate = 32000; @@ -568,7 +568,7 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1300 * @tc.name : 13.start->stop->release * (audioBitrate 112000, audioSampleRate 96000, videoBitrateRange 112000)(callback) * @tc.desc : Audio recordr control test @@ -576,7 +576,7 @@ describe('VideoRecorderFuncCallbackTest', function () { * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1300', 0, async function (done) { configFile.audioBitrate = 112000; configFile.audioSampleRate = 96000; configFile.videoBitrate = 112000; @@ -591,14 +591,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1400 * @tc.name : 14.start->release (only video) (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1400', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_14.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); onlyVideoConfig.url = fdPath; @@ -610,14 +610,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1500 * @tc.name : 15.start->pause->release (only video) (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1500', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_15.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); onlyVideoConfig.url = fdPath; @@ -629,14 +629,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1600 * @tc.name : 16.start->pause->resume->releas (only video) (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1600', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_16.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); onlyVideoConfig.url = fdPath; @@ -648,14 +648,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1700 * @tc.name : 17.start->stop->release (only video) (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1700', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_17.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); onlyVideoConfig.url = fdPath; @@ -667,14 +667,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1800 * @tc.name : 18.start->reset->release (only video) (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1800', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_18.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); onlyVideoConfig.url = fdPath; @@ -686,14 +686,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1900 * @tc.name : 19.rotation 90 (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_1900', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_19.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); videoConfig.url = fdPath; @@ -707,14 +707,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2000 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2000 * @tc.name : 20.rotation 180 (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2000', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2000', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_20.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); videoConfig.url = fdPath; @@ -727,14 +727,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2100 * @tc.name : 21.rotation 270 (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2100', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_21.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); videoConfig.url = fdPath; @@ -747,14 +747,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2200 * @tc.name : 22.videoFrameRate 20 (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2200', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_22.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); videoConfig.url = fdPath; @@ -767,14 +767,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2300 * @tc.name : 23.videoFrameRate 30 (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2300', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_23.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); videoConfig.url = fdPath; @@ -787,14 +787,14 @@ describe('VideoRecorderFuncCallbackTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2400 * @tc.name : 24.videoFrameRate 60 (callback) * @tc.desc : Audio recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_CALLBACK_2400', 0, async function (done) { fdObject = await mediaTestBase.getFd('recorder_callback_24.mp4'); fdPath = "fd://" + fdObject.fdNumber.toString(); videoConfig.url = fdPath; diff --git a/multimedia/media/media_js_standard/videoRecorder/src/main/js/test/VideoRecorderFuncPromiseTest.test.js b/multimedia/media/media_js_standard/videoRecorder/src/main/js/test/VideoRecorderFuncPromiseTest.test.js index 2e574de1c..e4759a863 100644 --- a/multimedia/media/media_js_standard/videoRecorder/src/main/js/test/VideoRecorderFuncPromiseTest.test.js +++ b/multimedia/media/media_js_standard/videoRecorder/src/main/js/test/VideoRecorderFuncPromiseTest.test.js @@ -126,14 +126,14 @@ describe('VideoRecorderFuncPromiseTest', function () { } /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_ALL_CAMERAS + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_ALL_CAMERAS_0100 * @tc.name : 01.all cameras recordering (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_ALL_CAMERAS', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_ALL_CAMERAS_0100', 0, async function (done) { for (let i = 0; i < 2; i++) { cameraID = i; console.info('[camera] case cameraID is :' + cameraID); @@ -197,14 +197,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0100 * @tc.name : 02.start->release (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0100', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -257,14 +257,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0200 * @tc.name : 02.start->pause->release (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0200', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -322,14 +322,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0300 * @tc.name : 03.start->pause->resume->release (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0300', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -396,14 +396,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0400 * @tc.name : 04.start->stop->release (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0400', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -460,14 +460,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0500 * @tc.name : 05.start->reset->release (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0500', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -524,14 +524,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0600 * @tc.name : 06.start->pause->stop->release (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0600', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -596,14 +596,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0700 * @tc.name : 07.start->pause->reset->release (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0700', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -667,14 +667,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0800 * @tc.name : 08.start->pause->resume->stop->release (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0800', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -746,14 +746,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0900 * @tc.name : 09.start->pause->resume->reset->release (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_0900', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -824,7 +824,7 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1000 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1000 * @tc.name : 10.start->stop->release * (audioBitrate 8000,audioSampleRate 8000,videoBitrateRange 8000)(promise) * @tc.desc : Video recordr control test @@ -832,7 +832,7 @@ describe('VideoRecorderFuncPromiseTest', function () { * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1000', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1000', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -893,7 +893,7 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1100 * @tc.name : 11.start->stop->release * (audioBitrate 16000,audioSampleRate 32000,videoBitrateRange 16000)(promise) * @tc.desc : Video recordr control test @@ -901,7 +901,7 @@ describe('VideoRecorderFuncPromiseTest', function () { * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1100', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -962,7 +962,7 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1200 * @tc.name : 12.start->stop->release * (audioBitrate 32000,audioSampleRate 44100,videoBitrateRange 32000)(promise) * @tc.desc : Video recordr control test @@ -970,7 +970,7 @@ describe('VideoRecorderFuncPromiseTest', function () { * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1200', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -1031,7 +1031,7 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1300 * @tc.name : 13.start->stop->release * (audioBitrate 112000,audioSampleRate 96000,videoBitrateRange 112000)(promise) * @tc.desc : Video recordr control test @@ -1039,7 +1039,7 @@ describe('VideoRecorderFuncPromiseTest', function () { * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1300', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -1100,14 +1100,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1400 * @tc.name : 14.start->release (only video) (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1400', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -1158,14 +1158,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1500 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1500 * @tc.name : 15.start->pause->release (only video) (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1500', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1500', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -1225,14 +1225,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1600 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1600 * @tc.name : 16.start->pause->resume->releas (only video) (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1600', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1600', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -1298,14 +1298,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1700 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1700 * @tc.name : 17.start->stop->release (only video) (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1700', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1700', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -1362,14 +1362,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1800 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1800 * @tc.name : 18.start->reset->release (only video) (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level1 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1800', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1800', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -1426,14 +1426,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1900 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1900 * @tc.name : 19.rotation 90 (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1900', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_1900', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -1485,14 +1485,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2000 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2000 * @tc.name : 20.rotation 180 (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2000', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2000', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -1543,14 +1543,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2100 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2100 * @tc.name : 21.rotation 270 (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2100', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2100', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -1601,14 +1601,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2200 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2200 * @tc.name : 22.videoFrameRate 20 (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2200', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2200', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -1659,14 +1659,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2300 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2300 * @tc.name : 23.videoFrameRate 30 (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2300', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2300', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; @@ -1717,14 +1717,14 @@ describe('VideoRecorderFuncPromiseTest', function () { }) /* * - * @tc.number : SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2400 + * @tc.number : SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2400 * @tc.name : 24.videoFrameRate 60 (promise) * @tc.desc : Video recordr control test * @tc.size : MediumTest * @tc.type : Function * @tc.level : Level0 */ - it('SUB_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2400', 0, async function (done) { + it('SUB_MULTIMEDIA_MEDIA_VIDEO_RECORDER_FUNCTION_PROMISE_2400', 0, async function (done) { let videoRecorder = undefined; let surfaceID = ''; let videoOutput; -- GitLab