Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
549cb102
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看板
未验证
提交
549cb102
编写于
2月 26, 2022
作者:
O
openharmony_ci
提交者:
Gitee
2月 26, 2022
浏览文件
操作
浏览文件
下载
差异文件
!2049 modify aafwk xts unavilable problem
Merge pull request !2049 from mingxihua/master
上级
e51e8513
3a56893e
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
12 addition
and
198 deletion
+12
-198
aafwk/aafwk_standard/abilitymanager/actsamscallbackfifthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
...hscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
+1
-14
aafwk/aafwk_standard/abilitymanager/actsamscallbackfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
...tscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
+1
-14
aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
...hscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
+2
-15
aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
...dscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
+1
-14
aafwk/aafwk_standard/abilitymanager/actsamscallbackthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
...dscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
+1
-27
aafwk/aafwk_standard/abilitymanager/actsamstestfifthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
...hscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
+1
-19
aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
...tscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
+1
-19
aafwk/aafwk_standard/abilitymanager/actsamstestfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
...hscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
+2
-20
aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
...dscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
+1
-19
aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
...dscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
+1
-37
未找到文件。
aafwk/aafwk_standard/abilitymanager/actsamscallbackfifthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
浏览文件 @
549cb102
...
...
@@ -54,21 +54,8 @@ var bundleNameList = [
describe
(
'
ActsAmsCallBackFifthScene
'
,
function
()
{
console
.
info
(
'
----ActsAmsCallBackFifthScene----
'
);
beforeAll
(
async
function
(
done
)
{
await
featureAbility
.
startAbility
(
{
want
:
{
deviceId
:
""
,
bundleName
:
"
com.ohos.launcher
"
,
abilityName
:
"
com.ohos.launcher.MainAbility
"
,
action
:
"
action1
"
,
parameters
:
{},
},
},
);
var
maxnum
=
10
;
var
flag
=
1
;
var
flag
=
1
;
var
data
=
await
abilitymanager
.
queryRecentAbilityMissionInfos
(
maxnum
,
flag
);
console
.
log
(
'
queryRecentAbilityMissionInfos data
'
+
JSON
.
stringify
(
data
));
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
)
{
...
...
aafwk/aafwk_standard/abilitymanager/actsamscallbackfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
浏览文件 @
549cb102
...
...
@@ -51,21 +51,8 @@ var bundleNameList = [
describe
(
'
ActsAmsCallBackFirstScene
'
,
function
()
{
console
.
info
(
'
----ActsAmsCallBackFirstScene----
'
);
beforeAll
(
async
function
(
done
)
{
await
featureAbility
.
startAbility
(
{
want
:
{
deviceId
:
""
,
bundleName
:
"
com.ohos.launcher
"
,
abilityName
:
"
com.ohos.launcher.MainAbility
"
,
action
:
"
action1
"
,
parameters
:
{},
},
},
);
var
maxnum
=
10
;
var
flag
=
1
;
var
flag
=
1
;
var
data
=
await
abilitymanager
.
queryRecentAbilityMissionInfos
(
maxnum
,
flag
);
console
.
log
(
'
queryRecentAbilityMissionInfos data
'
+
JSON
.
stringify
(
data
));
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
)
{
...
...
aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
浏览文件 @
549cb102
...
...
@@ -57,21 +57,8 @@ var bundleNameList = [
describe
(
'
ActsAmsCallBackFourthScene
'
,
function
()
{
console
.
info
(
'
----ActsAmsCallBackFourthScene----
'
);
beforeAll
(
async
function
(
done
)
{
await
featureAbility
.
startAbility
(
{
want
:
{
deviceId
:
""
,
bundleName
:
"
com.ohos.launcher
"
,
abilityName
:
"
com.ohos.launcher.MainAbility
"
,
action
:
"
action1
"
,
parameters
:
{},
},
},
);
var
maxnum
=
10
;
var
flag
=
1
;
var
flag
=
1
;
var
data
=
await
abilitymanager
.
queryRecentAbilityMissionInfos
(
maxnum
,
flag
);
console
.
log
(
'
queryRecentAbilityMissionInfos data
'
+
JSON
.
stringify
(
data
));
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
)
{
...
...
@@ -126,7 +113,7 @@ describe('ActsAmsCallBackFourthScene', function () {
{
deviceId
:
""
,
bundleName
:
"
com.ix.simulate.entry
"
,
abilityName
:
"
com.example.SimulateEntryAbility
Fir
"
,
abilityName
:
"
com.example.SimulateEntryAbility
"
,
action
:
"
action1
"
,
parameters
:
{},
...
...
aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
浏览文件 @
549cb102
...
...
@@ -53,21 +53,8 @@ var bundleNameList = [
describe
(
'
ActsAmsCallBackSecondScene
'
,
function
()
{
console
.
info
(
'
----ActsAmsCallBackSecondScene----
'
);
beforeAll
(
async
function
(
done
)
{
await
featureAbility
.
startAbility
(
{
want
:
{
deviceId
:
""
,
bundleName
:
"
com.ohos.launcher
"
,
abilityName
:
"
com.ohos.launcher.MainAbility
"
,
action
:
"
action1
"
,
parameters
:
{},
},
},
);
var
maxnum
=
10
;
var
flag
=
1
;
var
flag
=
1
;
var
data
=
await
abilitymanager
.
queryRecentAbilityMissionInfos
(
maxnum
,
flag
);
console
.
log
(
'
queryRecentAbilityMissionInfos data
'
+
JSON
.
stringify
(
data
));
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
)
{
...
...
aafwk/aafwk_standard/abilitymanager/actsamscallbackthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
浏览文件 @
549cb102
...
...
@@ -51,21 +51,8 @@ var bundleNameList = [
describe
(
'
ActsAmsCallBackThirdScene
'
,
function
()
{
console
.
info
(
'
----ActsAmsCallBackThirdScene----
'
);
beforeAll
(
async
function
(
done
)
{
await
featureAbility
.
startAbility
(
{
want
:
{
deviceId
:
""
,
bundleName
:
"
com.ohos.launcher
"
,
abilityName
:
"
com.ohos.launcher.MainAbility
"
,
action
:
"
action1
"
,
parameters
:
{},
},
}
);
var
maxnum
=
10
;
var
flag
=
1
;
var
flag
=
1
;
var
data
=
await
abilitymanager
.
queryRecentAbilityMissionInfos
(
maxnum
,
flag
);
console
.
log
(
'
queryRecentAbilityMissionInfos data
'
+
JSON
.
stringify
(
data
));
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
)
{
...
...
@@ -88,19 +75,6 @@ describe('ActsAmsCallBackThirdScene', function () {
},
},
);
await
featureAbility
.
startAbility
(
{
want
:
{
deviceId
:
""
,
bundleName
:
"
com.ohos.launcher
"
,
abilityName
:
"
com.ohos.launcher.MainAbility
"
,
action
:
"
action1
"
,
parameters
:
{},
},
},
);
await
featureAbility
.
startAbility
(
{
want
:
...
...
aafwk/aafwk_standard/abilitymanager/actsamstestfifthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
浏览文件 @
549cb102
...
...
@@ -54,26 +54,8 @@ var bundleNameList = [
describe
(
'
ActsAmsTestFifthScene
'
,
function
()
{
console
.
info
(
'
----ActsAmsTestFifthScene----
'
);
beforeAll
(
async
function
(
done
)
{
await
featureAbility
.
startAbility
(
{
want
:
{
deviceId
:
""
,
bundleName
:
"
com.ohos.launcher
"
,
abilityName
:
"
com.ohos.launcher.MainAbility
"
,
action
:
"
action1
"
,
entities
:
[
"
entity1
"
],
type
:
"
MIMETYPE
"
,
uri
:
"
key={true,true,false}
"
,
options
:
{},
parameters
:
{},
},
},
);
var
maxnum
=
10
;
var
flag
=
1
;
var
flag
=
1
;
var
data
=
await
abilitymanager
.
queryRecentAbilityMissionInfos
(
maxnum
,
flag
);
console
.
log
(
'
queryRecentAbilityMissionInfos data
'
+
JSON
.
stringify
(
data
));
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
)
{
...
...
aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
浏览文件 @
549cb102
...
...
@@ -51,26 +51,8 @@ var bundleNameList = [
describe
(
'
ActsAmsTestFirstScene
'
,
function
()
{
console
.
info
(
'
----ActsAmsTestFirstScene----
'
);
beforeAll
(
async
function
(
done
)
{
await
featureAbility
.
startAbility
(
{
want
:
{
deviceId
:
""
,
bundleName
:
"
com.ohos.launcher
"
,
abilityName
:
"
com.ohos.launcher.MainAbility
"
,
action
:
"
action1
"
,
entities
:
[
"
entity1
"
],
type
:
"
MIMETYPE
"
,
uri
:
"
key={true,true,false}
"
,
options
:
{},
parameters
:
{},
},
},
);
var
maxnum
=
10
;
var
flag
=
1
;
var
flag
=
1
;
var
data
=
await
abilitymanager
.
queryRecentAbilityMissionInfos
(
maxnum
,
flag
);
console
.
log
(
'
queryRecentAbilityMissionInfos data
'
+
JSON
.
stringify
(
data
));
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
)
{
...
...
aafwk/aafwk_standard/abilitymanager/actsamstestfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
浏览文件 @
549cb102
...
...
@@ -56,26 +56,8 @@ var bundleNameList = [
describe
(
'
ActsAmsTestFourthScene
'
,
function
()
{
console
.
info
(
'
----ActsAmsTestFourthScene----
'
);
beforeAll
(
async
function
(
done
)
{
await
featureAbility
.
startAbility
(
{
want
:
{
deviceId
:
""
,
bundleName
:
"
com.ohos.launcher
"
,
abilityName
:
"
com.ohos.launcher.MainAbility
"
,
action
:
"
action1
"
,
entities
:
[
"
entity1
"
],
type
:
"
MIMETYPE
"
,
uri
:
"
key={true,true,false}
"
,
options
:
{},
parameters
:
{},
},
},
);
var
maxnum
=
10
;
var
flag
=
1
;
var
flag
=
1
;
var
data
=
await
abilitymanager
.
queryRecentAbilityMissionInfos
(
maxnum
,
flag
);
console
.
log
(
'
queryRecentAbilityMissionInfos data
'
+
JSON
.
stringify
(
data
));
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
)
{
...
...
@@ -145,7 +127,7 @@ describe('ActsAmsTestFourthScene', function () {
{
deviceId
:
""
,
bundleName
:
"
com.ix.simulate.entry
"
,
abilityName
:
"
com.example.SimulateEntryAbility
Fir
"
,
abilityName
:
"
com.example.SimulateEntryAbility
"
,
action
:
"
action1
"
,
entities
:
[
"
entity1
"
],
type
:
"
MIMETYPE
"
,
...
...
aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
浏览文件 @
549cb102
...
...
@@ -53,26 +53,8 @@ var bundleNameList = [
describe
(
'
ActsAmsTestSecondScene
'
,
function
()
{
console
.
info
(
'
----ActsAmsTestSecondScene----
'
);
beforeAll
(
async
function
(
done
)
{
await
featureAbility
.
startAbility
(
{
want
:
{
deviceId
:
""
,
bundleName
:
"
com.ohos.launcher
"
,
abilityName
:
"
com.ohos.launcher.MainAbility
"
,
action
:
"
action1
"
,
entities
:
[
"
entity1
"
],
type
:
"
MIMETYPE
"
,
uri
:
"
key={true,true,false}
"
,
options
:
{},
parameters
:
{},
},
},
);
var
maxnum
=
10
;
var
flag
=
1
;
var
flag
=
1
;
var
data
=
await
abilitymanager
.
queryRecentAbilityMissionInfos
(
maxnum
,
flag
);
console
.
log
(
'
queryRecentAbilityMissionInfos data
'
+
JSON
.
stringify
(
data
));
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
)
{
...
...
aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js
浏览文件 @
549cb102
...
...
@@ -53,26 +53,8 @@ describe('ActsAmsTestThirdScene', function () {
console
.
info
(
'
----ActsAmsTestThirdScene----
'
);
beforeAll
(
async
function
(
done
)
{
await
featureAbility
.
startAbility
(
{
want
:
{
deviceId
:
""
,
bundleName
:
"
com.ohos.launcher
"
,
abilityName
:
"
com.ohos.launcher.MainAbility
"
,
action
:
"
action1
"
,
entities
:
[
"
entity1
"
],
type
:
"
MIMETYPE
"
,
uri
:
"
key={true,true,false}
"
,
options
:
{},
parameters
:
{},
},
},
);
var
maxnum
=
10
;
var
flag
=
1
;
var
flag
=
1
;
var
data
=
await
abilitymanager
.
queryRecentAbilityMissionInfos
(
maxnum
,
flag
);
console
.
log
(
'
queryRecentAbilityMissionInfos data
'
+
JSON
.
stringify
(
data
));
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
)
{
...
...
@@ -100,24 +82,6 @@ describe('ActsAmsTestThirdScene', function () {
},
},
);
await
featureAbility
.
startAbility
(
{
want
:
{
deviceId
:
""
,
bundleName
:
"
com.ohos.launcher
"
,
abilityName
:
"
com.ohos.launcher.MainAbility
"
,
action
:
"
action1
"
,
entities
:
[
"
entity1
"
],
type
:
"
MIMETYPE
"
,
uri
:
"
key={true,true,false}
"
,
options
:
{},
parameters
:
{},
},
},
);
await
featureAbility
.
startAbility
(
{
want
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录