Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
4bfba66e
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看板
未验证
提交
4bfba66e
编写于
7月 25, 2022
作者:
O
openharmony_ci
提交者:
Gitee
7月 25, 2022
浏览文件
操作
浏览文件
下载
差异文件
!4555 删除ts文件上不存在的属性
Merge pull request !4555 from ry/OpenHarmony-3.1-Release
上级
4ed3e297
97399902
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
0 addition
and
25 deletion
+0
-25
appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/entry/src/main/js/test/ActsBmsQueryAbilityByWant.test.js
.../entry/src/main/js/test/ActsBmsQueryAbilityByWant.test.js
+0
-1
appexecfwk/bundle_standard/bundlemanager/actsbmshapmoduletest/entry/src/main/js/test/ActsBmsHapModuleTest.test.js
...etest/entry/src/main/js/test/ActsBmsHapModuleTest.test.js
+0
-16
appexecfwk/bundle_standard/bundlemanager/actsbmsjstest/entry/src/main/js/test/ActsBmsJsTest.test.js
...ctsbmsjstest/entry/src/main/js/test/ActsBmsJsTest.test.js
+0
-3
appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/MainAbility/test/GetabilityInfo.test.ets
...try/src/main/ets/MainAbility/test/GetabilityInfo.test.ets
+0
-2
appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/MainAbility/test/getAllApplicationInfoJsunit.test.ets
...ets/MainAbility/test/getAllApplicationInfoJsunit.test.ets
+0
-1
appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/MainAbility/test/getApplicationInfoJsunit.test.ets
...in/ets/MainAbility/test/getApplicationInfoJsunit.test.ets
+0
-1
appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/test/ExampleJsunit.test.js
...emanagertest/entry/src/main/js/test/ExampleJsunit.test.js
+0
-1
未找到文件。
appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/entry/src/main/js/test/ActsBmsQueryAbilityByWant.test.js
浏览文件 @
4bfba66e
...
...
@@ -176,7 +176,6 @@ describe('ActsBmsQueryAbilityByWant', function () {
expect
(
data
.
writePermission
).
assertEqual
(
""
);
expect
(
data
.
targetAbility
).
assertEqual
(
""
);
expect
(
data
.
metaData
.
length
).
assertEqual
(
0
);
expect
(
data
.
metadata
.
length
).
assertEqual
(
0
);
expect
(
data
.
enabled
).
assertEqual
(
true
);
}
...
...
appexecfwk/bundle_standard/bundlemanager/actsbmshapmoduletest/entry/src/main/js/test/ActsBmsHapModuleTest.test.js
浏览文件 @
4bfba66e
...
...
@@ -52,10 +52,7 @@ describe('ActsBmsHapModuleTest', function () {
expect
(
hapModuleInfo
.
reqCapabilities
.
length
).
assertEqual
(
0
);
expect
(
hapModuleInfo
.
deviceTypes
[
0
]).
assertEqual
(
'
phone
'
);
expect
(
hapModuleInfo
.
mainAbilityName
).
assertEqual
(
FIRSTMAINABILITY
);
expect
(
hapModuleInfo
.
mainElementName
).
assertEqual
(
FIRSTMAINABILITY
);
expect
(
hapModuleInfo
.
abilityInfo
.
length
).
assertLarger
(
0
);
expect
(
hapModuleInfo
.
extensionAbilityInfo
.
length
).
assertEqual
(
0
);
expect
(
hapModuleInfo
.
metadata
.
length
).
assertEqual
(
0
);
expect
(
hapModuleInfo
.
installationFree
).
assertEqual
(
false
);
done
();
}
...
...
@@ -82,10 +79,8 @@ describe('ActsBmsHapModuleTest', function () {
expect
(
hapModuleInfo1
.
name
).
assertEqual
(
BUNDLE_NAME6
);
expect
(
hapModuleInfo
.
moduleName
).
assertEqual
(
'
entry
'
);
expect
(
hapModuleInfo
.
mainAbilityName
).
assertEqual
(
FIRSTMAINABILITY
);
expect
(
hapModuleInfo
.
mainElementName
).
assertEqual
(
FIRSTMAINABILITY
);
expect
(
hapModuleInfo1
.
moduleName
).
assertEqual
(
'
bmsmainabilitysecondscene
'
);
expect
(
hapModuleInfo1
.
mainAbilityName
).
assertEqual
(
SECONDMAINABILITY
);
expect
(
hapModuleInfo1
.
mainElementName
).
assertEqual
(
SECONDMAINABILITY
);
done
();
}
});
...
...
@@ -116,10 +111,7 @@ describe('ActsBmsHapModuleTest', function () {
expect
(
hapModuleInfo
.
reqCapabilities
.
length
).
assertEqual
(
0
);
expect
(
hapModuleInfo
.
deviceTypes
[
0
]).
assertEqual
(
'
phone
'
);
expect
(
hapModuleInfo
.
mainAbilityName
).
assertEqual
(
""
);
expect
(
hapModuleInfo
.
mainElementName
).
assertEqual
(
""
);
expect
(
hapModuleInfo
.
abilityInfo
.
length
).
assertLarger
(
0
);
expect
(
hapModuleInfo
.
extensionAbilityInfo
.
length
).
assertEqual
(
0
);
expect
(
hapModuleInfo
.
metadata
.
length
).
assertEqual
(
0
);
expect
(
hapModuleInfo
.
installationFree
).
assertEqual
(
false
);
done
();
}
...
...
@@ -151,10 +143,7 @@ describe('ActsBmsHapModuleTest', function () {
expect
(
hapModuleInfo
.
reqCapabilities
.
length
).
assertEqual
(
0
);
expect
(
hapModuleInfo
.
deviceTypes
[
0
]).
assertEqual
(
'
phone
'
);
expect
(
hapModuleInfo
.
mainAbilityName
).
assertEqual
(
"
com.example.third5.AMainAbility
"
);
expect
(
hapModuleInfo
.
mainElementName
).
assertEqual
(
"
com.example.third5.AMainAbility
"
);
expect
(
hapModuleInfo
.
abilityInfo
.
length
).
assertLarger
(
0
);
expect
(
hapModuleInfo
.
extensionAbilityInfo
.
length
).
assertEqual
(
0
);
expect
(
hapModuleInfo
.
metadata
.
length
).
assertEqual
(
0
);
expect
(
hapModuleInfo
.
installationFree
).
assertEqual
(
false
);
done
();
}
...
...
@@ -187,10 +176,7 @@ describe('ActsBmsHapModuleTest', function () {
expect
(
hapModuleInfo
.
reqCapabilities
.
length
).
assertEqual
(
0
);
expect
(
hapModuleInfo
.
deviceTypes
[
0
]).
assertEqual
(
'
phone
'
);
expect
(
hapModuleInfo
.
mainAbilityName
).
assertEqual
(
"
com.example.system1.MainAbility
"
);
expect
(
hapModuleInfo
.
mainElementName
).
assertEqual
(
"
com.example.system1.MainAbility
"
);
expect
(
hapModuleInfo
.
abilityInfo
.
length
).
assertLarger
(
0
);
expect
(
hapModuleInfo
.
extensionAbilityInfo
.
length
).
assertEqual
(
0
);
expect
(
hapModuleInfo
.
metadata
.
length
).
assertEqual
(
0
);
expect
(
hapModuleInfo
.
installationFree
).
assertEqual
(
false
);
}
done
();
...
...
@@ -208,8 +194,6 @@ describe('ActsBmsHapModuleTest', function () {
expect
(
info
.
reqCapabilities
.
length
).
assertEqual
(
0
);
expect
(
info
.
deviceTypes
[
0
]).
assertEqual
(
'
phone
'
);
expect
(
info
.
abilityInfo
.
length
).
assertLarger
(
0
);
expect
(
info
.
extensionAbilityInfo
.
length
).
assertEqual
(
0
);
expect
(
info
.
metadata
.
length
).
assertEqual
(
0
);
expect
(
info
.
installationFree
).
assertEqual
(
false
);
}
})
\ No newline at end of file
appexecfwk/bundle_standard/bundlemanager/actsbmsjstest/entry/src/main/js/test/ActsBmsJsTest.test.js
浏览文件 @
4bfba66e
...
...
@@ -74,7 +74,6 @@ describe('ActsBmsJsTest', function () {
expect
(
abilityInfo1
.
writePermission
).
assertEqual
(
""
);
expect
(
abilityInfo1
.
targetAbility
).
assertEqual
(
""
);
expect
(
abilityInfo1
.
metaData
.
length
).
assertEqual
(
0
);
expect
(
abilityInfo1
.
metadata
.
length
).
assertEqual
(
0
);
expect
(
abilityInfo1
.
enabled
).
assertEqual
(
true
);
}
done
();
...
...
@@ -148,7 +147,6 @@ describe('ActsBmsJsTest', function () {
expect
(
abilityInfo1
.
writePermission
).
assertEqual
(
""
);
expect
(
abilityInfo1
.
targetAbility
).
assertEqual
(
""
);
expect
(
abilityInfo1
.
metaData
.
length
).
assertEqual
(
0
);
expect
(
abilityInfo1
.
metadata
.
length
).
assertEqual
(
0
);
expect
(
abilityInfo1
.
enabled
).
assertEqual
(
true
);
}
done
();
...
...
@@ -191,7 +189,6 @@ describe('ActsBmsJsTest', function () {
expect
(
abilityInfo1
.
writePermission
).
assertEqual
(
""
);
expect
(
abilityInfo1
.
targetAbility
).
assertEqual
(
""
);
expect
(
abilityInfo1
.
metaData
.
length
).
assertEqual
(
0
);
expect
(
abilityInfo1
.
metadata
.
length
).
assertEqual
(
0
);
expect
(
abilityInfo1
.
enabled
).
assertEqual
(
true
);
}
done
();
...
...
appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/MainAbility/test/GetabilityInfo.test.ets
浏览文件 @
4bfba66e
...
...
@@ -299,7 +299,6 @@ export default function GetabilityInfo() {
expect
(
data
.
writePermission
)
.
assertEqual
(
""
);
expect
(
data
.
targetAbility
)
.
assertEqual
(
""
);
expect
(
data
.
metaData
.
length
)
.
assertEqual
(
0
);
expect
(
data
.
metadata
.
length
)
.
assertEqual
(
0
);
checkApplicationInfo_other
(
data
.
applicationInfo
);
console
.
log
(
"---checkAbilityInfo_other End--- "
);
}
...
...
@@ -320,7 +319,6 @@ export default function GetabilityInfo() {
expect
(
info
.
process
)
.
assertEqual
(
"com.example.third1"
);
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
.
uid
)
.
assertLarger
(
0
);
expect
(
info
.
entityType
)
.
assertEqual
(
"unspecified"
);
...
...
appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/MainAbility/test/getAllApplicationInfoJsunit.test.ets
浏览文件 @
4bfba66e
...
...
@@ -243,7 +243,6 @@ export default function applicationBundleJsunit() {
expect(typeof (data[i].supportedModes)).assertEqual('number');
expect(typeof (data[i].process)).assertEqual('string');
expect(typeof (data[i].metaData)).assertEqual('object');
expect(typeof (data[i].metadata)).assertEqual('object');
expect(typeof (data[i].enabled)).assertEqual('boolean');
expect(typeof (data[i].uid)).assertEqual('number');
expect(typeof (data[i].entityType)).assertEqual('string');
...
...
appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/MainAbility/test/getApplicationInfoJsunit.test.ets
浏览文件 @
4bfba66e
...
...
@@ -338,7 +338,6 @@ export default function applicationBundleJsunit() {
expect(typeof (data.process)).assertEqual('string');
expect(typeof (data.entryDir)).assertEqual('string');
expect(typeof (data.metaData)).assertEqual('object');
expect(typeof (data.metadata)).assertEqual('object');
expect(typeof (data.enabled)).assertEqual('boolean');
expect(typeof (data.uid)).assertEqual('number');
expect(typeof (data.entityType)).assertEqual('string');
...
...
appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/test/ExampleJsunit.test.js
浏览文件 @
4bfba66e
...
...
@@ -128,7 +128,6 @@ describe('ActsBundleManagerTest', function () {
expect
(
datainfo
.
reqPermissions
.
length
).
assertEqual
(
0
);
expect
(
datainfo
.
reqPermissionStates
.
length
).
assertEqual
(
0
);
expect
(
datainfo
.
reqPermissionDetails
.
length
).
assertEqual
(
0
);
expect
(
datainfo
.
extensionAbilityInfo
.
length
).
assertEqual
(
0
);
expect
(
datainfo
.
appInfo
.
name
).
assertEqual
(
NAME1
);
expect
(
datainfo
.
appInfo
.
description
).
assertEqual
(
APPLICATION_DESCRIPTION
);
expect
(
datainfo
.
appInfo
.
descriptionId
>=
0
).
assertTrue
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录