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

!5021 【媒体子系统部件化整改&Audio部件优化、新增用例】

Merge pull request !5021 from 秦莉文/master
...@@ -21,6 +21,8 @@ ohos_js_hap_suite("audio_manager_js_hap") { ...@@ -21,6 +21,8 @@ ohos_js_hap_suite("audio_manager_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAudioManagerJsTest" hap_name = "ActsAudioManagerJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_audio_framework"
} }
ohos_js_assets("audio_manager_js_assets") { ohos_js_assets("audio_manager_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -742,51 +742,6 @@ describe('audioEM', function () { ...@@ -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.number : SUB_AUDIO_MANAGER_DeviceChangeType_001
* @tc.name : DeviceChangeType - CONNECT * @tc.name : DeviceChangeType - CONNECT
......
...@@ -22,6 +22,8 @@ ohos_js_hap_suite("camera_standard_ets_hap") { ...@@ -22,6 +22,8 @@ ohos_js_hap_suite("camera_standard_ets_hap") {
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsCameraStandardETSTest" hap_name = "ActsCameraStandardETSTest"
subsystem_name = "multimedia"
part_name = "multimedia_camera_standard"
} }
ohos_js_assets("camera_ets_assets") { ohos_js_assets("camera_ets_assets") {
source_dir = "./src/main/ets/MainAbility" source_dir = "./src/main/ets/MainAbility"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_js_hap") { ...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageJsTest" hap_name = "ActsImageJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
} }
ohos_js_assets("image_js_assets") { ohos_js_assets("image_js_assets") {
js2abc = true js2abc = true
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_colorspace_js_hap") { ...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_colorspace_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageColorspaceJsTest" hap_name = "ActsImageColorspaceJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
} }
ohos_js_assets("image_colorspace_js_assets") { ohos_js_assets("image_colorspace_js_assets") {
js2abc = true js2abc = true
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_DecodeOptions_js_hap") { ...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_DecodeOptions_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageDecodeOptionsJsTest" hap_name = "ActsImageDecodeOptionsJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
} }
ohos_js_assets("image_DecodeOptions_js_assets") { ohos_js_assets("image_DecodeOptions_js_assets") {
js2abc = true js2abc = true
......
...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_exif_js_hap") { ...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_exif_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageExifJsTest" hap_name = "ActsImageExifJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
} }
ohos_js_assets("image_exif_js_assets") { ohos_js_assets("image_exif_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_modifyProperty_js_hap") { ...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_modifyProperty_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageModifyPropertyJsTest" hap_name = "ActsImageModifyPropertyJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
} }
ohos_js_assets("image_modifyProperty_js_assets") { ohos_js_assets("image_modifyProperty_js_assets") {
js2abc = true js2abc = true
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_packing_js_hap") { ...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_packing_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImagePackingJsTest" hap_name = "ActsImagePackingJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
} }
ohos_js_assets("image_packing_js_assets") { ohos_js_assets("image_packing_js_assets") {
js2abc = true js2abc = true
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_pixelmapframework_js_hap") { ...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_pixelmapframework_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImagePixelMapFrameworkJsTest" hap_name = "ActsImagePixelMapFrameworkJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
} }
ohos_js_assets("image_pixelmapframework_js_assets") { ohos_js_assets("image_pixelmapframework_js_assets") {
js2abc = true js2abc = true
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_receiver_js_hap") { ...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_receiver_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageReceiverJsTest" hap_name = "ActsImageReceiverJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
} }
ohos_js_assets("image_receiver_js_assets") { ohos_js_assets("image_receiver_js_assets") {
js2abc = true js2abc = true
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_webp_js_hap") { ...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_webp_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageWebpJsTest" hap_name = "ActsImageWebpJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
} }
ohos_js_assets("image_webp_js_assets") { ohos_js_assets("image_webp_js_assets") {
js2abc = true js2abc = true
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_yuv_js_hap") { ...@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_yuv_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageyuvJsTest" hap_name = "ActsImageyuvJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
} }
ohos_js_assets("image_yuv_js_assets") { ohos_js_assets("image_yuv_js_assets") {
js2abc = true js2abc = true
......
...@@ -24,6 +24,8 @@ ohos_js_hap_suite("image_pixelmap_ndk_hap") { ...@@ -24,6 +24,8 @@ ohos_js_hap_suite("image_pixelmap_ndk_hap") {
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsPixelMapNapiEtsTest" hap_name = "ActsPixelMapNapiEtsTest"
shared_libraries = [ "./entry/src/main/cpp:imagePixelmap" ] shared_libraries = [ "./entry/src/main/cpp:imagePixelmap" ]
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
} }
ohos_js_assets("pixelmap_ets_assets") { ohos_js_assets("pixelmap_ets_assets") {
......
...@@ -22,6 +22,8 @@ ohos_js_hap_suite("audio_codec_format_js_hap") { ...@@ -22,6 +22,8 @@ ohos_js_hap_suite("audio_codec_format_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAudioCodecFormatJsTest" hap_name = "ActsAudioCodecFormatJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
} }
ohos_js_assets("audio_codec_format_js_assets") { ohos_js_assets("audio_codec_format_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -22,6 +22,8 @@ ohos_js_hap_suite("audio_decoder_js_hap") { ...@@ -22,6 +22,8 @@ ohos_js_hap_suite("audio_decoder_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAudioDecoderJsTest" hap_name = "ActsAudioDecoderJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
} }
ohos_js_assets("audio_decoder_js_assets") { ohos_js_assets("audio_decoder_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -22,6 +22,8 @@ ohos_js_hap_suite("audio_encoder_js_hap") { ...@@ -22,6 +22,8 @@ ohos_js_hap_suite("audio_encoder_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAudioEncoderJsTest" hap_name = "ActsAudioEncoderJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
} }
ohos_js_assets("audio_encoder_js_assets") { ohos_js_assets("audio_encoder_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
...@@ -21,6 +21,8 @@ ohos_js_hap_suite("audio_player_js_hap") { ...@@ -21,6 +21,8 @@ ohos_js_hap_suite("audio_player_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAudioPlayerJsTest" hap_name = "ActsAudioPlayerJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
} }
ohos_js_assets("audio_player_js_assets") { ohos_js_assets("audio_player_js_assets") {
js2abc = true js2abc = true
......
...@@ -21,6 +21,8 @@ ohos_js_hap_suite("audio_recorder_js_hap") { ...@@ -21,6 +21,8 @@ ohos_js_hap_suite("audio_recorder_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAudioRecorderJsTest" hap_name = "ActsAudioRecorderJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
} }
ohos_js_assets("audio_recorder_js_assets") { ohos_js_assets("audio_recorder_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -27,6 +27,8 @@ ohos_js_hap_suite("hls_player_js_hap") { ...@@ -27,6 +27,8 @@ ohos_js_hap_suite("hls_player_js_hap") {
# ] # ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsHLSPlayerJsTest" hap_name = "ActsHLSPlayerJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
# part_name = "prebuilt_hap" # part_name = "prebuilt_hap"
# subsystem_name = "xts" # subsystem_name = "xts"
......
...@@ -27,6 +27,8 @@ ohos_js_hap_suite("http_player_js_hap") { ...@@ -27,6 +27,8 @@ ohos_js_hap_suite("http_player_js_hap") {
# ] # ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsHTTPPlayerJsTest" hap_name = "ActsHTTPPlayerJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
# part_name = "prebuilt_hap" # part_name = "prebuilt_hap"
# subsystem_name = "xts" # subsystem_name = "xts"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
...@@ -21,6 +21,8 @@ ohos_js_hap_suite("recorder_format_js_hap") { ...@@ -21,6 +21,8 @@ ohos_js_hap_suite("recorder_format_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsRecorderFormatJsTest" hap_name = "ActsRecorderFormatJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
} }
ohos_js_assets("recorder_format_js_assets") { ohos_js_assets("recorder_format_js_assets") {
js2abc = true js2abc = true
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
...@@ -22,6 +22,8 @@ ohos_js_hap_suite("recorder_profile_js_hap") { ...@@ -22,6 +22,8 @@ ohos_js_hap_suite("recorder_profile_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsRecorderProfileJsTest" hap_name = "ActsRecorderProfileJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
} }
ohos_js_assets("profile_js_assets") { ohos_js_assets("profile_js_assets") {
js2abc = true js2abc = true
......
...@@ -21,6 +21,8 @@ ohos_js_hap_suite("video_codec_format_js_hap") { ...@@ -21,6 +21,8 @@ ohos_js_hap_suite("video_codec_format_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsVideoCodecFormatJsTest" hap_name = "ActsVideoCodecFormatJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
} }
ohos_js_assets("video_codec_format_js_assets") { ohos_js_assets("video_codec_format_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -21,6 +21,8 @@ ohos_js_hap_suite("video_decoder_js_hap") { ...@@ -21,6 +21,8 @@ ohos_js_hap_suite("video_decoder_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsVideoDecoderJsTest" hap_name = "ActsVideoDecoderJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
} }
ohos_js_assets("video_decoder_js_assets") { ohos_js_assets("video_decoder_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -22,6 +22,8 @@ ohos_js_hap_suite("video_encoder_js_hap") { ...@@ -22,6 +22,8 @@ ohos_js_hap_suite("video_encoder_js_hap") {
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsVideoEncoderJsTest" hap_name = "ActsVideoEncoderJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
} }
ohos_js_assets("video_encoder_js_assets") { ohos_js_assets("video_encoder_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
...@@ -27,6 +27,8 @@ ohos_js_hap_suite("video_player_js_hap") { ...@@ -27,6 +27,8 @@ ohos_js_hap_suite("video_player_js_hap") {
# ] # ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsVideoPlayerJsTest" hap_name = "ActsVideoPlayerJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
# part_name = "prebuilt_hap" # part_name = "prebuilt_hap"
# subsystem_name = "xts" # subsystem_name = "xts"
......
...@@ -25,6 +25,8 @@ ohos_js_hap_suite("video_recorder_js_hap") { ...@@ -25,6 +25,8 @@ ohos_js_hap_suite("video_recorder_js_hap") {
# ] # ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsVideoRecorderJsTest" hap_name = "ActsVideoRecorderJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
# part_name = "prebuilt_hap" # part_name = "prebuilt_hap"
# subsystem_name = "xts" # subsystem_name = "xts"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册