You need to sign in or sign up before continuing.
提交 04c3bfe8 编写于 作者: C chengxingzhen

XTS问题用例整改

Signed-off-by: Nchengxingzhen <chengxingzhen@huawei.com>
上级 75aca33a
......@@ -17,10 +17,8 @@ group("fa") {
testonly = true
if (is_standard_system) {
deps = [
"faapplicationinfo:ActsApplicationinfoTest",
"faconfigurationconstant:ActsConfigurationconstantTest",
"facoverapi:ActsCoverapiTest",
"faequeryabilitybywant:ActsEqueryabilitybywantTest",
]
}
}
......@@ -25,7 +25,6 @@ ohos_js_hap_suite("ActsApplicationinfoTest") {
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js"
hap_profile = "entry/src/main/config.json"
js2abc = true
}
ohos_resources("hjs_demo_resources") {
sources = [ "./entry/src/main/js/resources" ]
......
......@@ -40,20 +40,24 @@ export default {
featureAbility.getWant(
(err, data) => {
if (data.uri == '{true,true,false}'){
console.info("SUB_AA_OpenHarmony_Want_0200_StartAbility" + JSON.stringify(data) + JSON.stringify(err));
console.info("SUB_AA_OpenHarmony_Want_0200_StartAbility" + JSON
.stringify(data) + JSON.stringify(err));
event = data.uri
commonEventPublishData = {
data: event,
}
commonEvent.publish('SUB_AA_OpenHarmony_Want_0200_CommonEvent', commonEventPublishData, PublishCallBackOne);
commonEvent.publish('SUB_AA_OpenHarmony_Want_0200_CommonEvent',
commonEventPublishData, PublishCallBackOne);
}
if (data.type == 'MIMETYPE'){
console.info("SUB_AA_OpenHarmony_Want_0300_StartAbility" + JSON.stringify(data) + JSON.stringify(err));
console.info("SUB_AA_OpenHarmony_Want_0300_StartAbility" + JSON
.stringify(data) + JSON.stringify(err));
event = data.type
commonEventPublishData = {
data: event,
}
commonEvent.publish('SUB_AA_OpenHarmony_Want_0300_CommonEvent', commonEventPublishData, PublishCallBackTwo);
commonEvent.publish('SUB_AA_OpenHarmony_Want_0300_CommonEvent',
commonEventPublishData, PublishCallBackTwo);
}
}
......@@ -63,5 +67,3 @@ export default {
console.info('ApplicationInfo MainAbility2 onReady');
},
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册