Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
3396fe61
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
3396fe61
编写于
8月 25, 2022
作者:
O
openharmony_ci
提交者:
Gitee
8月 25, 2022
浏览文件
操作
浏览文件
下载
差异文件
!5189 提交免安装xts问题修改
Merge pull request !5189 from dy/master0825
上级
f74d40a7
9d6b693e
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
23 addition
and
10 deletion
+23
-10
ability/ability_runtime/freeinstalltest/startabilityforresultfatest/actsfreeinstallstartabilityforresultfatest/Test.json
...test/actsfreeinstallstartabilityforresultfatest/Test.json
+1
-0
ability/ability_runtime/freeinstalltest/startabilityforresultfatest/actsfreeinstallstartabilityforresultfatest/entry/src/main/config.json
...allstartabilityforresultfatest/entry/src/main/config.json
+1
-1
ability/ability_runtime/freeinstalltest/startabilityforresultfatest/actsfreeinstallstartabilityforresultfatest/entry/src/main/ets/MainAbility/app.ets
...ityforresultfatest/entry/src/main/ets/MainAbility/app.ets
+9
-0
ability/ability_runtime/freeinstalltest/startabilityforresultfatest/actsfreeinstallstartabilityforresultfatest/entry/src/main/ets/MainAbility/pages/index.ets
...sultfatest/entry/src/main/ets/MainAbility/pages/index.ets
+0
-6
ability/ability_runtime/freeinstalltest/startabilityforresultfatest/actsfreeinstallstartabilityforresultfatest/entry/src/main/ets/MainAbility/test/StartAbilityForResult.test.ets
.../main/ets/MainAbility/test/StartAbilityForResult.test.ets
+12
-0
ability/ability_runtime/freeinstalltest/startabilityforresultfatest/atomizationresultfaentry/entry/src/main/ets/MainAbility/app.ets
...ationresultfaentry/entry/src/main/ets/MainAbility/app.ets
+0
-1
ability/ability_runtime/freeinstalltest/startabilityforresultfatest/atomizationresultfahm1/entry/src/main/ets/MainAbility/app.ets
...izationresultfahm1/entry/src/main/ets/MainAbility/app.ets
+0
-1
ability/ability_runtime/freeinstalltest/startabilityforresultfatest/atomizationresultfahm2/entry/src/main/ets/MainAbility/app.ets
...izationresultfahm2/entry/src/main/ets/MainAbility/app.ets
+0
-1
未找到文件。
ability/ability_runtime/freeinstalltest/startabilityforresultfatest/actsfreeinstallstartabilityforresultfatest/Test.json
浏览文件 @
3396fe61
...
...
@@ -20,6 +20,7 @@
"type"
:
"ShellKit"
,
"run-command"
:
[
"remount"
,
"param set persist.sys.suspend_manager_enabled 0"
,
"mkdir /data/test/"
]
},
...
...
ability/ability_runtime/freeinstalltest/startabilityforresultfatest/actsfreeinstallstartabilityforresultfatest/entry/src/main/config.json
浏览文件 @
3396fe61
...
...
@@ -44,7 +44,7 @@
"formsEnabled"
:
false
,
"label"
:
"$string:MainAbility_label"
,
"type"
:
"page"
,
"launchType"
:
"s
tandard
"
"launchType"
:
"s
ingleton
"
},
{
"orientation"
:
"unspecified"
,
...
...
ability/ability_runtime/freeinstalltest/startabilityforresultfatest/actsfreeinstallstartabilityforresultfatest/entry/src/main/ets/MainAbility/app.ets
浏览文件 @
3396fe61
...
...
@@ -12,10 +12,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import { Hypium } from '@ohos/hypium'
import testsuite from "./test/List.test";
export default {
onCreate() {
console.info('Application onCreate')
var abilityDelegator: any
abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator()
var abilityDelegatorArguments: any
abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments()
console.info('start run testcase!!!')
Hypium.hypiumTest(abilityDelegator, abilityDelegatorArguments, testsuite)
},
onDestroy() {
console.info('Application onDestroy')
...
...
ability/ability_runtime/freeinstalltest/startabilityforresultfatest/actsfreeinstallstartabilityforresultfatest/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
3396fe61
...
...
@@ -38,12 +38,6 @@ async function routePage() {
struct
Index
{
aboutToAppear
()
{
console
.
info
(
"aboutToAppear start!!!!"
)
var
abilityDelegator
:
any
abilityDelegator
=
AbilityDelegatorRegistry
.
getAbilityDelegator
()
var
abilityDelegatorArguments
:
any
abilityDelegatorArguments
=
AbilityDelegatorRegistry
.
getArguments
()
console
.
info
(
'start run testcase!!!'
)
Hypium
.
hypiumTest
(
abilityDelegator
,
abilityDelegatorArguments
,
testsuite
)
}
build
()
{
...
...
ability/ability_runtime/freeinstalltest/startabilityforresultfatest/actsfreeinstallstartabilityforresultfatest/entry/src/main/ets/MainAbility/test/StartAbilityForResult.test.ets
浏览文件 @
3396fe61
...
...
@@ -74,6 +74,18 @@ export default function StartAbilityForResult() {
console.info("executeShellCommand4: err : " + JSON.stringify(err), " data : " + JSON.stringify(d));
})
await Utils.sleep(500);
var str = {
'want': {
"bundleName": "com.open.harmony.startAbilityForResult",
"abilityName": "com.open.harmony.startAbilityForResult.MainAbility",
}
}
await featureAbility.startAbility(str).then((data) => {
console.info(' StartAbilityPromise successful. Data: ' + JSON.stringify(data))
}).catch((error) => {
console.info(' StartAbilityPromise failed. Cause: ' + JSON.stringify(error));
})
await Utils.sleep(500);
}
if ("FreeInstall_FA_StartAbilityForResult_3200" === TAG) {
...
...
ability/ability_runtime/freeinstalltest/startabilityforresultfatest/atomizationresultfaentry/entry/src/main/ets/MainAbility/app.ets
浏览文件 @
3396fe61
...
...
@@ -40,7 +40,6 @@ export default {
},
}
);
featureAbility.terminateSelf();
console.info('fAStartAbilityForResultPromise terminateSelfWithResult END');
}, 1000);
},
...
...
ability/ability_runtime/freeinstalltest/startabilityforresultfatest/atomizationresultfahm1/entry/src/main/ets/MainAbility/app.ets
浏览文件 @
3396fe61
...
...
@@ -33,7 +33,6 @@ export default {
},
}
);
featureAbility.terminateSelf();
console.info('fAStartAbilityForResultPromise terminateSelfWithResult END');
}, 1000);
},
...
...
ability/ability_runtime/freeinstalltest/startabilityforresultfatest/atomizationresultfahm2/entry/src/main/ets/MainAbility/app.ets
浏览文件 @
3396fe61
...
...
@@ -33,7 +33,6 @@ export default {
},
}
);
featureAbility.terminateSelf();
console.info('fAStartAbilityForResultPromise terminateSelfWithResult END');
}, 1000);
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录