Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
ce84b214
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看板
提交
ce84b214
编写于
7月 28, 2022
作者:
C
chengxingzhen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
XTS元能力失败用例添加
Signed-off-by:
N
chengxingzhen
<
chengxingzhen@huawei.com
>
上级
667b91b7
变更
28
隐藏空白更改
内联
并排
Showing
28 changed file
with
28 addition
and
28 deletion
+28
-28
ability/ability_runtime/TestApi/entry/src/main/ets/MainAbility2/MainAbility2.ts
...e/TestApi/entry/src/main/ets/MainAbility2/MainAbility2.ts
+1
-1
ability/ability_runtime/TestApi/entry/src/main/ets/MainAbility3/MainAbility3.ts
...e/TestApi/entry/src/main/ets/MainAbility3/MainAbility3.ts
+1
-1
ability/ability_runtime/TestApi/entry/src/main/ets/MainAbility4/MainAbility4.ts
...e/TestApi/entry/src/main/ets/MainAbility4/MainAbility4.ts
+1
-1
ability/ability_runtime/TestApi/entry/src/main/ets/MainAbility5/MainAbility5.ts
...e/TestApi/entry/src/main/ets/MainAbility5/MainAbility5.ts
+1
-1
ability/ability_runtime/aacommand/AACommand07/entry/src/main/ets/MainAbility2/MainAbility2.ts
...Command07/entry/src/main/ets/MainAbility2/MainAbility2.ts
+1
-1
ability/ability_runtime/aacommand/AACommand07/entry/src/main/ets/test/Ability.test.ets
...mand/AACommand07/entry/src/main/ets/test/Ability.test.ets
+1
-1
ability/ability_runtime/aacommand/AACommand08/entry/src/main/ets/MainAbility2/MainAbility2.ts
...Command08/entry/src/main/ets/MainAbility2/MainAbility2.ts
+1
-1
ability/ability_runtime/aacommand/AACommand08/entry/src/main/ets/test/Ability.test.ets
...mand/AACommand08/entry/src/main/ets/test/Ability.test.ets
+1
-1
ability/ability_runtime/aacommand/AACommandPrintSyncTest/entry/src/main/ets/test/Ability.test.ets
...andPrintSyncTest/entry/src/main/ets/test/Ability.test.ets
+1
-1
ability/ability_runtime/aacommand/AACommandtest/entry/src/main/ets/test/Ability.test.ets
...nd/AACommandtest/entry/src/main/ets/test/Ability.test.ets
+1
-1
ability/ability_runtime/abilitymontior/entry/src/main/ets/MainAbility3/MainAbility3.ts
...tymontior/entry/src/main/ets/MainAbility3/MainAbility3.ts
+1
-1
ability/ability_runtime/actsabilityusertest/entry/src/main/ets/MainAbility2/MainAbility2.ts
...yusertest/entry/src/main/ets/MainAbility2/MainAbility2.ts
+1
-1
ability/ability_runtime/actsabilityusertest/entry/src/main/ets/MainAbility3/MainAbility3.ts
...yusertest/entry/src/main/ets/MainAbility3/MainAbility3.ts
+1
-1
ability/ability_runtime/actsabilityusertest/entry/src/main/ets/test/Ability.test.ets
...sabilityusertest/entry/src/main/ets/test/Ability.test.ets
+1
-1
ability/ability_runtime/actsqueryfunctiontest/actsgetappcontextstageatest/entry/src/main/ets/MainAbility1/MainAbility1.ts
...tageatest/entry/src/main/ets/MainAbility1/MainAbility1.ts
+1
-1
ability/ability_runtime/actsqueryfunctiontest/actsgetappcontextstageatest/entry/src/main/ets/test/Ability.test.ets
...ontextstageatest/entry/src/main/ets/test/Ability.test.ets
+1
-1
ability/ability_runtime/actsqueryfunctiontest/actsgetappcontextstagebtest/entry/src/main/ets/MainAbility1/MainAbility1.ts
...tagebtest/entry/src/main/ets/MainAbility1/MainAbility1.ts
+1
-1
ability/ability_runtime/actsqueryfunctiontest/actsgetappcontextstagebtest/entry/src/main/ets/test/Ability.test.ets
...ontextstagebtest/entry/src/main/ets/test/Ability.test.ets
+1
-1
ability/ability_runtime/actsqueryfunctiontest/actsgetappcontexttest/entry/src/main/ets/MainAbility1/MainAbility1.ts
...ntexttest/entry/src/main/ets/MainAbility1/MainAbility1.ts
+1
-1
ability/ability_runtime/actsqueryfunctiontest/actsgetappcontexttest/entry/src/main/ets/test/Ability.test.ets
...etappcontexttest/entry/src/main/ets/test/Ability.test.ets
+1
-1
ability/ability_runtime/actsqueryfunctiontest/actsgetcurrenttopabilitystageatest/entry/src/main/ets/Ability2/Ability2.ts
...abilitystageatest/entry/src/main/ets/Ability2/Ability2.ts
+1
-1
ability/ability_runtime/actsqueryfunctiontest/actsgetcurrenttopabilitystageatest/entry/src/main/ets/test/Ability.test.ets
...bilitystageatest/entry/src/main/ets/test/Ability.test.ets
+1
-1
ability/ability_runtime/actsqueryfunctiontest/actsgetcurrenttopabilitystagebtest/entry/src/main/ets/Ability1/Ability1.ts
...abilitystagebtest/entry/src/main/ets/Ability1/Ability1.ts
+1
-1
ability/ability_runtime/actsqueryfunctiontest/actsgetcurrenttopabilitystagebtest/entry/src/main/ets/test/Ability.test.ets
...bilitystagebtest/entry/src/main/ets/test/Ability.test.ets
+1
-1
ability/ability_runtime/actsshellcommandfunctionalitytest/ExecuteShellCommand/entry/src/main/ets/test/Ability.test.ets
...cuteShellCommand/entry/src/main/ets/test/Ability.test.ets
+1
-1
ability/ability_runtime/actsstartrunnertest/entry/src/main/ets/MainAbility2/MainAbility2.ts
...unnertest/entry/src/main/ets/MainAbility2/MainAbility2.ts
+1
-1
ability/ability_runtime/actsstartrunnertest/entry/src/main/ets/MainAbility3/MainAbility3.ts
...unnertest/entry/src/main/ets/MainAbility3/MainAbility3.ts
+1
-1
ability/ability_runtime/actsstartrunnertest/entry/src/main/ets/test/Ability.test.ets
...sstartrunnertest/entry/src/main/ets/test/Ability.test.ets
+1
-1
未找到文件。
ability/ability_runtime/TestApi/entry/src/main/ets/MainAbility2/MainAbility2.ts
浏览文件 @
ce84b214
...
...
@@ -13,7 +13,7 @@
* limitations under the License.
*/
import
Ability
from
'
@ohos.application.Ability
'
import
commonEvent
from
'
@ohos.common
e
vent
'
import
commonEvent
from
'
@ohos.common
E
vent
'
function
PublishCallBackOne
()
{
console
.
debug
(
"
====>Publish CallBack ACTS_DoAbilityForeground_0100_Event====>
"
);
setTimeout
(()
=>
{
...
...
ability/ability_runtime/TestApi/entry/src/main/ets/MainAbility3/MainAbility3.ts
浏览文件 @
ce84b214
...
...
@@ -13,7 +13,7 @@
* limitations under the License.
*/
import
Ability
from
'
@ohos.application.Ability
'
import
commonEvent
from
'
@ohos.common
e
vent
'
import
commonEvent
from
'
@ohos.common
E
vent
'
function
PublishCallBackOne
()
{
console
.
debug
(
"
====>Publish CallBack ACTS_DoAbilityForeground_0300_Event====>
"
);
globalThis
.
abilityContext
.
terminateSelf
().
then
(()
=>
{
...
...
ability/ability_runtime/TestApi/entry/src/main/ets/MainAbility4/MainAbility4.ts
浏览文件 @
ce84b214
...
...
@@ -13,7 +13,7 @@
* limitations under the License.
*/
import
Ability
from
'
@ohos.application.Ability
'
import
commonEvent
from
'
@ohos.common
e
vent
'
import
commonEvent
from
'
@ohos.common
E
vent
'
function
PublishCallBackOne
()
{
console
.
debug
(
"
====>Publish CallBack Event====>
"
);
}
...
...
ability/ability_runtime/TestApi/entry/src/main/ets/MainAbility5/MainAbility5.ts
浏览文件 @
ce84b214
...
...
@@ -13,7 +13,7 @@
* limitations under the License.
*/
import
Ability
from
'
@ohos.application.Ability
'
import
commonEvent
from
'
@ohos.common
e
vent
'
import
commonEvent
from
'
@ohos.common
E
vent
'
function
PublishCallBackOne
()
{
console
.
debug
(
"
====>Publish CallBack Event====>
"
);
}
...
...
ability/ability_runtime/aacommand/AACommand07/entry/src/main/ets/MainAbility2/MainAbility2.ts
浏览文件 @
ce84b214
...
...
@@ -13,7 +13,7 @@
* limitations under the License.
*/
import
Ability
from
'
@ohos.application.Ability
'
import
commonEvent
from
"
@ohos.common
e
vent
"
import
commonEvent
from
"
@ohos.common
E
vent
"
function
PublishCallBackOne
()
{
console
.
debug
(
"
====>Publish CallBack AACommand_Debugapp====>
"
);
console
.
debug
(
"
====>close this context====>====>
"
);
...
...
ability/ability_runtime/aacommand/AACommand07/entry/src/main/ets/test/Ability.test.ets
浏览文件 @
ce84b214
...
...
@@ -15,7 +15,7 @@
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'hypium/index'
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import commonEvent from "@ohos.common
e
vent"
import commonEvent from "@ohos.common
E
vent"
var subscriberInfo_startdebugapp = {
events: ["AACommand_Debugapp"],
...
...
ability/ability_runtime/aacommand/AACommand08/entry/src/main/ets/MainAbility2/MainAbility2.ts
浏览文件 @
ce84b214
...
...
@@ -14,7 +14,7 @@
*/
import
Ability
from
'
@ohos.application.Ability
'
import
commonEvent
from
"
@ohos.common
e
vent
"
import
commonEvent
from
"
@ohos.common
E
vent
"
function
PublishCallBackOne
()
{
console
.
debug
(
"
====>Publish CallBack AACommand_Debugapp====>
"
);
console
.
debug
(
"
====>close this context====>====>
"
);
...
...
ability/ability_runtime/aacommand/AACommand08/entry/src/main/ets/test/Ability.test.ets
浏览文件 @
ce84b214
...
...
@@ -15,7 +15,7 @@
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'hypium/index'
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import commonEvent from "@ohos.common
e
vent"
import commonEvent from "@ohos.common
E
vent"
var subscriberInfo_startdebugapp = {
events: ["AACommand_Debugapp"],
...
...
ability/ability_runtime/aacommand/AACommandPrintSyncTest/entry/src/main/ets/test/Ability.test.ets
浏览文件 @
ce84b214
...
...
@@ -14,7 +14,7 @@
*/
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'hypium/index'
import appManager from '@ohos.application.
A
ppManager';
import appManager from '@ohos.application.
a
ppManager';
const DELAY = 3000
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
export default function abilityTest() {
...
...
ability/ability_runtime/aacommand/AACommandtest/entry/src/main/ets/test/Ability.test.ets
浏览文件 @
ce84b214
...
...
@@ -14,7 +14,7 @@
*/
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'hypium/index'
import appManager from '@ohos.application.
A
ppManager';
import appManager from '@ohos.application.
a
ppManager';
const DELAY = 3000
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
export default function abilityTest() {
...
...
ability/ability_runtime/abilitymontior/entry/src/main/ets/MainAbility3/MainAbility3.ts
浏览文件 @
ce84b214
...
...
@@ -13,7 +13,7 @@
* limitations under the License.
*/
import
Ability
from
'
@ohos.application.Ability
'
import
commonEvent
from
'
@ohos.common
e
vent
'
import
commonEvent
from
'
@ohos.common
E
vent
'
function
PublishCallBack
()
{
console
.
debug
(
"
====>Publish CallBack ====>
"
);
...
...
ability/ability_runtime/actsabilityusertest/entry/src/main/ets/MainAbility2/MainAbility2.ts
浏览文件 @
ce84b214
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import
Ability
from
'
@ohos.application.Ability
'
import
commonEvent
from
'
@ohos.common
e
vent
'
import
commonEvent
from
'
@ohos.common
E
vent
'
function
PublishCallBackOne
()
{
console
.
debug
(
"
====>Publish CallBack ACTS_Start_CommonEvent====>
"
);
console
.
debug
(
"
====>close this context====>3====>
"
);
...
...
ability/ability_runtime/actsabilityusertest/entry/src/main/ets/MainAbility3/MainAbility3.ts
浏览文件 @
ce84b214
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import
Ability
from
'
@ohos.application.Ability
'
import
commonEvent
from
'
@ohos.common
e
vent
'
import
commonEvent
from
'
@ohos.common
E
vent
'
function
PublishCallBackOne
()
{
console
.
debug
(
"
====>Publish CallBack ACTS_Start_CommonEvent====>
"
);
console
.
debug
(
"
====>close this context====>4====>
"
);
...
...
ability/ability_runtime/actsabilityusertest/entry/src/main/ets/test/Ability.test.ets
浏览文件 @
ce84b214
...
...
@@ -14,7 +14,7 @@
*/
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index"
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import commonEvent from '@ohos.common
e
vent'
import commonEvent from '@ohos.common
E
vent'
var subscriberInfo_MainAbility = {
events: ["ACTS_StartAbility_CommonEvent"]
};
...
...
ability/ability_runtime/actsqueryfunctiontest/actsgetappcontextstageatest/entry/src/main/ets/MainAbility1/MainAbility1.ts
浏览文件 @
ce84b214
...
...
@@ -14,7 +14,7 @@
*/
import
Ability
from
'
@ohos.application.Ability
'
import
commonEvent
from
'
@ohos.common
e
vent
'
import
commonEvent
from
'
@ohos.common
E
vent
'
function
PublishCallBackOne2
()
{
console
.
debug
(
"
====>Publish CallBack ACTS_StartAbility2_CommonEvent====>
"
);
globalThis
.
ability2Context
.
terminateSelf
();
...
...
ability/ability_runtime/actsqueryfunctiontest/actsgetappcontextstageatest/entry/src/main/ets/test/Ability.test.ets
浏览文件 @
ce84b214
...
...
@@ -14,7 +14,7 @@
*/
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'hypium/index'
import commonEvent from '@ohos.common
e
vent'
import commonEvent from '@ohos.common
E
vent'
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
const START_ABILITY_TIMEOUT = 5000;
var GetAppContext1 = {
...
...
ability/ability_runtime/actsqueryfunctiontest/actsgetappcontextstagebtest/entry/src/main/ets/MainAbility1/MainAbility1.ts
浏览文件 @
ce84b214
...
...
@@ -14,7 +14,7 @@
*/
import
Ability
from
'
@ohos.application.Ability
'
import
commonEvent
from
'
@ohos.common
e
vent
'
import
commonEvent
from
'
@ohos.common
E
vent
'
function
PublishCallBackOne2
()
{
console
.
debug
(
"
====>Publish CallBack ACTS_StartAbility2_CommonEvent====>
"
);
globalThis
.
ability2Context
.
terminateSelf
();
...
...
ability/ability_runtime/actsqueryfunctiontest/actsgetappcontextstagebtest/entry/src/main/ets/test/Ability.test.ets
浏览文件 @
ce84b214
...
...
@@ -14,7 +14,7 @@
*/
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'hypium/index'
import commonEvent from '@ohos.common
e
vent'
import commonEvent from '@ohos.common
E
vent'
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
const START_ABILITY_TIMEOUT = 5000;
var GetAppContext1 = {
...
...
ability/ability_runtime/actsqueryfunctiontest/actsgetappcontexttest/entry/src/main/ets/MainAbility1/MainAbility1.ts
浏览文件 @
ce84b214
...
...
@@ -14,7 +14,7 @@
*/
import
Ability
from
'
@ohos.application.Ability
'
import
commonEvent
from
'
@ohos.common
e
vent
'
import
commonEvent
from
'
@ohos.common
E
vent
'
function
PublishCallBackOne2
()
{
console
.
debug
(
"
====>Publish CallBack ACTS_StartAbility2_CommonEvent====>
"
);
globalThis
.
ability2Context
.
terminateSelf
();
...
...
ability/ability_runtime/actsqueryfunctiontest/actsgetappcontexttest/entry/src/main/ets/test/Ability.test.ets
浏览文件 @
ce84b214
...
...
@@ -14,7 +14,7 @@
*/
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'hypium/index'
import commonEvent from '@ohos.common
e
vent'
import commonEvent from '@ohos.common
E
vent'
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
const START_ABILITY_TIMEOUT = 5000;
var GetAppContext1 = {
...
...
ability/ability_runtime/actsqueryfunctiontest/actsgetcurrenttopabilitystageatest/entry/src/main/ets/Ability2/Ability2.ts
浏览文件 @
ce84b214
...
...
@@ -13,7 +13,7 @@
* limitations under the License.
*/
import
Ability
from
'
@ohos.application.Ability
'
import
commonEvent
from
'
@ohos.common
e
vent
'
import
commonEvent
from
'
@ohos.common
E
vent
'
function
PublishCallBackOne
()
{
console
.
debug
(
"
====>Publish CallBack GetCurrentTopAbility2====>
"
);
console
.
debug
(
"
====>close this context====>3====>
"
);
...
...
ability/ability_runtime/actsqueryfunctiontest/actsgetcurrenttopabilitystageatest/entry/src/main/ets/test/Ability.test.ets
浏览文件 @
ce84b214
...
...
@@ -16,7 +16,7 @@
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'hypium/index'
import
abilityDelegatorRegistry
from
'@ohos.application.abilityDelegatorRegistry'
import
commonEvent
from
"@ohos.common
e
vent"
import
commonEvent
from
"@ohos.common
E
vent"
var
subscriberInfo_MainAbility2
=
{
events
:
[
"GetCurrentTopAbilityB"
],
...
...
ability/ability_runtime/actsqueryfunctiontest/actsgetcurrenttopabilitystagebtest/entry/src/main/ets/Ability1/Ability1.ts
浏览文件 @
ce84b214
...
...
@@ -13,7 +13,7 @@
* limitations under the License.
*/
import
Ability
from
'
@ohos.application.Ability
'
import
commonEvent
from
'
@ohos.common
e
vent
'
import
commonEvent
from
'
@ohos.common
E
vent
'
function
publishCallBackOne
()
{
console
.
debug
(
"
====>Publish CallBack GetCurrentTopAbility
"
);
}
...
...
ability/ability_runtime/actsqueryfunctiontest/actsgetcurrenttopabilitystagebtest/entry/src/main/ets/test/Ability.test.ets
浏览文件 @
ce84b214
...
...
@@ -15,7 +15,7 @@
*/
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'hypium/index'
import abilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import commonEvent from "@ohos.common
e
vent"
import commonEvent from "@ohos.common
E
vent"
var subscriberInfo_MainAbility2 = {
events: ["GetCurrentTopAbility"],
...
...
ability/ability_runtime/actsshellcommandfunctionalitytest/ExecuteShellCommand/entry/src/main/ets/test/Ability.test.ets
浏览文件 @
ce84b214
...
...
@@ -14,7 +14,7 @@
*/
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'hypium/index'
import appManager from '@ohos.application.
A
ppManager';
import appManager from '@ohos.application.
a
ppManager';
export default function abilityTest() {
describe('ACTS_ExecuteShellCommandTest', function () {
...
...
ability/ability_runtime/actsstartrunnertest/entry/src/main/ets/MainAbility2/MainAbility2.ts
浏览文件 @
ce84b214
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import
Ability
from
'
@ohos.application.Ability
'
import
commonEvent
from
'
@ohos.common
e
vent
'
import
commonEvent
from
'
@ohos.common
E
vent
'
function
PublishCallBackOne
()
{
console
.
debug
(
"
====>Publish CallBack ACTS_Start_CommonEvent====>
"
);
console
.
debug
(
"
====>close this context====>3====>
"
);
...
...
ability/ability_runtime/actsstartrunnertest/entry/src/main/ets/MainAbility3/MainAbility3.ts
浏览文件 @
ce84b214
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import
Ability
from
'
@ohos.application.Ability
'
import
commonEvent
from
'
@ohos.common
e
vent
'
import
commonEvent
from
'
@ohos.common
E
vent
'
function
PublishCallBackOne
()
{
console
.
debug
(
"
====>Publish CallBack ACTS_Start_CommonEvent====>
"
);
console
.
debug
(
"
====>close this context====>4====>
"
);
...
...
ability/ability_runtime/actsstartrunnertest/entry/src/main/ets/test/Ability.test.ets
浏览文件 @
ce84b214
...
...
@@ -14,7 +14,7 @@
*/
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "hypium/index"
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import commonEvent from '@ohos.common
e
vent'
import commonEvent from '@ohos.common
E
vent'
var subscriberInfo_MainAbility = {
events: ["ACTS_Start_CommonEvent"]
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录