Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
870c925f
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看板
提交
870c925f
编写于
6月 22, 2022
作者:
C
chengxingzhen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix wantAgent testcase
Signed-off-by:
N
chengxingzhen
<
chengxingzhen@huawei.com
>
上级
2b1d75dd
变更
17
隐藏空白更改
内联
并排
Showing
17 changed file
with
73 addition
and
36 deletion
+73
-36
aafwk/aafwk_standard/abilitymultiinstance/amsabilitymultiinstancetest/Test.json
...bilitymultiinstance/amsabilitymultiinstancetest/Test.json
+1
-1
aafwk/aafwk_standard/actscalltest/systemcallentrytest/Test.json
...aafwk_standard/actscalltest/systemcallentrytest/Test.json
+1
-1
aafwk/aafwk_standard/actscalltest/thirdcalltest/Test.json
aafwk/aafwk_standard/actscalltest/thirdcalltest/Test.json
+1
-1
aafwk/aafwk_standard/actsusers/ActsAmsUsersKillProcessAppA/BUILD.gn
...k_standard/actsusers/ActsAmsUsersKillProcessAppA/BUILD.gn
+6
-2
aafwk/aafwk_standard/actsusers/ActsAmsUsersKillProcessAppB/BUILD.gn
...k_standard/actsusers/ActsAmsUsersKillProcessAppB/BUILD.gn
+6
-2
aafwk/aafwk_standard/actsusers/ActsAmsUsersKillProcessAppC/BUILD.gn
...k_standard/actsusers/ActsAmsUsersKillProcessAppC/BUILD.gn
+6
-2
aafwk/aafwk_standard/actsusers/actsserviceabilityrelytest/BUILD.gn
...wk_standard/actsusers/actsserviceabilityrelytest/BUILD.gn
+6
-2
aafwk/aafwk_standard/amscontextualinforquery/actsamsextensionmodulehap/BUILD.gn
...mscontextualinforquery/actsamsextensionmodulehap/BUILD.gn
+6
-2
aafwk/aafwk_standard/amscontextualinforquery/actsamsstaticextensioninfohap/BUILD.gn
...ntextualinforquery/actsamsstaticextensioninfohap/BUILD.gn
+6
-2
aafwk/aafwk_standard/amscontextualinforquery/actsamsstatichapa/BUILD.gn
...andard/amscontextualinforquery/actsamsstatichapa/BUILD.gn
+6
-2
aafwk/aafwk_standard/amscontextualinforquery/actsamsstatichapb/BUILD.gn
...andard/amscontextualinforquery/actsamsstatichapb/BUILD.gn
+6
-2
aafwk/aafwk_standard/amscontextualinforquery/actsamsstaticquerytesttwohap/BUILD.gn
...ontextualinforquery/actsamsstaticquerytesttwohap/BUILD.gn
+6
-2
aafwk/aafwk_standard/amsdisplayIdtest/actsamsstartabilitytest/entry/src/main/ets/test/Ability.test.ets
...startabilitytest/entry/src/main/ets/test/Ability.test.ets
+0
-2
aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js
...ytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js
+3
-8
aafwk/aafwk_standard/killprocesswithaccountstage/ActsKillProcessWithAccountRelyHap/BUILD.gn
...thaccountstage/ActsKillProcessWithAccountRelyHap/BUILD.gn
+6
-2
aafwk/aafwk_standard/non_concurrent/acts_systemappone_rely_test/BUILD.gn
...ndard/non_concurrent/acts_systemappone_rely_test/BUILD.gn
+6
-2
aafwk/aafwk_standard/zidltest/actsamszidlclienttest/Test.json
...k/aafwk_standard/zidltest/actsamszidlclienttest/Test.json
+1
-1
未找到文件。
aafwk/aafwk_standard/abilitymultiinstance/amsabilitymultiinstancetest/Test.json
浏览文件 @
870c925f
...
...
@@ -2,7 +2,7 @@
"description"
:
"Configuration for hjunit demo Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"
10
00000"
,
"test-timeout"
:
"
5
00000"
,
"package"
:
"com.example.abilitymultiinstance"
,
"shell-timeout"
:
"300000"
},
...
...
aafwk/aafwk_standard/actscalltest/systemcallentrytest/Test.json
浏览文件 @
870c925f
...
...
@@ -2,7 +2,7 @@
"description"
:
"Configuration for hjunit demo Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"
10
00000"
,
"test-timeout"
:
"
3
00000"
,
"package"
:
"com.example.systemcalltest"
,
"shell-timeout"
:
"60000"
},
...
...
aafwk/aafwk_standard/actscalltest/thirdcalltest/Test.json
浏览文件 @
870c925f
...
...
@@ -2,7 +2,7 @@
"description"
:
"Configuration for hjunit demo Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"100000
0
"
,
"test-timeout"
:
"100000"
,
"package"
:
"com.example.thirdcalltest"
,
"shell-timeout"
:
"60000"
},
...
...
aafwk/aafwk_standard/actsusers/ActsAmsUsersKillProcessAppA/BUILD.gn
浏览文件 @
870c925f
...
...
@@ -13,15 +13,19 @@
import("//test/xts/tools/build/suite.gni")
ohos_
js_hap_suite
("ActsAmsUsersKillProcessAppA") {
ohos_
hap
("ActsAmsUsersKillProcessAppA") {
hap_profile = "entry/src/main/module.json"
hap_name = "ActsAmsUsersKillProcessAppA"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":actsamsuserskillprocessappa_js_assets",
":actsamsuserskillprocessappa_resources",
]
ets2abc = true
certificate_profile = "signature/openharmony_sx.p7b"
hap_name = "ActsAmsUsersKillProcessAppA"
}
ohos_app_scope("actsamsuserskillprocessappa_app_profile") {
...
...
aafwk/aafwk_standard/actsusers/ActsAmsUsersKillProcessAppB/BUILD.gn
浏览文件 @
870c925f
...
...
@@ -13,15 +13,19 @@
import("//test/xts/tools/build/suite.gni")
ohos_
js_hap_suite
("ActsAmsUsersKillProcessAppB") {
ohos_
hap
("ActsAmsUsersKillProcessAppB") {
hap_profile = "entry/src/main/module.json"
hap_name = "ActsAmsUsersKillProcessAppB"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":actsamsuserskillprocessappb_js_assets",
":actsamsuserskillprocessappb_resources",
]
ets2abc = true
certificate_profile = "signature/openharmony_sx.p7b"
hap_name = "ActsAmsUsersKillProcessAppB"
}
ohos_app_scope("actsamsuserskillprocessappb_app_profile") {
...
...
aafwk/aafwk_standard/actsusers/ActsAmsUsersKillProcessAppC/BUILD.gn
浏览文件 @
870c925f
...
...
@@ -13,15 +13,19 @@
import("//test/xts/tools/build/suite.gni")
ohos_
js_hap_suite
("ActsAmsUsersKillProcessAppC") {
ohos_
hap
("ActsAmsUsersKillProcessAppC") {
hap_profile = "entry/src/main/module.json"
hap_name = "ActsAmsUsersKillProcessAppC"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":actsamsuserskillprocessappc_js_assets",
":actsamsuserskillprocessappc_resources",
]
ets2abc = true
certificate_profile = "signature/openharmony_sx.p7b"
hap_name = "ActsAmsUsersKillProcessAppC"
}
ohos_app_scope("actsamsuserskillprocessappc_app_profile") {
...
...
aafwk/aafwk_standard/actsusers/actsserviceabilityrelytest/BUILD.gn
浏览文件 @
870c925f
...
...
@@ -13,15 +13,19 @@
import("//test/xts/tools/build/suite.gni")
ohos_
js_hap_suite
("actsServiceAbilityRelyHap") {
ohos_
hap
("actsServiceAbilityRelyHap") {
hap_profile = "entry/src/main/module.json"
hap_name = "actsServiceAbilityRelyHap"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":actsserviceabilityrelytest_js_assets",
":actsserviceabilityrelytest_resources",
]
ets2abc = true
certificate_profile = "signature/openharmony_sx.p7b"
hap_name = "actsServiceAbilityRelyHap"
}
ohos_app_scope("actsserviceabilityrelytest_app_profile") {
...
...
aafwk/aafwk_standard/amscontextualinforquery/actsamsextensionmodulehap/BUILD.gn
浏览文件 @
870c925f
...
...
@@ -13,15 +13,19 @@
import("//test/xts/tools/build/suite.gni")
ohos_
js_hap_suite
("ActsAmsExtensionModuleRelyHap") {
ohos_
hap
("ActsAmsExtensionModuleRelyHap") {
hap_profile = "entry/src/main/module.json"
hap_name = "ActsAmsExtensionModuleRelyHap"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":actsamsextensionmodulerelyhap_js_assets",
":actsamsextensionmodulerelyhap_resources",
]
ets2abc = true
certificate_profile = "signature/openharmony_sx.p7b"
hap_name = "ActsAmsExtensionModuleRelyHap"
}
ohos_app_scope("actsamsextensionmodulerelyhap_app_profile") {
...
...
aafwk/aafwk_standard/amscontextualinforquery/actsamsstaticextensioninfohap/BUILD.gn
浏览文件 @
870c925f
...
...
@@ -13,15 +13,19 @@
import("//test/xts/tools/build/suite.gni")
ohos_
js_hap_suite
("ActsAmsStaticExtensionInfoRelyHap") {
ohos_
hap
("ActsAmsStaticExtensionInfoRelyHap") {
hap_profile = "entry/src/main/module.json"
hap_name = "ActsAmsStaticExtensionInfoRelyHap"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":actsamsstaticextensioninforelyhap_js_assets",
":actsamsstaticextensioninforelyhap_resources",
]
ets2abc = true
certificate_profile = "signature/openharmony_sx.p7b"
hap_name = "ActsAmsStaticExtensionInfoRelyHap"
}
ohos_app_scope("actsamsstaticextensioninforelyhap_app_profile") {
...
...
aafwk/aafwk_standard/amscontextualinforquery/actsamsstatichapa/BUILD.gn
浏览文件 @
870c925f
...
...
@@ -13,15 +13,19 @@
import("//test/xts/tools/build/suite.gni")
ohos_
js_hap_suite
("ActsAmsStaticARelyHap") {
ohos_
hap
("ActsAmsStaticARelyHap") {
hap_profile = "entry/src/main/module.json"
hap_name = "ActsAmsStaticARelyHap"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":actsamsstaticarelyhap_js_assets",
":actsamsstaticarelyhap_resources",
]
ets2abc = true
certificate_profile = "signature/openharmony_sx.p7b"
hap_name = "ActsAmsStaticARelyHap"
}
ohos_app_scope("actsamsstaticarelyhap_app_profile") {
...
...
aafwk/aafwk_standard/amscontextualinforquery/actsamsstatichapb/BUILD.gn
浏览文件 @
870c925f
...
...
@@ -13,15 +13,19 @@
import("//test/xts/tools/build/suite.gni")
ohos_
js_hap_suite
("ActsAmsStaticBRelyHap") {
ohos_
hap
("ActsAmsStaticBRelyHap") {
hap_profile = "entry/src/main/module.json"
hap_name = "ActsAmsStaticBRelyHap"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":actsamsstaticbrelyhap_js_assets",
":actsamsstaticbrelyhap_resources",
]
ets2abc = true
certificate_profile = "signature/openharmony_sx.p7b"
hap_name = "ActsAmsStaticBRelyHap"
}
ohos_app_scope("actsamsstaticbrelyhap_app_profile") {
...
...
aafwk/aafwk_standard/amscontextualinforquery/actsamsstaticquerytesttwohap/BUILD.gn
浏览文件 @
870c925f
...
...
@@ -13,15 +13,19 @@
import("//test/xts/tools/build/suite.gni")
ohos_
js_hap_suite
("ActsAmsStaticQueryTestTwoRelyHap") {
ohos_
hap
("ActsAmsStaticQueryTestTwoRelyHap") {
hap_profile = "entry/src/main/module.json"
hap_name = "ActsAmsStaticQueryTestTwoRelyHap"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":actsamsstaticquerytesttworelyhap_js_assets",
":actsamsstaticquerytesttworelyhap_resources",
]
ets2abc = true
certificate_profile = "signature/openharmony_sx.p7b"
hap_name = "ActsAmsStaticQueryTestTwoRelyHap"
}
ohos_app_scope("actsamsstaticquerytesttworelyhap_app_profile") {
...
...
aafwk/aafwk_standard/amsdisplayIdtest/actsamsstartabilitytest/entry/src/main/ets/test/Ability.test.ets
浏览文件 @
870c925f
...
...
@@ -74,8 +74,6 @@ export default function abilityTest(abilityContext) {
describe
(
'ActsGetDisplayIdStartAbilityTest'
,
function
()
{
afterEach
(
async
(
done
)
=>
{
let
installer
=
await
bundle
.
getBundleInstaller
();
var
count
=
0
;
var
testMissionId
;
testMissionId
=
await
getMissionId
();
...
...
aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js
浏览文件 @
870c925f
...
...
@@ -21,6 +21,7 @@ import wantAgent from '@ohos.wantAgent';
import
particleAbility
from
'
@ohos.ability.particleAbility
'
import
backgroundTaskManager
from
'
@ohos.backgroundTaskManager
'
const
CREATELOCALDIR
=
"
/data/storage/el2/base/haps/entry
"
;
const
START_ABILITY_TIMEOUT
=
4000
;
const
TERMINATE_ABILITY_TIMEOUT
=
1000
;
const
TIMEOUT
=
1000
;
...
...
@@ -1815,12 +1816,6 @@ describe('ActsFeatureAbilityTest', function () {
);
})
// checkGetOrCreateLocalDir
function
checkGetOrCreateLocalDir
(
info
)
{
console
.
log
(
"
checkGetOrCreateLocalDir root dir :
"
+
info
);
expect
(
typeof
(
info
)).
assertEqual
(
"
string
"
);
}
// @tc.number: ACTS_GetOrCreateLocalDir_0100
// @tc.name: GetProcessName : Obtains the name of the current process.
// @tc.desc: Check the return value of the interface (by promise)
...
...
@@ -1829,7 +1824,7 @@ describe('ActsFeatureAbilityTest', function () {
var
promise
=
context
.
getOrCreateLocalDir
();
expect
(
typeof
(
promise
)).
assertEqual
(
"
object
"
);
var
info
=
await
context
.
getOrCreateLocalDir
();
checkGetOrCreateLocalDir
(
info
);
expect
(
info
).
assertEqual
(
CREATELOCALDIR
);
done
();
setTimeout
(
function
()
{
console
.
info
(
'
====> ACTS_GetOrCreateLocalDir_0100 =====>
'
)
...
...
@@ -1843,7 +1838,7 @@ describe('ActsFeatureAbilityTest', function () {
var
context
=
featureAbility
.
getContext
();
var
result
=
context
.
getOrCreateLocalDir
(
(
err
,
data
)
=>
{
checkGetOrCreateLocalDir
(
data
);
expect
(
data
).
assertEqual
(
CREATELOCALDIR
);
done
()
}
);
...
...
aafwk/aafwk_standard/killprocesswithaccountstage/ActsKillProcessWithAccountRelyHap/BUILD.gn
浏览文件 @
870c925f
...
...
@@ -13,15 +13,19 @@
import("//test/xts/tools/build/suite.gni")
ohos_
js_hap_suite
("ActsKillProcessWithAccountRelyHap") {
ohos_
hap
("ActsKillProcessWithAccountRelyHap") {
hap_profile = "entry/src/main/module.json"
hap_name = "ActsKillProcessWithAccountRelyHap"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":actskillprocesswithaccountrelyhap_js_assets",
":actskillprocesswithaccountrelyhap_resources",
]
ets2abc = true
certificate_profile = "signature/openharmony_sx.p7b"
hap_name = "ActsKillProcessWithAccountRelyHap"
}
ohos_app_scope("actskillprocesswithaccountrelyhap_app_profile") {
...
...
aafwk/aafwk_standard/non_concurrent/acts_systemappone_rely_test/BUILD.gn
浏览文件 @
870c925f
...
...
@@ -13,15 +13,19 @@
import("//test/xts/tools/build/suite.gni")
ohos_
js_hap_suite
("ActsSystemAppOneRelyHap") {
ohos_
hap
("ActsSystemAppOneRelyHap") {
hap_profile = "entry/src/main/module.json"
hap_name = "ActsSystemAppOneRelyHap"
subsystem_name = XTS_SUITENAME
final_hap_path =
"${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap"
testonly = true
deps = [
":acts_systemappone_rely_test_js_assets",
":acts_systemappone_rely_test_resources",
]
ets2abc = true
certificate_profile = "signature/openharmony_sx.p7b"
hap_name = "ActsSystemAppOneRelyHap"
}
ohos_app_scope("acts_systemappone_rely_test_app_profile") {
...
...
aafwk/aafwk_standard/zidltest/actsamszidlclienttest/Test.json
浏览文件 @
870c925f
...
...
@@ -2,7 +2,7 @@
"description"
:
"Configuration for hjunit demo Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"
10
00000"
,
"test-timeout"
:
"
3
00000"
,
"package"
:
"com.example.zidlclienttest"
,
"shell-timeout"
:
"300000"
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录