Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
afc95f8c
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看板
未验证
提交
afc95f8c
编写于
5月 27, 2022
作者:
O
openharmony_ci
提交者:
Gitee
5月 27, 2022
浏览文件
操作
浏览文件
下载
差异文件
!3318 basic和cipher命名规范整改
Merge pull request !3318 from 胡吉翔/security_20220526_5
上级
1c688540
255ff97f
变更
42
隐藏空白更改
内联
并排
Showing
42 changed file
with
43 addition
and
328 deletion
+43
-328
security/BUILD.gn
security/BUILD.gn
+1
-0
security/cipher/datacipher/BUILD.gn
security/cipher/datacipher/BUILD.gn
+1
-1
security/cipher/datacipher/cipher/BUILD.gn
security/cipher/datacipher/cipher/BUILD.gn
+2
-2
security/cipher/datacipher/cipher/Test.json
security/cipher/datacipher/cipher/Test.json
+2
-2
security/cipher/datacipher/cipher/entry/src/main/js/test/Agree/cipher1.test.js
...ipher/cipher/entry/src/main/js/test/Agree/cipher1.test.js
+2
-2
security/cipher/datacipher/cipher/entry/src/main/js/test/Agree/cipher2.test.js
...ipher/cipher/entry/src/main/js/test/Agree/cipher2.test.js
+2
-2
security/cipher/datacipher/cipher/entry/src/main/js/test/Agree/hitscipher.test.js
...er/cipher/entry/src/main/js/test/Agree/hitscipher.test.js
+3
-3
security/cipher/datacipher/cipher/entry/src/main/js/test/List.test.js
...her/datacipher/cipher/entry/src/main/js/test/List.test.js
+2
-0
security/cipher/datacipher2/BUILD.gn
security/cipher/datacipher2/BUILD.gn
+0
-20
security/cipher/datacipher2/cipher/BUILD.gn
security/cipher/datacipher2/cipher/BUILD.gn
+0
-30
security/cipher/datacipher2/cipher/Test.json
security/cipher/datacipher2/cipher/Test.json
+0
-18
security/cipher/datacipher2/cipher/entry/src/main/config.json
...rity/cipher/datacipher2/cipher/entry/src/main/config.json
+0
-64
security/cipher/datacipher2/cipher/entry/src/main/js/MainAbility/app.js
...r/datacipher2/cipher/entry/src/main/js/MainAbility/app.js
+0
-23
security/cipher/datacipher2/cipher/entry/src/main/js/MainAbility/i18n/en-US.json
...her2/cipher/entry/src/main/js/MainAbility/i18n/en-US.json
+0
-7
security/cipher/datacipher2/cipher/entry/src/main/js/MainAbility/i18n/zh-CN.json
...her2/cipher/entry/src/main/js/MainAbility/i18n/zh-CN.json
+0
-7
security/cipher/datacipher2/cipher/entry/src/main/js/MainAbility/pages/index/index.css
...ipher/entry/src/main/js/MainAbility/pages/index/index.css
+0
-46
security/cipher/datacipher2/cipher/entry/src/main/js/MainAbility/pages/index/index.hml
...ipher/entry/src/main/js/MainAbility/pages/index/index.hml
+0
-5
security/cipher/datacipher2/cipher/entry/src/main/js/MainAbility/pages/index/index.js
...cipher/entry/src/main/js/MainAbility/pages/index/index.js
+0
-40
security/cipher/datacipher2/cipher/entry/src/main/js/resources/base/element/string.json
...pher/entry/src/main/js/resources/base/element/string.json
+0
-12
security/cipher/datacipher2/cipher/entry/src/main/js/resources/base/media/icon.png
...r2/cipher/entry/src/main/js/resources/base/media/icon.png
+0
-0
security/cipher/datacipher2/cipher/entry/src/main/js/test/List.test.js
...er/datacipher2/cipher/entry/src/main/js/test/List.test.js
+0
-16
security/cipher/datacipher2/cipher/signature/openharmony_sx.p7b
...ty/cipher/datacipher2/cipher/signature/openharmony_sx.p7b
+0
-0
security/security_huks_basic/huks_agree_callback_BasicTest/BUILD.gn
...ecurity_huks_basic/huks_agree_callback_BasicTest/BUILD.gn
+1
-1
security/security_huks_basic/huks_agree_callback_BasicTest/Test.json
...curity_huks_basic/huks_agree_callback_BasicTest/Test.json
+1
-1
security/security_huks_basic/huks_agree_promise_BasicTest/BUILD.gn
...security_huks_basic/huks_agree_promise_BasicTest/BUILD.gn
+1
-1
security/security_huks_basic/huks_agree_promise_BasicTest/Test.json
...ecurity_huks_basic/huks_agree_promise_BasicTest/Test.json
+2
-2
security/security_huks_basic/huks_cipher_callback_BasicTest/BUILD.gn
...curity_huks_basic/huks_cipher_callback_BasicTest/BUILD.gn
+1
-1
security/security_huks_basic/huks_cipher_callback_BasicTest/Test.json
...urity_huks_basic/huks_cipher_callback_BasicTest/Test.json
+2
-2
security/security_huks_basic/huks_cipher_promise_BasicTest/BUILD.gn
...ecurity_huks_basic/huks_cipher_promise_BasicTest/BUILD.gn
+1
-1
security/security_huks_basic/huks_cipher_promise_BasicTest/Test.json
...curity_huks_basic/huks_cipher_promise_BasicTest/Test.json
+2
-2
security/security_huks_basic/huks_derive_callback_BasicTest/BUILD.gn
...curity_huks_basic/huks_derive_callback_BasicTest/BUILD.gn
+1
-1
security/security_huks_basic/huks_derive_callback_BasicTest/Test.json
...urity_huks_basic/huks_derive_callback_BasicTest/Test.json
+2
-2
security/security_huks_basic/huks_derive_promise_BasicTest/BUILD.gn
...ecurity_huks_basic/huks_derive_promise_BasicTest/BUILD.gn
+1
-1
security/security_huks_basic/huks_derive_promise_BasicTest/Test.json
...curity_huks_basic/huks_derive_promise_BasicTest/Test.json
+2
-2
security/security_huks_basic/huks_hmac_callback_BasicTest/BUILD.gn
...security_huks_basic/huks_hmac_callback_BasicTest/BUILD.gn
+1
-1
security/security_huks_basic/huks_hmac_callback_BasicTest/Test.json
...ecurity_huks_basic/huks_hmac_callback_BasicTest/Test.json
+2
-2
security/security_huks_basic/huks_hmac_promise_BasicTest/BUILD.gn
.../security_huks_basic/huks_hmac_promise_BasicTest/BUILD.gn
+1
-1
security/security_huks_basic/huks_hmac_promise_BasicTest/Test.json
...security_huks_basic/huks_hmac_promise_BasicTest/Test.json
+2
-2
security/security_huks_basic/huks_signverify_callback_BasicTest/BUILD.gn
...ty_huks_basic/huks_signverify_callback_BasicTest/BUILD.gn
+1
-1
security/security_huks_basic/huks_signverify_callback_BasicTest/Test.json
...y_huks_basic/huks_signverify_callback_BasicTest/Test.json
+1
-1
security/security_huks_basic/huks_signverify_promise_BasicTest/BUILD.gn
...ity_huks_basic/huks_signverify_promise_BasicTest/BUILD.gn
+1
-1
security/security_huks_basic/huks_signverify_promise_BasicTest/Test.json
...ty_huks_basic/huks_signverify_promise_BasicTest/Test.json
+2
-2
未找到文件。
security/BUILD.gn
浏览文件 @
afc95f8c
...
...
@@ -18,6 +18,7 @@ group("security") {
if (is_standard_system) {
deps = [
"access_token/AccessTokenTest_Normal_js:ActsAccessTokenJSApiTestNormal",
"cipher/datacipher:datacipher",
"huks_standard",
"security_huks_basic",
]
...
...
security/cipher/datacipher/BUILD.gn
浏览文件 @
afc95f8c
...
...
@@ -15,6 +15,6 @@ import("//test/xts/tools/build/suite.gni")
group("datacipher") {
testonly = true
if (is_standard_system) {
deps = [ "cipher:
Hi
tsSecurityCipherTest" ]
deps = [ "cipher:
Ac
tsSecurityCipherTest" ]
}
}
security/cipher/datacipher/cipher/BUILD.gn
浏览文件 @
afc95f8c
...
...
@@ -12,14 +12,14 @@
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("
Hi
tsSecurityCipherTest") {
ohos_js_hap_suite("
Ac
tsSecurityCipherTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":huks_js_assets",
":huks_js_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "
Hi
tsSecurityCipherTest"
hap_name = "
Ac
tsSecurityCipherTest"
}
ohos_js_assets("huks_js_assets") {
source_dir = "./entry/src/main/js/MainAbility"
...
...
security/cipher/datacipher/cipher/Test.json
浏览文件 @
afc95f8c
...
...
@@ -2,14 +2,14 @@
"description"
:
"Configuration for keystoretest js api Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"
42
00000"
,
"test-timeout"
:
"
3
00000"
,
"package"
:
"com.huawei.keystoretest"
,
"shell-timeout"
:
"60000"
},
"kits"
:
[
{
"test-file-name"
:
[
"
Hi
tsSecurityCipherTest.hap"
"
Ac
tsSecurityCipherTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
...
...
security/cipher/datacipher
2
/cipher/entry/src/main/js/test/Agree/cipher1.test.js
→
security/cipher/datacipher/cipher/entry/src/main/js/test/Agree/cipher1.test.js
浏览文件 @
afc95f8c
...
...
@@ -12,9 +12,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
deccjsunit/
lite/interface
'
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
deccjsunit/
index
'
import
cipher
from
'
@system.cipher
'
;
describe
(
'
hitscipher
.test.js
'
,
function
()
{
describe
(
'
cipher1
.test.js
'
,
function
()
{
let
plainTextRsa
;
let
cipherTextRsa
;
let
rsaPublicKey
;
...
...
security/cipher/datacipher
2
/cipher/entry/src/main/js/test/Agree/cipher2.test.js
→
security/cipher/datacipher/cipher/entry/src/main/js/test/Agree/cipher2.test.js
浏览文件 @
afc95f8c
...
...
@@ -12,9 +12,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
deccjsunit/
lite/interface
'
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
deccjsunit/
index
'
import
cipher
from
'
@system.cipher
'
;
describe
(
'
hitscipher
.test.js
'
,
function
()
{
describe
(
'
cipher2
.test.js
'
,
function
()
{
let
plainTextRsa
;
let
cipherTextRsa
;
let
rsaPublicKey
;
...
...
security/cipher/datacipher/cipher/entry/src/main/js/test/Agree/hitscipher.test.js
浏览文件 @
afc95f8c
/*
/*
plainTextAes
* 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.
...
...
@@ -19,7 +19,7 @@ describe('hitscipher.test.js', function () {
let
cipherTextRsa
;
let
rsaPublicKey
;
let
rsaPrivateKey
;
let
plainTe
s
tAes
;
let
plainTe
x
tAes
;
let
cipherTextAes
;
let
aesKey
;
let
cipherResultFail
;
...
...
@@ -44,7 +44,7 @@ describe('hitscipher.test.js', function () {
'
Zt8MkPdAh87mD8jdlsSzh3v2RxkbJTgzFmRotsd2dCfNdykYtRN5EBmbYM54GhBh
\n
'
+
'
dYZlnX92HHBDLRCL8y0CQQDuKZNoBooqVUwcrCFqpeAX/bGYiVmFxcIqyu5vYzVJ
\n
'
+
'
Ff5Fpkxm4FLmrjhiGwL1CKIm5RRL9kT6tsv4do6ALylb
'
;
plainTe
s
tAes
=
'
%%%%Hello,World! 123 aes key2###(^^^)
'
;
plainTe
x
tAes
=
'
%%%%Hello,World! 123 aes key2###(^^^)
'
;
cipherTextAes
=
'
IclkeCOt6pPODqNyprSZizYdJLBFLwXsEFJo34IJwZp7JmfQJXDbqGpexINBMke4
'
;
aesKey
=
'
MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjMONTY3ODkwMzI=
'
;
cipherResultFail
=
false
;
...
...
security/cipher/datacipher/cipher/entry/src/main/js/test/List.test.js
浏览文件 @
afc95f8c
...
...
@@ -14,3 +14,5 @@
*/
require
(
'
./Agree/hitscipher.test.js
'
);
require
(
'
./Agree/cipher1.test.js
'
);
require
(
'
./Agree/cipher2.test.js
'
);
security/cipher/datacipher2/BUILD.gn
已删除
100644 → 0
浏览文件 @
1c688540
# Copyright (C) 2021 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("//test/xts/tools/build/suite.gni")
group("datacipher2") {
testonly = true
if (is_standard_system) {
deps = [ "cipher:HitsSecurityCipherTest2" ]
}
}
security/cipher/datacipher2/cipher/BUILD.gn
已删除
100644 → 0
浏览文件 @
1c688540
# Copyright (C) 2021 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("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("HitsSecurityCipherTest2") {
hap_profile = "./entry/src/main/config.json"
deps = [
":huks_js_assets",
":huks_js_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "HitsSecurityCipherTest2"
}
ohos_js_assets("huks_js_assets") {
source_dir = "./entry/src/main/js/MainAbility"
}
ohos_resources("huks_js_resources") {
sources = [ "./entry/src/main/js/resources" ]
hap_profile = "./entry/src/main/config.json"
}
security/cipher/datacipher2/cipher/Test.json
已删除
100644 → 0
浏览文件 @
1c688540
{
"description"
:
"Configuration for keystoretest js api Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"4200000"
,
"package"
:
"com.huawei.keystoretest"
,
"shell-timeout"
:
"60000"
},
"kits"
:
[
{
"test-file-name"
:
[
"HitsSecurityCipherTest2.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
}
]
}
\ No newline at end of file
security/cipher/datacipher2/cipher/entry/src/main/config.json
已删除
100644 → 0
浏览文件 @
1c688540
{
"app"
:
{
"bundleName"
:
"com.huawei.keystoretest"
,
"vendor"
:
"huawei"
,
"version"
:
{
"code"
:
1
,
"name"
:
"1.0.0"
},
"apiVersion"
:
{
"compatible"
:
6
,
"target"
:
6
,
"releaseType"
:
"Beta1"
}
},
"deviceConfig"
:
{},
"module"
:
{
"package"
:
"com.huawei.keystoretest"
,
"name"
:
".MyApplication"
,
"mainAbility"
:
"com.huawei.keystoretest.MainAbility"
,
"deviceType"
:
[
"phone"
],
"distro"
:
{
"deliveryWithInstall"
:
true
,
"moduleName"
:
"entry"
,
"moduleType"
:
"entry"
,
"installationFree"
:
true
},
"abilities"
:
[
{
"skills"
:
[
{
"entities"
:
[
"entity.system.home"
],
"actions"
:
[
"action.system.home"
]
}
],
"name"
:
"com.huawei.keystoretest.MainAbility"
,
"icon"
:
"$media:icon"
,
"description"
:
"$string:mainability_description"
,
"label"
:
"$string:entry_MainAbility"
,
"type"
:
"page"
,
"launchType"
:
"standard"
,
"visible"
:
true
,
"isVisible"
:
"true"
}
],
"js"
:
[
{
"pages"
:
[
"pages/index/index"
],
"name"
:
"default"
,
"window"
:
{
"designWidth"
:
720
,
"autoDesignWidth"
:
true
}
}
]
}
}
\ No newline at end of file
security/cipher/datacipher2/cipher/entry/src/main/js/MainAbility/app.js
已删除
100644 → 0
浏览文件 @
1c688540
/*
* Copyright (c) 2021 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.
*/
export
default
{
onCreate
()
{
console
.
info
(
'
AceApplication onCreate
'
);
},
onDestroy
()
{
console
.
info
(
'
AceApplication onDestroy
'
);
},
};
security/cipher/datacipher2/cipher/entry/src/main/js/MainAbility/i18n/en-US.json
已删除
100644 → 0
浏览文件 @
1c688540
{
"strings"
:
{
"hello"
:
"Hello"
,
"world"
:
"world"
,
"start"
:
"test start"
}
}
\ No newline at end of file
security/cipher/datacipher2/cipher/entry/src/main/js/MainAbility/i18n/zh-CN.json
已删除
100644 → 0
浏览文件 @
1c688540
{
"strings"
:
{
"hello"
:
"您好"
,
"world"
:
"世界"
,
"start"
:
"测试开始"
}
}
\ No newline at end of file
security/cipher/datacipher2/cipher/entry/src/main/js/MainAbility/pages/index/index.css
已删除
100644 → 0
浏览文件 @
1c688540
.container
{
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
center
;
width
:
100%
;
height
:
100%
;
}
.title
{
font-size
:
40px
;
color
:
#000000
;
opacity
:
0.9
;
}
@media
screen
and
(
device-type
:
tablet
)
and
(
orientation
:
landscape
)
{
.title
{
font-size
:
100px
;
}
}
@media
screen
and
(
device-type
:
wearable
)
{
.title
{
font-size
:
28px
;
color
:
#ffffff
;
}
}
@media
screen
and
(
device-type
:
tv
)
{
.container
{
background-image
:
url('/common/images/Wallpaper.png')
;
background-size
:
cover
;
background-repeat
:
no-repeat
;
background-position
:
center
;
}
.title
{
font-size
:
100px
;
color
:
#ffffff
;
}
}
@media
screen
and
(
device-type
:
phone
)
and
(
orientation
:
landscape
)
{
.title
{
font-size
:
60px
;
}
}
security/cipher/datacipher2/cipher/entry/src/main/js/MainAbility/pages/index/index.hml
已删除
100644 → 0
浏览文件 @
1c688540
<div class="container">
<text class="title" >
{{ $t('strings.hello') }} {{ title }}
</text>
</div>
\ No newline at end of file
security/cipher/datacipher2/cipher/entry/src/main/js/MainAbility/pages/index/index.js
已删除
100644 → 0
浏览文件 @
1c688540
/*
* Copyright (c) 2021 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
{
Core
,
ExpectExtend
}
from
'
deccjsunit/index
'
;
export
default
{
data
:
{
title
:
''
,
},
onInit
()
{
this
.
title
=
this
.
$t
(
'
strings.world
'
);
},
onShow
()
{
const
core
=
Core
.
getInstance
();
const
expectExtend
=
new
ExpectExtend
({
id
:
'
extend
'
,
});
core
.
addService
(
'
expect
'
,
expectExtend
);
core
.
init
();
const
configService
=
core
.
getDefaultService
(
'
config
'
);
this
.
timeout
=
1500000
;
configService
.
setConfig
(
this
);
console
.
log
(
'
test start
'
);
require
(
'
../../../test/List.test
'
);
core
.
execute
();
},
onReady
()
{},
};
security/cipher/datacipher2/cipher/entry/src/main/js/resources/base/element/string.json
已删除
100644 → 0
浏览文件 @
1c688540
{
"string"
:
[
{
"name"
:
"entry_MainAbility"
,
"value"
:
"entry_MainAbility"
},
{
"name"
:
"mainability_description"
,
"value"
:
"JS_Empty Ability"
}
]
}
\ No newline at end of file
security/cipher/datacipher2/cipher/entry/src/main/js/resources/base/media/icon.png
已删除
100644 → 0
浏览文件 @
1c688540
6.6 KB
security/cipher/datacipher2/cipher/entry/src/main/js/test/List.test.js
已删除
100644 → 0
浏览文件 @
1c688540
/*
* 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.
*/
require
(
'
./Agree/cipher1.test.js
'
);
security/cipher/datacipher2/cipher/signature/openharmony_sx.p7b
已删除
100644 → 0
浏览文件 @
1c688540
文件已删除
security/security_huks_basic/huks_agree_callback_BasicTest/BUILD.gn
浏览文件 @
afc95f8c
...
...
@@ -19,7 +19,7 @@ ohos_js_hap_suite("huksagree_callback_basic_js_test") {
":huks_js_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "
h
uksAgreeBasicCallbackJSApiTest"
hap_name = "
ActsH
uksAgreeBasicCallbackJSApiTest"
}
ohos_js_assets("huks_js_assets") {
source_dir = "./entry/src/main/js/MainAbility"
...
...
security/security_huks_basic/huks_agree_callback_BasicTest/Test.json
浏览文件 @
afc95f8c
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"
h
uksAgreeBasicCallbackJSApiTest.hap"
"
ActsH
uksAgreeBasicCallbackJSApiTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
...
...
security/security_huks_basic/huks_agree_promise_BasicTest/BUILD.gn
浏览文件 @
afc95f8c
...
...
@@ -19,7 +19,7 @@ ohos_js_hap_suite("huksagree_promise_basic_js_test") {
":huks_js_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "
h
uksAgreeBasicPromiseJSApiTest"
hap_name = "
ActsH
uksAgreeBasicPromiseJSApiTest"
}
ohos_js_assets("huks_js_assets") {
source_dir = "./entry/src/main/js/MainAbility"
...
...
security/security_huks_basic/huks_agree_promise_BasicTest/Test.json
浏览文件 @
afc95f8c
...
...
@@ -2,14 +2,14 @@
"description"
:
"Configuration for huksAgreeBasicPromise js api Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"
420
0000"
,
"test-timeout"
:
"
18
0000"
,
"package"
:
"com.example.huksagreebasicpromise"
,
"shell-timeout"
:
"60000"
},
"kits"
:
[
{
"test-file-name"
:
[
"
h
uksAgreeBasicPromiseJSApiTest.hap"
"
ActsH
uksAgreeBasicPromiseJSApiTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
...
...
security/security_huks_basic/huks_cipher_callback_BasicTest/BUILD.gn
浏览文件 @
afc95f8c
...
...
@@ -19,7 +19,7 @@ ohos_js_hap_suite("hukscipher_callback_basic_js_test") {
":huks_js_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "
h
uksCipherBasicCallbackJSApiTest"
hap_name = "
ActsH
uksCipherBasicCallbackJSApiTest"
}
ohos_js_assets("huks_js_assets") {
source_dir = "./entry/src/main/js/MainAbility"
...
...
security/security_huks_basic/huks_cipher_callback_BasicTest/Test.json
浏览文件 @
afc95f8c
...
...
@@ -2,14 +2,14 @@
"description"
:
"Configuration for huksCipherBasicCallback js api Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"
270
0000"
,
"test-timeout"
:
"
18
0000"
,
"package"
:
"com.example.hukscipherbasiccallback"
,
"shell-timeout"
:
"60000"
},
"kits"
:
[
{
"test-file-name"
:
[
"
h
uksCipherBasicCallbackJSApiTest.hap"
"
ActsH
uksCipherBasicCallbackJSApiTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
...
...
security/security_huks_basic/huks_cipher_promise_BasicTest/BUILD.gn
浏览文件 @
afc95f8c
...
...
@@ -19,7 +19,7 @@ ohos_js_hap_suite("hukscipher_promise_basic_js_test") {
":huks_js_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "
h
uksCipherBasicPromiseJSApiTest"
hap_name = "
ActsH
uksCipherBasicPromiseJSApiTest"
}
ohos_js_assets("huks_js_assets") {
source_dir = "./entry/src/main/js/MainAbility"
...
...
security/security_huks_basic/huks_cipher_promise_BasicTest/Test.json
浏览文件 @
afc95f8c
...
...
@@ -2,14 +2,14 @@
"description"
:
"Configuration for huksCipherBasicPromise js api Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"
270
0000"
,
"test-timeout"
:
"
18
0000"
,
"package"
:
"com.example.hukscipherbasicpromise"
,
"shell-timeout"
:
"60000"
},
"kits"
:
[
{
"test-file-name"
:
[
"
h
uksCipherBasicPromiseJSApiTest.hap"
"
ActsH
uksCipherBasicPromiseJSApiTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
...
...
security/security_huks_basic/huks_derive_callback_BasicTest/BUILD.gn
浏览文件 @
afc95f8c
...
...
@@ -19,7 +19,7 @@ ohos_js_hap_suite("huksderive_callback_basic_js_test") {
":huks_js_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "
h
uksDeriveBasicCallbackJSApiTest"
hap_name = "
ActsH
uksDeriveBasicCallbackJSApiTest"
}
ohos_js_assets("huks_js_assets") {
source_dir = "./entry/src/main/js/MainAbility"
...
...
security/security_huks_basic/huks_derive_callback_BasicTest/Test.json
浏览文件 @
afc95f8c
...
...
@@ -2,14 +2,14 @@
"description"
:
"Configuration for huksDeriveBasicCallback js api Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"
420
0000"
,
"test-timeout"
:
"
18
0000"
,
"package"
:
"com.example.huksderivebasiccallback"
,
"shell-timeout"
:
"60000"
},
"kits"
:
[
{
"test-file-name"
:
[
"
h
uksDeriveBasicCallbackJSApiTest.hap"
"
ActsH
uksDeriveBasicCallbackJSApiTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
...
...
security/security_huks_basic/huks_derive_promise_BasicTest/BUILD.gn
浏览文件 @
afc95f8c
...
...
@@ -19,7 +19,7 @@ ohos_js_hap_suite("huksderive_promise_basic_js_test") {
":huks_js_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "
h
uksDeriveBasicPromiseJSApiTest"
hap_name = "
ActsH
uksDeriveBasicPromiseJSApiTest"
}
ohos_js_assets("huks_js_assets") {
source_dir = "./entry/src/main/js/MainAbility"
...
...
security/security_huks_basic/huks_derive_promise_BasicTest/Test.json
浏览文件 @
afc95f8c
...
...
@@ -2,14 +2,14 @@
"description"
:
"Configuration for huksDeriveBasicPromise js api Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"
420
0000"
,
"test-timeout"
:
"
18
0000"
,
"package"
:
"com.example.huksderivebasicpromise"
,
"shell-timeout"
:
"60000"
},
"kits"
:
[
{
"test-file-name"
:
[
"
h
uksDeriveBasicPromiseJSApiTest.hap"
"
ActsH
uksDeriveBasicPromiseJSApiTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
...
...
security/security_huks_basic/huks_hmac_callback_BasicTest/BUILD.gn
浏览文件 @
afc95f8c
...
...
@@ -19,7 +19,7 @@ ohos_js_hap_suite("hukshmac_callback_basic_js_test") {
":huks_js_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "
h
uksHmacBasicCallbackJSApiTest"
hap_name = "
ActsH
uksHmacBasicCallbackJSApiTest"
}
ohos_js_assets("huks_js_assets") {
source_dir = "./entry/src/main/js/MainAbility"
...
...
security/security_huks_basic/huks_hmac_callback_BasicTest/Test.json
浏览文件 @
afc95f8c
...
...
@@ -2,14 +2,14 @@
"description"
:
"Configuration for huksHmacBasicCallback js api Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"
60
0000"
,
"test-timeout"
:
"
18
0000"
,
"package"
:
"com.example.huksHmacbasiccallback"
,
"shell-timeout"
:
"60000"
},
"kits"
:
[
{
"test-file-name"
:
[
"
h
uksHmacBasicCallbackJSApiTest.hap"
"
ActsH
uksHmacBasicCallbackJSApiTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
...
...
security/security_huks_basic/huks_hmac_promise_BasicTest/BUILD.gn
浏览文件 @
afc95f8c
...
...
@@ -19,7 +19,7 @@ ohos_js_hap_suite("hukshmac_promise_basic_js_test") {
":huks_js_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "
h
uksHmacBasicPromiseJSApiTest"
hap_name = "
ActsH
uksHmacBasicPromiseJSApiTest"
}
ohos_js_assets("huks_js_assets") {
source_dir = "./entry/src/main/js/MainAbility"
...
...
security/security_huks_basic/huks_hmac_promise_BasicTest/Test.json
浏览文件 @
afc95f8c
...
...
@@ -2,14 +2,14 @@
"description"
:
"Configuration for huksHmacBasicPromise js api Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"
60
0000"
,
"test-timeout"
:
"
18
0000"
,
"package"
:
"com.example.huksHmacbasicpromise"
,
"shell-timeout"
:
"60000"
},
"kits"
:
[
{
"test-file-name"
:
[
"
h
uksHmacBasicPromiseJSApiTest.hap"
"
ActsH
uksHmacBasicPromiseJSApiTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
...
...
security/security_huks_basic/huks_signverify_callback_BasicTest/BUILD.gn
浏览文件 @
afc95f8c
...
...
@@ -19,7 +19,7 @@ ohos_js_hap_suite("hukssignverify_callback_basic_js_test") {
":huks_js_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "
h
uksSignVerifyBasicCallbackJSApiTest"
hap_name = "
ActsH
uksSignVerifyBasicCallbackJSApiTest"
}
ohos_js_assets("huks_js_assets") {
source_dir = "./entry/src/main/js/MainAbility"
...
...
security/security_huks_basic/huks_signverify_callback_BasicTest/Test.json
浏览文件 @
afc95f8c
...
...
@@ -9,7 +9,7 @@
"kits"
:
[
{
"test-file-name"
:
[
"
h
uksSignVerifyBasicCallbackJSApiTest.hap"
"
ActsH
uksSignVerifyBasicCallbackJSApiTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
...
...
security/security_huks_basic/huks_signverify_promise_BasicTest/BUILD.gn
浏览文件 @
afc95f8c
...
...
@@ -19,7 +19,7 @@ ohos_js_hap_suite("hukssignverify_promise_basic_js_test") {
":huks_js_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "
h
uksSignVerifyBasicPromiseJSApiTest"
hap_name = "
ActsH
uksSignVerifyBasicPromiseJSApiTest"
}
ohos_js_assets("huks_js_assets") {
source_dir = "./entry/src/main/js/MainAbility"
...
...
security/security_huks_basic/huks_signverify_promise_BasicTest/Test.json
浏览文件 @
afc95f8c
...
...
@@ -2,14 +2,14 @@
"description"
:
"Configuration for huksSignVerifyBasicPromise js api Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"1
260
0000"
,
"test-timeout"
:
"1
8
0000"
,
"package"
:
"com.example.hukssignverifybasicpromise"
,
"shell-timeout"
:
"60000"
},
"kits"
:
[
{
"test-file-name"
:
[
"
h
uksSignVerifyBasicPromiseJSApiTest.hap"
"
ActsH
uksSignVerifyBasicPromiseJSApiTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录