未验证 提交 becdc66b 编写于 作者: O openharmony_ci 提交者: Gitee

!5032 xts用例名称修改1

Merge pull request !5032 from monissa/monissa_0818
......@@ -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;
......
......@@ -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(',');
......
......@@ -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);
......
......@@ -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();
......
......@@ -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,
......
......@@ -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();
......
......@@ -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,
......
......@@ -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) {
......
......@@ -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();
......
......@@ -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,
......
......@@ -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) {
......
......@@ -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,14 +304,14 @@ 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();
......@@ -353,14 +353,14 @@ describe('PlayerLocalTestAudioFUNC', function () {
})
/* *
* @tc.number : SUB_MEDIA_PLAYER_LOCAL_AUDIO_FUNCTION_LOOP
* @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;
......@@ -442,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');
......
......@@ -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);
})
})
......
......@@ -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');
......
......@@ -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);
})
})
......@@ -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);
......
......@@ -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();
})
......
......@@ -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();
})
......
......@@ -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';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册