未验证 提交 ff7e0ecc 编写于 作者: O openharmony_ci 提交者: Gitee

!5446 程序访问控制xts从security迁出

Merge pull request !5446 from cc_ggboy/master
# Copyright (C) 2022 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//build/ohos_var.gni")
import("//test/xts/tools/build/suite.gni")
group("accessControl") {
testonly = true
if (is_standard_system) {
deps = [
"access_token/AccessTokenTest_Normal_js:ActsAccessTokenApiJSNormalTest",
]
}
}
# Copyright (C) 2021 Huawei Device Co., Ltd. # Copyright (C) 2022 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
# You may obtain a copy of the License at # You may obtain a copy of the License at
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
......
/* /*
* Copyright (C) 2021 Huawei Device Co., Ltd. * Copyright (C) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
......
/* /*
* Copyright (C) 2021 Huawei Device Co., Ltd. * Copyright (C) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
......
/* /*
* Copyright (C) 2021 Huawei Device Co., Ltd. * Copyright (C) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except compliance with the License. * you may not use this file except compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
...@@ -47,7 +47,6 @@ describe('AccessTokenTest', function () { ...@@ -47,7 +47,6 @@ describe('AccessTokenTest', function () {
tokenID = appInfo.accessTokenId; tokenID = appInfo.accessTokenId;
console.info("AccessTokenTest accessTokenId:" + appInfo.accessTokenId + ", name:" + appInfo.name console.info("AccessTokenTest accessTokenId:" + appInfo.accessTokenId + ", name:" + appInfo.name
+ ", bundleName:" + appInfo.bundleName) + ", bundleName:" + appInfo.bundleName)
// setTimeout(done(),TIMEOUT);
console.info("sleep begin"); console.info("sleep begin");
sleep(TIMEOUT); sleep(TIMEOUT);
......
/* /*
* Copyright (C) 2021 Huawei Device Co., Ltd. * Copyright (C) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except compliance with the License. * you may not use this file except compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
......
...@@ -17,7 +17,6 @@ group("security") { ...@@ -17,7 +17,6 @@ group("security") {
testonly = true testonly = true
if (is_standard_system) { if (is_standard_system) {
deps = [ deps = [
"access_token/AccessTokenTest_Normal_js:ActsAccessTokenApiJSNormalTest",
"cipher/datacipher:datacipher", "cipher/datacipher:datacipher",
"security_huks_basic", "security_huks_basic",
] ]
......
...@@ -17,6 +17,7 @@ _all_test_packages = [ ...@@ -17,6 +17,7 @@ _all_test_packages = [
"${ACTS_ROOT}/arkXtest:arkXtest", "${ACTS_ROOT}/arkXtest:arkXtest",
"${ACTS_ROOT}/global:global", "${ACTS_ROOT}/global:global",
"${ACTS_ROOT}/security:security", "${ACTS_ROOT}/security:security",
"${ACTS_ROOT}/accessControl:accessControl",
"${ACTS_ROOT}/useriam:useriam", "${ACTS_ROOT}/useriam:useriam",
"${ACTS_ROOT}/multimedia:multimedia", "${ACTS_ROOT}/multimedia:multimedia",
"${ACTS_ROOT}/bundlemanager:appexecfwk", "${ACTS_ROOT}/bundlemanager:appexecfwk",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册