Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
a072ebc0
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看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
a072ebc0
编写于
3月 17, 2022
作者:
O
openharmony_ci
提交者:
Gitee
3月 17, 2022
浏览文件
操作
浏览文件
下载
差异文件
!2493 zip代码变更路径
Merge pull request !2493 from kirl75/update_release_0315_01
上级
b6369d87
11934342
变更
34
隐藏空白更改
内联
并排
Showing
34 changed file
with
177 addition
and
486 deletion
+177
-486
aafwk/aafwk_standard/BUILD.gn
aafwk/aafwk_standard/BUILD.gn
+0
-1
aafwk/aafwk_standard/amsZipfileUnzipfileST/.gitignore
aafwk/aafwk_standard/amsZipfileUnzipfileST/.gitignore
+0
-16
aafwk/aafwk_standard/amsZipfileUnzipfileST/.idea/.gitignore
aafwk/aafwk_standard/amsZipfileUnzipfileST/.idea/.gitignore
+0
-3
aafwk/aafwk_standard/amsZipfileUnzipfileST/.idea/compiler.xml
...k/aafwk_standard/amsZipfileUnzipfileST/.idea/compiler.xml
+0
-6
aafwk/aafwk_standard/amsZipfileUnzipfileST/.idea/gradle.xml
aafwk/aafwk_standard/amsZipfileUnzipfileST/.idea/gradle.xml
+0
-23
aafwk/aafwk_standard/amsZipfileUnzipfileST/.idea/jarRepositories.xml
..._standard/amsZipfileUnzipfileST/.idea/jarRepositories.xml
+0
-25
aafwk/aafwk_standard/amsZipfileUnzipfileST/.idea/misc.xml
aafwk/aafwk_standard/amsZipfileUnzipfileST/.idea/misc.xml
+0
-4
aafwk/aafwk_standard/amsZipfileUnzipfileST/entry/.gitignore
aafwk/aafwk_standard/amsZipfileUnzipfileST/entry/.gitignore
+0
-2
aafwk/aafwk_standard/amsZipfileUnzipfileST/entry/src/main/config.json
...standard/amsZipfileUnzipfileST/entry/src/main/config.json
+0
-92
aafwk/aafwk_standard/amsZipfileUnzipfileST/entry/src/main/js/default/app.js
...rd/amsZipfileUnzipfileST/entry/src/main/js/default/app.js
+0
-22
aafwk/aafwk_standard/amsZipfileUnzipfileST/entry/src/main/js/default/pages/index/index.css
...zipfileST/entry/src/main/js/default/pages/index/index.css
+0
-46
aafwk/aafwk_standard/amsZipfileUnzipfileST/entry/src/main/js/test/List.test.js
...amsZipfileUnzipfileST/entry/src/main/js/test/List.test.js
+0
-15
aafwk/aafwk_standard/amszipfileunzipfilest/entry/src/main/js/default/i18n/en-US.json
...fileunzipfilest/entry/src/main/js/default/i18n/en-US.json
+0
-6
aafwk/aafwk_standard/amszipfileunzipfilest/entry/src/main/js/default/i18n/zh-CN.json
...fileunzipfilest/entry/src/main/js/default/i18n/zh-CN.json
+0
-6
aafwk/aafwk_standard/amszipfileunzipfilest/entry/src/main/js/default/pages/index/index.hml
...zipfilest/entry/src/main/js/default/pages/index/index.hml
+0
-5
aafwk/aafwk_standard/amszipfileunzipfilest/entry/src/main/js/default/pages/index/index.js
...nzipfilest/entry/src/main/js/default/pages/index/index.js
+0
-46
aafwk/aafwk_standard/amszipfileunzipfilest/entry/src/main/js/resources/base/media/icon.png
...zipfilest/entry/src/main/js/resources/base/media/icon.png
+0
-0
aafwk/aafwk_standard/amszipfileunzipfilest/signature/openharmony_sx.p7b
...andard/amszipfileunzipfilest/signature/openharmony_sx.p7b
+0
-0
appexecfwk/BUILD.gn
appexecfwk/BUILD.gn
+1
-1
appexecfwk/zlib/BUILD.gn
appexecfwk/zlib/BUILD.gn
+9
-16
appexecfwk/zlib/actszipfileandunzipfiletest/BUILD.gn
appexecfwk/zlib/actszipfileandunzipfiletest/BUILD.gn
+2
-2
appexecfwk/zlib/actszipfileandunzipfiletest/Test.json
appexecfwk/zlib/actszipfileandunzipfiletest/Test.json
+18
-18
appexecfwk/zlib/actszipfileandunzipfiletest/entry/src/main/config.json
...ib/actszipfileandunzipfiletest/entry/src/main/config.json
+88
-92
appexecfwk/zlib/actszipfileandunzipfiletest/entry/src/main/js/default/app.js
...szipfileandunzipfiletest/entry/src/main/js/default/app.js
+22
-22
appexecfwk/zlib/actszipfileandunzipfiletest/entry/src/main/js/default/i18n/en-US.json
...ndunzipfiletest/entry/src/main/js/default/i18n/en-US.json
+0
-0
appexecfwk/zlib/actszipfileandunzipfiletest/entry/src/main/js/default/i18n/zh-CN.json
...ndunzipfiletest/entry/src/main/js/default/i18n/zh-CN.json
+0
-0
appexecfwk/zlib/actszipfileandunzipfiletest/entry/src/main/js/default/pages/index/index.css
...pfiletest/entry/src/main/js/default/pages/index/index.css
+9
-0
appexecfwk/zlib/actszipfileandunzipfiletest/entry/src/main/js/default/pages/index/index.hml
...pfiletest/entry/src/main/js/default/pages/index/index.hml
+1
-1
appexecfwk/zlib/actszipfileandunzipfiletest/entry/src/main/js/default/pages/index/index.js
...ipfiletest/entry/src/main/js/default/pages/index/index.js
+11
-12
appexecfwk/zlib/actszipfileandunzipfiletest/entry/src/main/js/resources/base/element/string.json
...test/entry/src/main/js/resources/base/element/string.json
+12
-0
appexecfwk/zlib/actszipfileandunzipfiletest/entry/src/main/js/resources/base/media/icon.png
...pfiletest/entry/src/main/js/resources/base/media/icon.png
+0
-0
appexecfwk/zlib/actszipfileandunzipfiletest/entry/src/main/js/test/List.test.js
...pfileandunzipfiletest/entry/src/main/js/test/List.test.js
+1
-1
appexecfwk/zlib/actszipfileandunzipfiletest/entry/src/main/js/test/actszipfileandunzipfiletest.test.js
...ntry/src/main/js/test/actszipfileandunzipfiletest.test.js
+3
-3
appexecfwk/zlib/actszipfileandunzipfiletest/signature/openharmony_sx.p7b
.../actszipfileandunzipfiletest/signature/openharmony_sx.p7b
+0
-0
未找到文件。
aafwk/aafwk_standard/BUILD.gn
浏览文件 @
a072ebc0
...
...
@@ -23,7 +23,6 @@ group("aafwk_standard") {
"ActsStServiceAbilityClientCaseTest:ActsStServiceAbilityClientCaseTest",
"abilitymanager:actsabilitymanagertest",
"actsabilitymanageretstest:ActsAbilityManagerEtsTest",
"amsZipfileUnzipfileST:ActsZlibTest",
"amsabilitymanager/amsMissionSnapshotTest:ActsAmsMissionSnapshotTest",
"amsabilitymanager/amsMissionSnapshotTestSingleton:ActsAmsMissionSnapshotTestSingleton",
"amsabilitymanager/amsMissionSnapshotTestSingletonS:ActsAmsMissionSnapshotTestSingletonS",
...
...
aafwk/aafwk_standard/amsZipfileUnzipfileST/.gitignore
已删除
100644 → 0
浏览文件 @
b6369d87
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
/entry/.preview
.cxx
/node_modules
aafwk/aafwk_standard/amsZipfileUnzipfileST/.idea/.gitignore
已删除
100644 → 0
浏览文件 @
b6369d87
# Default ignored files
/shelf/
/workspace.xml
aafwk/aafwk_standard/amsZipfileUnzipfileST/.idea/compiler.xml
已删除
100644 → 0
浏览文件 @
b6369d87
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"CompilerConfiguration"
>
<bytecodeTargetLevel
target=
"11"
/>
</component>
</project>
\ No newline at end of file
aafwk/aafwk_standard/amsZipfileUnzipfileST/.idea/gradle.xml
已删除
100644 → 0
浏览文件 @
b6369d87
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"GradleMigrationSettings"
migrationVersion=
"1"
/>
<component
name=
"GradleSettings"
>
<option
name=
"linkedExternalProjectsSettings"
>
<GradleProjectSettings>
<option
name=
"testRunner"
value=
"PLATFORM"
/>
<option
name=
"distributionType"
value=
"LOCAL"
/>
<option
name=
"externalProjectPath"
value=
"$PROJECT_DIR$"
/>
<option
name=
"gradleHome"
value=
"E:\DevEco Studio 3.0.0.800\tools\gradle"
/>
<option
name=
"gradleJvm"
value=
"#JAVA_INTERNAL"
/>
<option
name=
"modules"
>
<set>
<option
value=
"$PROJECT_DIR$"
/>
<option
value=
"$PROJECT_DIR$/entry"
/>
</set>
</option>
<option
name=
"resolveModulePerSourceSet"
value=
"false"
/>
<option
name=
"useQualifiedModuleNames"
value=
"false"
/>
</GradleProjectSettings>
</option>
</component>
</project>
\ No newline at end of file
aafwk/aafwk_standard/amsZipfileUnzipfileST/.idea/jarRepositories.xml
已删除
100644 → 0
浏览文件 @
b6369d87
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"RemoteRepositoriesConfiguration"
>
<remote-repository>
<option
name=
"id"
value=
"central"
/>
<option
name=
"name"
value=
"Maven Central repository"
/>
<option
name=
"url"
value=
"https://repo1.maven.org/maven2"
/>
</remote-repository>
<remote-repository>
<option
name=
"id"
value=
"jboss.community"
/>
<option
name=
"name"
value=
"JBoss Community repository"
/>
<option
name=
"url"
value=
"https://repository.jboss.org/nexus/content/repositories/public/"
/>
</remote-repository>
<remote-repository>
<option
name=
"id"
value=
"maven2"
/>
<option
name=
"name"
value=
"maven2"
/>
<option
name=
"url"
value=
"https://developer.huawei.com/repo/"
/>
</remote-repository>
<remote-repository>
<option
name=
"id"
value=
"maven"
/>
<option
name=
"name"
value=
"maven"
/>
<option
name=
"url"
value=
"https://repo.huaweicloud.com/repository/maven/"
/>
</remote-repository>
</component>
</project>
\ No newline at end of file
aafwk/aafwk_standard/amsZipfileUnzipfileST/.idea/misc.xml
已删除
100644 → 0
浏览文件 @
b6369d87
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_8"
default=
"true"
project-jdk-name=
"1.8"
project-jdk-type=
"JavaSDK"
/>
</project>
\ No newline at end of file
aafwk/aafwk_standard/amsZipfileUnzipfileST/entry/.gitignore
已删除
100644 → 0
浏览文件 @
b6369d87
/build
/node_modules
aafwk/aafwk_standard/amsZipfileUnzipfileST/entry/src/main/config.json
已删除
100644 → 0
浏览文件 @
b6369d87
{
"app"
:
{
"bundleName"
:
"com.example.amsZipfileUnzipfileST"
,
"vendor"
:
"example"
,
"version"
:
{
"code"
:
1000000
,
"name"
:
"1.0.0"
}
},
"deviceConfig"
:
{},
"module"
:
{
"package"
:
"com.example.amsZipfileUnzipfileST"
,
"name"
:
".MyApplication"
,
"mainAbility"
:
"com.example.amsZipfileUnzipfileST.MainAbility"
,
"deviceType"
:
[
"phone"
,
"tablet"
,
"tv"
,
"wearable"
],
"distro"
:
{
"deliveryWithInstall"
:
true
,
"moduleName"
:
"entry"
,
"moduleType"
:
"entry"
,
"installationFree"
:
false
},
"abilities"
:
[
{
"skills"
:
[
{
"entities"
:
[
"entity.system.home"
],
"actions"
:
[
"action.system.home"
]
}
],
"visible"
:
true
,
"name"
:
"com.example.amsZipfileUnzipfileST.MainAbility"
,
"icon"
:
"$media:icon"
,
"description"
:
"$string:mainability_description"
,
"label"
:
"$string:entry_MainAbility"
,
"type"
:
"page"
,
"launchType"
:
"standard"
}
],
"js"
:
[
{
"pages"
:
[
"pages/index/index"
],
"name"
:
"default"
,
"window"
:
{
"designWidth"
:
720
,
"autoDesignWidth"
:
true
}
}
],
"reqPermissions"
:
[
{
"name"
:
"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
,
"reason"
:
"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name"
:
"ohos.permission.INSTALL_BUNDLE"
,
"reason"
:
"need use ohos.permission.INSTALL_BUNDLE"
},
{
"name"
:
"ohos.permission.GET_BUNDLE_INFO"
,
"reason"
:
"need use ohos.permission.GET_BUNDLE_INFO"
},
{
"name"
:
" ohos.permission.MANAGE_MISSIONS"
,
"reason"
:
"need use ohos.permission.MANAGE_MISSIONS"
},
{
"name"
:
"ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
,
"reason"
:
"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
},
{
"name"
:
"ohos.permission.REMOVE_CACHE_FILES"
,
"reason"
:
"need use ohos.permission.REMOVE_CACHE_FILES"
},
{
"name"
:
"ohos.permission.LISTEN_BUNDLE_CHANGE"
,
"reason"
:
"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
}
]
}
}
\ No newline at end of file
aafwk/aafwk_standard/amsZipfileUnzipfileST/entry/src/main/js/default/app.js
已删除
100644 → 0
浏览文件 @
b6369d87
/*
* 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
'
);
}
};
aafwk/aafwk_standard/amsZipfileUnzipfileST/entry/src/main/js/default/pages/index/index.css
已删除
100644 → 0
浏览文件 @
b6369d87
.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
;
}
}
aafwk/aafwk_standard/amsZipfileUnzipfileST/entry/src/main/js/test/List.test.js
已删除
100644 → 0
浏览文件 @
b6369d87
/*
* 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.
*/
require
(
'
./ContextJsunit.test.js
'
)
aafwk/aafwk_standard/amszipfileunzipfilest/entry/src/main/js/default/i18n/en-US.json
已删除
100644 → 0
浏览文件 @
b6369d87
{
"strings"
:
{
"hello"
:
"Hello"
,
"world"
:
"World"
}
}
\ No newline at end of file
aafwk/aafwk_standard/amszipfileunzipfilest/entry/src/main/js/default/i18n/zh-CN.json
已删除
100644 → 0
浏览文件 @
b6369d87
{
"strings"
:
{
"hello"
:
"您好"
,
"world"
:
"世界"
}
}
\ No newline at end of file
aafwk/aafwk_standard/amszipfileunzipfilest/entry/src/main/js/default/pages/index/index.hml
已删除
100644 → 0
浏览文件 @
b6369d87
<div class="container">
<text class="title">
{{ $t('strings.hello') }} {{ title }}
</text>
</div>
aafwk/aafwk_standard/amszipfileunzipfilest/entry/src/main/js/default/pages/index/index.js
已删除
100644 → 0
浏览文件 @
b6369d87
/*
* 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
file
from
'
@system.file
'
import
{
Core
,
ExpectExtend
,
ReportExtend
}
from
'
deccjsunit/index
'
const
injecttRef
=
Object
.
getPrototypeOf
(
global
)
||
global
injecttRef
.
regeneratorRuntime
=
require
(
'
@babel/runtime/regenerator
'
)
export
default
{
data
:
{
title
:
""
},
onInit
()
{
this
.
title
=
this
.
$t
(
'
strings.world
'
);
},
onShow
()
{
console
.
info
(
'
onShow finish
'
)
const
core
=
Core
.
getInstance
()
const
expectExtend
=
new
ExpectExtend
({
'
id
'
:
'
extend
'
})
core
.
addService
(
'
expect
'
,
expectExtend
)
core
.
init
()
const
configService
=
core
.
getDefaultService
(
'
config
'
)
configService
.
setConfig
(
this
)
require
(
'
../../../test/List.test.js
'
)
core
.
execute
()
},
onReady
()
{
},
}
aafwk/aafwk_standard/amszipfileunzipfilest/entry/src/main/js/resources/base/media/icon.png
已删除
100644 → 0
浏览文件 @
b6369d87
6.6 KB
aafwk/aafwk_standard/amszipfileunzipfilest/signature/openharmony_sx.p7b
已删除
100644 → 0
浏览文件 @
b6369d87
文件已删除
appexecfwk/BUILD.gn
浏览文件 @
a072ebc0
...
...
@@ -18,7 +18,7 @@ group("appexecfwk") {
if (is_standard_system) {
deps = [
"bundle_standard:bundle_standard",
"zlib
/actszlibtest:ActsZlibTest
",
"zlib
:zlib
",
]
}
}
a
afwk/aafwk_standard/amszipfileunzipfilest
/BUILD.gn
→
a
ppexecfwk/zlib
/BUILD.gn
浏览文件 @
a072ebc0
...
...
@@ -11,21 +11,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//
test/xts/tools/build/suite
.gni")
import("//
build/ohos_var
.gni")
ohos_js_hap_suite("ActsZlibTest") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
":hjs_demo_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsZipZlibTest"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default"
}
ohos_resources("hjs_demo_resources") {
sources = [ "./entry/src/main/js/resources" ]
hap_profile = "./entry/src/main/config.json"
group("zlib") {
testonly = true
if (is_standard_system) {
deps = [
"actszipfileandunzipfiletest:actszipfileandunzipfiletest",
"actszlibtest:ActsZlibTest",
]
}
}
a
afwk/aafwk_standard/amsZipfileUnzipfileST
/BUILD.gn
→
a
ppexecfwk/zlib/actszipfileandunzipfiletest
/BUILD.gn
浏览文件 @
a072ebc0
...
...
@@ -13,14 +13,14 @@
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("
ActsZlibT
est") {
ohos_js_hap_suite("
actszipfileandunzipfilet
est") {
hap_profile = "./entry/src/main/config.json"
deps = [
":hjs_demo_js_assets",
":hjs_demo_resources",
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "
ActsZlibT
est"
hap_name = "
actszipfileandunzipfilet
est"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js/default"
...
...
a
afwk/aafwk_standard/amsZipfileUnzipfileST
/Test.json
→
a
ppexecfwk/zlib/actszipfileandunzipfiletest
/Test.json
浏览文件 @
a072ebc0
{
"description"
:
"Configuration for hjunit demo Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"60000"
,
"package"
:
"com.example.amsZipfileUnzipfileST"
,
"shell-timeout"
:
"60000"
},
"kits"
:
[
{
"test-file-name"
:
[
"
ActsZipZlibTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
}
]
}
{
"description"
:
"Configuration for hjunit demo Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"60000"
,
"package"
:
"com.example.amsZipfileUnzipfileST"
,
"shell-timeout"
:
"60000"
},
"kits"
:
[
{
"test-file-name"
:
[
"
actszipfileandunzipfiletest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
}
]
}
a
afwk/aafwk_standard/amszipfileunzipfil
est/entry/src/main/config.json
→
a
ppexecfwk/zlib/actszipfileandunzipfilet
est/entry/src/main/config.json
浏览文件 @
a072ebc0
{
"app"
:
{
"bundleName"
:
"com.example.amsZipfileUnzipfileST"
,
"vendor"
:
"example"
,
"version"
:
{
"code"
:
1000000
,
"name"
:
"1.0.0"
}
},
"deviceConfig"
:
{},
"module"
:
{
"package"
:
"com.example.amsZipfileUnzipfileST"
,
"name"
:
".MyApplication"
,
"mainAbility"
:
"com.example.amsZipfileUnzipfileST.MainAbility"
,
"deviceType"
:
[
"phone"
,
"tablet"
,
"tv"
,
"wearable"
],
"distro"
:
{
"deliveryWithInstall"
:
true
,
"moduleName"
:
"entry"
,
"moduleType"
:
"entry"
,
"installationFree"
:
false
},
"abilities"
:
[
{
"skills"
:
[
{
"entities"
:
[
"entity.system.home"
],
"actions"
:
[
"action.system.home"
]
}
],
"visible"
:
true
,
"name"
:
"com.example.amsZipfileUnzipfileST.MainAbility"
,
"icon"
:
"$media:icon"
,
"description"
:
"$string:mainability_description"
,
"label"
:
"$string:entry_MainAbility"
,
"type"
:
"page"
,
"launchType"
:
"standard"
}
],
"js"
:
[
{
"pages"
:
[
"pages/index/index"
],
"name"
:
"default"
,
"window"
:
{
"designWidth"
:
720
,
"autoDesignWidth"
:
true
}
}
],
"reqPermissions"
:
[
{
"name"
:
"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
,
"reason"
:
"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name"
:
"ohos.permission.INSTALL_BUNDLE"
,
"reason"
:
"need use ohos.permission.INSTALL_BUNDLE"
},
{
"name"
:
"ohos.permission.GET_BUNDLE_INFO"
,
"reason"
:
"need use ohos.permission.GET_BUNDLE_INFO"
},
{
"name"
:
" ohos.permission.MANAGE_MISSIONS"
,
"reason"
:
"need use ohos.permission.MANAGE_MISSIONS"
},
{
"name"
:
"ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
,
"reason"
:
"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
},
{
"name"
:
"ohos.permission.REMOVE_CACHE_FILES"
,
"reason"
:
"need use ohos.permission.REMOVE_CACHE_FILES"
},
{
"name"
:
"ohos.permission.LISTEN_BUNDLE_CHANGE"
,
"reason"
:
"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
}
]
}
}
\ No newline at end of file
{
"app"
:
{
"bundleName"
:
"com.example.amsZipfileUnzipfileST"
,
"vendor"
:
"example"
,
"version"
:
{
"code"
:
1
,
"name"
:
"1.0"
},
"apiVersion"
:
{
"compatible"
:
4
,
"target"
:
5
,
"releaseType"
:
"Beta1"
}
},
"deviceConfig"
:
{},
"module"
:
{
"package"
:
"com.example.amsZipfileUnzipfileST"
,
"name"
:
".MyApplication"
,
"deviceType"
:
[
"phone"
],
"distro"
:
{
"deliveryWithInstall"
:
true
,
"moduleName"
:
"entry"
,
"moduleType"
:
"entry"
},
"abilities"
:
[
{
"skills"
:
[
{
"entities"
:
[
"entity.system.home"
,
"flag.home.intent.from.system"
],
"actions"
:
[
"action.system.home"
]
}
],
"name"
:
"com.example.amsZipfileUnzipfileST.MainAbility"
,
"icon"
:
"$media:icon"
,
"description"
:
"$string:mainability_description"
,
"label"
:
"$string:app_name"
,
"type"
:
"page"
,
"launchType"
:
"standard"
,
"visible"
:
true
}
],
"reqPermissions"
:
[
{
"name"
:
"ohos.permission.INSTALL_BUNDLE"
,
"reason"
:
"need use ohos.permission.INSTALL_BUNDLE"
},
{
"name"
:
"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
,
"reason"
:
"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name"
:
"ohos.permission.GET_BUNDLE_INFO"
,
"reason"
:
"need use ohos.permission.GET_BUNDLE_INFO"
},
{
"name"
:
"ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
,
"reason"
:
"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
},
{
"name"
:
"ohos.permission.REMOVE_CACHE_FILES"
,
"reason"
:
"need use ohos.permission.REMOVE_CACHE_FILES"
},
{
"name"
:
"ohos.permission.LISTEN_BUNDLE_CHANGE"
,
"reason"
:
"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
}
],
"js"
:
[
{
"pages"
:
[
"pages/index/index"
],
"name"
:
"default"
,
"window"
:
{
"designWidth"
:
720
,
"autoDesignWidth"
:
false
}
}
]
}
}
a
afwk/aafwk_standard/amszipfileunzipfil
est/entry/src/main/js/default/app.js
→
a
ppexecfwk/zlib/actszipfileandunzipfilet
est/entry/src/main/js/default/app.js
浏览文件 @
a072ebc0
/*
* 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
'
);
}
};
/*
* 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
'
);
}
};
a
afwk/aafwk_standard/amsZipfileUnzipfileST
/entry/src/main/js/default/i18n/en-US.json
→
a
ppexecfwk/zlib/actszipfileandunzipfiletest
/entry/src/main/js/default/i18n/en-US.json
浏览文件 @
a072ebc0
文件已移动
a
afwk/aafwk_standard/amsZipfileUnzipfileST
/entry/src/main/js/default/i18n/zh-CN.json
→
a
ppexecfwk/zlib/actszipfileandunzipfiletest
/entry/src/main/js/default/i18n/zh-CN.json
浏览文件 @
a072ebc0
文件已移动
appexecfwk/zlib/actszipfileandunzipfiletest/entry/src/main/js/default/pages/index/index.css
0 → 100644
浏览文件 @
a072ebc0
.container
{
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
center
;
}
.title
{
font-size
:
100px
;
}
a
afwk/aafwk_standard/amsZipfileUnzipfileST
/entry/src/main/js/default/pages/index/index.hml
→
a
ppexecfwk/zlib/actszipfileandunzipfiletest
/entry/src/main/js/default/pages/index/index.hml
浏览文件 @
a072ebc0
<div class="container">
<text class="title">
{{
$t('strings.hello') }} {{
title }}
{{ title }}
</text>
</div>
a
afwk/aafwk_standard/amsZipfileUnzipfileST
/entry/src/main/js/default/pages/index/index.js
→
a
ppexecfwk/zlib/actszipfileandunzipfiletest
/entry/src/main/js/default/pages/index/index.js
浏览文件 @
a072ebc0
/*
* Copyright (
C
) 2021 Huawei Device Co., Ltd.
* 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
...
...
@@ -12,35 +12,34 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
file
from
'
@system.file
'
import
{
Core
,
ExpectExtend
,
ReportExtend
}
from
'
deccjsunit/index
'
import
{
Core
,
ExpectExtend
}
from
'
deccjsunit/index
'
const
inject
t
Ref
=
Object
.
getPrototypeOf
(
global
)
||
global
inject
t
Ref
.
regeneratorRuntime
=
require
(
'
@babel/runtime/regenerator
'
)
const
injectRef
=
Object
.
getPrototypeOf
(
global
)
||
global
injectRef
.
regeneratorRuntime
=
require
(
'
@babel/runtime/regenerator
'
)
export
default
{
export
default
{
data
:
{
title
:
""
title
:
'
Test MetaData
'
},
onInit
()
{
this
.
title
=
this
.
$t
(
'
strings.world
'
)
;
this
.
title
=
'
zip and unzip
'
;
},
onShow
()
{
console
.
info
(
'
on
Show
finish
'
)
console
.
info
(
'
on
Ready
finish
'
)
const
core
=
Core
.
getInstance
()
const
expectExtend
=
new
ExpectExtend
({
'
id
'
:
'
extend
'
})
core
.
addService
(
'
expect
'
,
expectExtend
)
core
.
init
()
const
configService
=
core
.
getDefaultService
(
'
config
'
)
configService
.
setConfig
(
this
)
require
(
'
../../../test/List.test
.js
'
)
require
(
'
../../../test/List.test
'
)
core
.
execute
()
},
onReady
()
{
},
onBackPress
(){
}
}
a
afwk/aafwk_standard/amsZipfileUnzipfileST
/entry/src/main/js/resources/base/element/string.json
→
a
ppexecfwk/zlib/actszipfileandunzipfiletest
/entry/src/main/js/resources/base/element/string.json
浏览文件 @
a072ebc0
{
"string"
:
[
{
"name"
:
"
entry_MainAbility
"
,
"value"
:
"
entry_MainAbility
"
"name"
:
"
app_name
"
,
"value"
:
"
actsbmsmetadatatest
"
},
{
"name"
:
"mainability_description"
,
"value"
:
"JS_
Empty
Ability"
"value"
:
"JS_
Phone_Empty Feature
Ability"
}
]
}
\ No newline at end of file
a
afwk/aafwk_standard/amsZipfileUnzipfileST
/entry/src/main/js/resources/base/media/icon.png
→
a
ppexecfwk/zlib/actszipfileandunzipfiletest
/entry/src/main/js/resources/base/media/icon.png
浏览文件 @
a072ebc0
文件已移动
a
afwk/aafwk_standard/amszipfileunzipfil
est/entry/src/main/js/test/List.test.js
→
a
ppexecfwk/zlib/actszipfileandunzipfilet
est/entry/src/main/js/test/List.test.js
浏览文件 @
a072ebc0
...
...
@@ -12,4 +12,4 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
require
(
'
./
ContextJsuni
t.test.js
'
)
require
(
'
./
actszipfileandunzipfiletes
t.test.js
'
)
a
afwk/aafwk_standard/amsZipfileUnzipfileST/entry/src/main/js/test/ContextJsuni
t.test.js
→
a
ppexecfwk/zlib/actszipfileandunzipfiletest/entry/src/main/js/test/actszipfileandunzipfiletes
t.test.js
浏览文件 @
a072ebc0
...
...
@@ -1539,7 +1539,7 @@ it('ACTS_ZipFile_2600', 0, async function (done) {
});
try
{
var
options
=
{};
options
.
memLevel
=
zlib
.
MemLevel
.
MEM_LEVEL_MIN
_MEMLEVEL
;
options
.
memLevel
=
zlib
.
MemLevel
.
MEM_LEVEL_MIN
;
await
zlib
.
zipFile
(
path
,
zipDest
,
options
,
(
err
,
data
)
=>
{
var
zipStat
=
fileio
.
statSync
(
zipDest
);
...
...
@@ -1604,7 +1604,7 @@ it('ACTS_ZipFile_2700', 0, async function (done) {
});
try
{
var
options
=
{};
options
.
memLevel
=
zlib
.
MemLevel
.
MEM_LEVEL_MAX
_MEMLEVEL
;
options
.
memLevel
=
zlib
.
MemLevel
.
MEM_LEVEL_MAX
;
await
zlib
.
zipFile
(
path
,
zipDest
,
options
,
(
err
,
data
)
=>
{
var
zipStat
=
fileio
.
statSync
(
zipDest
);
...
...
@@ -1669,7 +1669,7 @@ it('ACTS_ZipFile_2800', 0, async function (done) {
});
try
{
var
options
=
{};
options
.
memLevel
=
zlib
.
MemLevel
.
MEM_LEVEL_DEFAULT
_MEMLEVEL
;
options
.
memLevel
=
zlib
.
MemLevel
.
MEM_LEVEL_DEFAULT
;
await
zlib
.
zipFile
(
path
,
zipDest
,
options
,
(
err
,
data
)
=>
{
var
zipStat
=
fileio
.
statSync
(
zipDest
);
...
...
a
afwk/aafwk_standard/amsZipfileUnzipfileST
/signature/openharmony_sx.p7b
→
a
ppexecfwk/zlib/actszipfileandunzipfiletest
/signature/openharmony_sx.p7b
浏览文件 @
a072ebc0
无法预览此类型文件
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录