提交 bda17148 编写于 作者: Q qinliwen

<媒体子系统部件化整改&Audio部件优化新增用例>

Signed-off-by: Nqinliwen <qinliwen3@huawei.com>
上级 826c08aa
......@@ -21,6 +21,8 @@ ohos_js_hap_suite("audio_manager_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAudioManagerJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_audio_framework"
}
ohos_js_assets("audio_manager_js_assets") {
source_dir = "./src/main/js/default"
......
......@@ -742,51 +742,6 @@ describe('audioEM', function () {
});
})
/* *
* @tc.number : SUB_AUDIO_MANAGER_DeviceType_001
* @tc.name : DeviceType - INVALID
* @tc.desc : DeviceType - INVALID
* @tc.size : MEDIUM
* @tc.type : Function
* @tc.level : Level 0
*/
it('SUB_AUDIO_MANAGER_DeviceType_001', 0, async function (done) {
expect(audio.DeviceType.INVALID).assertEqual(0);
await sleep(50);
done();
})
/* *
* @tc.number : SUB_AUDIO_MANAGER_DeviceType_002
* @tc.name : DeviceType - WIRED_HEADSET
* @tc.desc : DeviceType - WIRED_HEADSET
* @tc.size : MEDIUM
* @tc.type : Function
* @tc.level : Level 0
*/
it('SUB_AUDIO_MANAGER_DeviceType_002', 0, async function (done) {
expect(audio.DeviceType.WIRED_HEADSET).assertEqual(3);
await sleep(50);
done();
})
/* *
* @tc.number : SUB_AUDIO_MANAGER_DeviceType_003
* @tc.name : DeviceType - USB_HEADSET
* @tc.desc : DeviceType - USB_HEADSET
* @tc.size : MEDIUM
* @tc.type : Function
* @tc.level : Level 0
*/
it('SUB_AUDIO_MANAGER_DeviceType_003', 0, async function (done) {
var resultflag = false;
if (audio.DeviceType.USB_HEADSET == 22 || audio.DeviceType.USB_HEADSET == undefined)
resultflag = true;
expect(resultflag).assertTrue();
await sleep(50);
done();
})
/* *
* @tc.number : SUB_AUDIO_MANAGER_DeviceChangeType_001
* @tc.name : DeviceChangeType - CONNECT
......@@ -814,6 +769,4 @@ describe('audioEM', function () {
await sleep(50);
done();
})
})
\ No newline at end of file
......@@ -22,6 +22,8 @@ ohos_js_hap_suite("camera_standard_ets_hap") {
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsCameraStandardETSTest"
subsystem_name = "multimedia"
part_name = "multimedia_camera_standard"
}
ohos_js_assets("camera_ets_assets") {
source_dir = "./src/main/ets/MainAbility"
......
......@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_js_assets") {
js2abc = true
......
......@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_colorspace_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageColorspaceJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_colorspace_js_assets") {
js2abc = true
......
......@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_DecodeOptions_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageDecodeOptionsJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_DecodeOptions_js_assets") {
js2abc = true
......
......@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_exif_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageExifJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_exif_js_assets") {
source_dir = "./src/main/js/default"
......
......@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_modifyProperty_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageModifyPropertyJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_modifyProperty_js_assets") {
js2abc = true
......
......@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_packing_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImagePackingJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_packing_js_assets") {
js2abc = true
......
......@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_pixelmapframework_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImagePixelMapFrameworkJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_pixelmapframework_js_assets") {
js2abc = true
......
......@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_receiver_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageReceiverJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_receiver_js_assets") {
js2abc = true
......
......@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_webp_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageWebpJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_webp_js_assets") {
js2abc = true
......
......@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_yuv_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageyuvJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_yuv_js_assets") {
js2abc = true
......
......@@ -23,6 +23,8 @@ ohos_js_hap_suite("image_pixelmap_ndk_hap") {
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsPixelMapNapiEtsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
shared_libraries = [ "./entry/src/main/cpp:imagePixelmap" ]
}
......
......@@ -22,6 +22,8 @@ ohos_js_hap_suite("audio_codec_format_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAudioCodecFormatJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("audio_codec_format_js_assets") {
source_dir = "./src/main/js/default"
......
......@@ -22,6 +22,8 @@ ohos_js_hap_suite("audio_decoder_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAudioDecoderJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("audio_decoder_js_assets") {
source_dir = "./src/main/js/default"
......
......@@ -22,6 +22,8 @@ ohos_js_hap_suite("audio_encoder_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAudioEncoderJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("audio_encoder_js_assets") {
source_dir = "./src/main/js/default"
......
......@@ -21,6 +21,8 @@ ohos_js_hap_suite("audio_player_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAudioPlayerJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("audio_player_js_assets") {
js2abc = true
......
......@@ -21,6 +21,8 @@ ohos_js_hap_suite("audio_recorder_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAudioRecorderJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("audio_recorder_js_assets") {
source_dir = "./src/main/js/default"
......
......@@ -27,6 +27,8 @@ ohos_js_hap_suite("hls_player_js_hap") {
# ]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsHLSPlayerJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
......
......@@ -27,6 +27,8 @@ ohos_js_hap_suite("http_player_js_hap") {
# ]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsHTTPPlayerJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
......
......@@ -21,6 +21,8 @@ ohos_js_hap_suite("recorder_format_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsRecorderFormatJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("recorder_format_js_assets") {
js2abc = true
......
......@@ -22,6 +22,8 @@ ohos_js_hap_suite("recorder_profile_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsRecorderProfileJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("profile_js_assets") {
js2abc = true
......
......@@ -21,6 +21,8 @@ ohos_js_hap_suite("video_codec_format_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsVideoCodecFormatJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("video_codec_format_js_assets") {
source_dir = "./src/main/js/default"
......
......@@ -21,6 +21,8 @@ ohos_js_hap_suite("video_decoder_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsVideoDecoderJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("video_decoder_js_assets") {
source_dir = "./src/main/js/default"
......
......@@ -22,6 +22,8 @@ ohos_js_hap_suite("video_encoder_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsVideoEncoderJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("video_encoder_js_assets") {
source_dir = "./src/main/js/default"
......
......@@ -27,6 +27,8 @@ ohos_js_hap_suite("video_player_js_hap") {
# ]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsVideoPlayerJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
......
......@@ -25,6 +25,8 @@ ohos_js_hap_suite("video_recorder_js_hap") {
# ]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsVideoRecorderJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册