Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
31d09a4b
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看板
提交
31d09a4b
编写于
5月 19, 2022
作者:
I
inter515
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改拼写错误'
Signed-off-by:
N
inter515
<
ry.renyi@huawei.com
>
上级
7497785f
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
21 addition
and
21 deletion
+21
-21
appexecfwk/bundle_standard/bundlemanager/actsbmsetsunpermissiontest/entry/src/main/ets/MainAbility/test/ActsBmsEtsUnPermissionTest.test.ets
.../ets/MainAbility/test/ActsBmsEtsUnPermissionTest.test.ets
+8
-8
appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/MainAbility/test/GetabilityInfo.test.ets
...try/src/main/ets/MainAbility/test/GetabilityInfo.test.ets
+11
-11
appexecfwk/zlib/actszipfileandunzipfiletest/entry/src/main/js/test/actszipfileandunzipfiletest.test.js
...ntry/src/main/js/test/actszipfileandunzipfiletest.test.js
+1
-1
appexecfwk/zlib/actszlibtest/ActsZlibTest.cpp
appexecfwk/zlib/actszlibtest/ActsZlibTest.cpp
+1
-1
未找到文件。
appexecfwk/bundle_standard/bundlemanager/actsbmsetsunpermissiontest/entry/src/main/ets/MainAbility/test/ActsBmsEtsUnPermissionTest.test.ets
浏览文件 @
31d09a4b
...
...
@@ -204,15 +204,15 @@ export default function actsBmsJsUnPermissionTest() {
expect
(
data
.
descriptionId
)
.
assertLarger
(
0
);
expect
(
data
.
formEnabled
)
.
assertEqual
(
false
);
expect
(
data
.
iconId
)
.
assertLarger
(
0
);
ex
cep
t
(
data
.
labelId
)
.
assertLarger
(
0
);
ex
pec
t
(
data
.
labelId
)
.
assertLarger
(
0
);
expect
(
data
.
subType
)
.
assertEqual
(
0
);
ex
cep
t
(
data
.
enabled
)
.
assertEqual
(
true
);
ex
pec
t
(
data
.
enabled
)
.
assertEqual
(
true
);
expect
(
data
.
readPermission
)
.
assertEqual
(
""
);
expect
(
data
.
writePermission
)
.
assertEqual
(
""
);
expect
(
data
.
targetAbility
)
.
assertEqual
(
""
);
expect
(
data
.
theme
)
.
assertEqual
(
""
);
expect
(
data
.
metaData
)
.
assertEqual
([]
);
expect
(
data
.
metadata
)
.
assertEqual
([]
);
expect
(
data
.
metaData
.
length
)
.
assertEqual
(
0
);
expect
(
data
.
metadata
.
length
)
.
assertEqual
(
0
);
checkApplicationInfo
(
data
.
applicationInfo
);
console
.
log
(
"---checkAbilityInfo_other End--- "
);
}
...
...
@@ -233,10 +233,10 @@ export default function actsBmsJsUnPermissionTest() {
expect
(
info
.
supportedModes
)
.
assertEqual
(
0
);
expect
(
info
.
process
)
.
assertEqual
(
""
);
expect
(
info
.
moduleSourceDirs
[
0
])
.
assertEqual
(
"/data/app/el1/bundle/public/com.example.actsbmsetsunpermissiontest/com.example.actsbmsetsunpermissiontest"
);
expect
(
info
.
metaData
)
.
expect
({}
);
expect
(
info
.
metadata
)
.
expect
({}
);
expect
(
info
.
enabled
)
.
expect
(
true
);
expect
(
info
.
flags
)
.
expect
(
0
);
expect
(
JSON
.
stringify
(
info
.
metadata
))
.
assertEqual
(
"{}"
);
expect
(
JSON
.
stringify
(
info
.
metadata
))
.
assertEqual
(
"{}"
);
expect
(
info
.
enabled
)
.
assertEqual
(
true
);
expect
(
info
.
flags
)
.
assertEqual
(
0
);
expect
(
info
.
uid
)
.
assertLarger
(
0
);
expect
(
info
.
entityType
)
.
assertEqual
(
"unspecified"
);
expect
(
info
.
removable
)
.
assertEqual
(
true
);
...
...
appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/MainAbility/test/GetabilityInfo.test.ets
浏览文件 @
31d09a4b
...
...
@@ -298,15 +298,15 @@ export default function GetabilityInfo() {
expect
(
data
.
descriptionId
)
.
assertLarger
(
0
);
expect
(
data
.
formEnabled
)
.
assertEqual
(
false
);
expect
(
data
.
iconId
)
.
assertLarger
(
0
);
ex
cep
t
(
data
.
labelId
)
.
assertLarger
(
0
);
ex
pec
t
(
data
.
labelId
)
.
assertLarger
(
0
);
expect
(
data
.
subType
)
.
assertEqual
(
0
);
ex
cep
t
(
data
.
enabled
)
.
assertEqual
(
true
);
ex
pec
t
(
data
.
enabled
)
.
assertEqual
(
true
);
expect
(
data
.
readPermission
)
.
assertEqual
(
""
);
expect
(
data
.
writePermission
)
.
assertEqual
(
""
);
expect
(
data
.
targetAbility
)
.
assertEqual
(
""
);
expect
(
data
.
theme
)
.
assertEqual
(
""
);
expect
(
data
.
metaData
)
.
assertEqual
([]
);
expect
(
data
.
metadata
)
.
assertEqual
([]
);
expect
(
data
.
metaData
.
length
)
.
assertEqual
(
0
);
expect
(
data
.
metadata
.
length
)
.
assertEqual
(
0
);
checkApplicationInfo_other
(
data
.
applicationInfo
);
console
.
log
(
"---checkAbilityInfo_other End--- "
);
}
...
...
@@ -321,15 +321,15 @@ export default function GetabilityInfo() {
expect
(
info
.
iconId
>
0
)
.
assertTrue
();
expect
(
info
.
label
)
.
assertEqual
(
"
$string
:app_name"
);
expect
(
info
.
labelId
>
0
)
.
assertTrue
();
expect
(
info
.
systemApp
)
.
assertEqual
(
tru
e
);
expect
(
info
.
entryDir
)
.
assertEqual
(
"/data/app/el1/bundle/public/com.
ohos.acecollaboration/com.ohos.acecollaboration
"
);
expect
(
info
.
systemApp
)
.
assertEqual
(
fals
e
);
expect
(
info
.
entryDir
)
.
assertEqual
(
"/data/app/el1/bundle/public/com.
example.third1/com.example.third1.entry
"
);
expect
(
info
.
supportedModes
)
.
assertEqual
(
0
);
expect
(
info
.
process
)
.
assertEqual
(
""
);
expect
(
info
.
moduleSourceDirs
[
0
])
.
assertEqual
(
"/data/app/el1/bundle/public/com.
ohos.acecollaboration/com.ohos.acecollaboration
"
);
expect
(
info
.
metaData
)
.
expect
({}
);
expect
(
info
.
metadata
)
.
expect
({}
);
expect
(
info
.
enabled
)
.
expect
(
true
);
expect
(
info
.
flags
)
.
expect
(
0
);
expect
(
info
.
moduleSourceDirs
[
0
])
.
assertEqual
(
"/data/app/el1/bundle/public/com.
example.third1/com.example.third1.entry
"
);
expect
(
JSON
.
stringify
(
info
.
metaData
))
.
assertEqual
(
"{}"
);
expect
(
JSON
.
stringify
(
info
.
metadata
))
.
assertEqual
(
"{}"
);
expect
(
info
.
enabled
)
.
assertEqual
(
true
);
expect
(
info
.
flags
)
.
assertEqual
(
0
);
expect
(
info
.
uid
)
.
assertLarger
(
0
);
expect
(
info
.
entityType
)
.
assertEqual
(
"unspecified"
);
expect
(
info
.
removable
)
.
assertEqual
(
true
);
...
...
appexecfwk/zlib/actszipfileandunzipfiletest/entry/src/main/js/test/actszipfileandunzipfiletest.test.js
浏览文件 @
31d09a4b
...
...
@@ -122,7 +122,7 @@ it('ACTS_ZipFile_0300', 0, async function (done) {
/*
* @tc.number: ACTS_ZipFile_0400
* @tc.name: zipFile
* @tc.desc: The ouput file is a directory that does not exist
* @tc.desc: The ou
t
put file is a directory that does not exist
*/
it
(
'
ACTS_ZipFile_0400
'
,
0
,
async
function
(
done
)
{
console
.
log
(
"
==================ACTS_ZipFile_0400 start==================
"
);
...
...
appexecfwk/zlib/actszlibtest/ActsZlibTest.cpp
浏览文件 @
31d09a4b
...
...
@@ -455,7 +455,7 @@ HWTEST_F(ActsZlibTest, ActsZlibTestSync, Function | MediumTest | Level2)
inflateSync
(
&
d_stream
);
inflate
(
&
d_stream
,
Z_FINISH
);
inflateEnd
(
&
d_stream
);
printf
(
"after inflateSync: hel%s
\n
"
,
reinterpret_cast
<
char
*>
(
uncompr
));
printf
(
"after inflateSync: hel
p
%s
\n
"
,
reinterpret_cast
<
char
*>
(
uncompr
));
free
(
compr
);
free
(
uncompr
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录