diff --git a/accessControl/BUILD.gn b/accessControl/BUILD.gn deleted file mode 100644 index 4ed34438de79f09d94dbd7e12db436277d34b060..0000000000000000000000000000000000000000 --- a/accessControl/BUILD.gn +++ /dev/null @@ -1,23 +0,0 @@ -# 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", - ] - } -} diff --git a/security/BUILD.gn b/security/BUILD.gn index 79f2b644f189eed4d34f416a5e8b9c338867d96f..e83d5664cb300b7288458d1db68f792c8282d1be 100644 --- a/security/BUILD.gn +++ b/security/BUILD.gn @@ -17,6 +17,7 @@ group("security") { testonly = true if (is_standard_system) { deps = [ + "access_token/AccessTokenTest_Normal_js:ActsAccessTokenApiJSNormalTest", "cipher/datacipher:datacipher", "security_huks_basic", ] diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/BUILD.gn b/security/access_token/AccessTokenTest_Normal_js/BUILD.gn similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/BUILD.gn rename to security/access_token/AccessTokenTest_Normal_js/BUILD.gn diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/Test.json b/security/access_token/AccessTokenTest_Normal_js/Test.json similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/Test.json rename to security/access_token/AccessTokenTest_Normal_js/Test.json diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/signature/openharmony_sx.p7b b/security/access_token/AccessTokenTest_Normal_js/signature/openharmony_sx.p7b similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/signature/openharmony_sx.p7b rename to security/access_token/AccessTokenTest_Normal_js/signature/openharmony_sx.p7b diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/src/main/config.json b/security/access_token/AccessTokenTest_Normal_js/src/main/config.json similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/src/main/config.json rename to security/access_token/AccessTokenTest_Normal_js/src/main/config.json diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/app.js b/security/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/app.js similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/app.js rename to security/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/app.js diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/i18n/en-US.json b/security/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/i18n/en-US.json similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/i18n/en-US.json rename to security/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/i18n/en-US.json diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/i18n/zh-CN.json b/security/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/i18n/zh-CN.json similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/i18n/zh-CN.json rename to security/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/i18n/zh-CN.json diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/pages/index/index.css b/security/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/pages/index/index.css similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/pages/index/index.css rename to security/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/pages/index/index.css diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/pages/index/index.hml b/security/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/pages/index/index.hml similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/pages/index/index.hml rename to security/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/pages/index/index.hml diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/pages/index/index.js b/security/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/pages/index/index.js similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/pages/index/index.js rename to security/access_token/AccessTokenTest_Normal_js/src/main/js/MainAbility/pages/index/index.js diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/app.js b/security/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/app.js similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/app.js rename to security/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/app.js diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/i18n/en-US.json b/security/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/i18n/en-US.json similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/i18n/en-US.json rename to security/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/i18n/en-US.json diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/i18n/zh-CN.json b/security/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/i18n/zh-CN.json similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/i18n/zh-CN.json rename to security/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/i18n/zh-CN.json diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/pages/index/index.css b/security/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/pages/index/index.css similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/pages/index/index.css rename to security/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/pages/index/index.css diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/pages/index/index.hml b/security/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/pages/index/index.hml similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/pages/index/index.hml rename to security/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/pages/index/index.hml diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/pages/index/index.js b/security/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/pages/index/index.js similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/pages/index/index.js rename to security/access_token/AccessTokenTest_Normal_js/src/main/js/TestAbility/pages/index/index.js diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/TestRunner/OpenHarmonyTestRunner.js b/security/access_token/AccessTokenTest_Normal_js/src/main/js/TestRunner/OpenHarmonyTestRunner.js similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/TestRunner/OpenHarmonyTestRunner.js rename to security/access_token/AccessTokenTest_Normal_js/src/main/js/TestRunner/OpenHarmonyTestRunner.js diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/test/AccessToken.test.js b/security/access_token/AccessTokenTest_Normal_js/src/main/js/test/AccessToken.test.js similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/test/AccessToken.test.js rename to security/access_token/AccessTokenTest_Normal_js/src/main/js/test/AccessToken.test.js diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/test/List.test.js b/security/access_token/AccessTokenTest_Normal_js/src/main/js/test/List.test.js similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/src/main/js/test/List.test.js rename to security/access_token/AccessTokenTest_Normal_js/src/main/js/test/List.test.js diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/src/main/resources/base/element/string.json b/security/access_token/AccessTokenTest_Normal_js/src/main/resources/base/element/string.json similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/src/main/resources/base/element/string.json rename to security/access_token/AccessTokenTest_Normal_js/src/main/resources/base/element/string.json diff --git a/accessControl/access_token/AccessTokenTest_Normal_js/src/main/resources/base/media/icon.png b/security/access_token/AccessTokenTest_Normal_js/src/main/resources/base/media/icon.png similarity index 100% rename from accessControl/access_token/AccessTokenTest_Normal_js/src/main/resources/base/media/icon.png rename to security/access_token/AccessTokenTest_Normal_js/src/main/resources/base/media/icon.png diff --git a/test_packages.gni b/test_packages.gni index 4677bc656488f33395713e081019d986075456c9..b0d7aa0d3c3d0aa9a86fa72c48341c79710a77f5 100644 --- a/test_packages.gni +++ b/test_packages.gni @@ -17,7 +17,6 @@ _all_test_packages = [ "${ACTS_ROOT}/arkXtest:arkXtest", "${ACTS_ROOT}/global:global", "${ACTS_ROOT}/security:security", - "${ACTS_ROOT}/accessControl:accessControl", "${ACTS_ROOT}/useriam:useriam", "${ACTS_ROOT}/multimedia:multimedia", "${ACTS_ROOT}/bundlemanager:appexecfwk",