Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
c7c0ce99
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看板
提交
c7c0ce99
编写于
9月 26, 2021
作者:
O
openharmony_ci
提交者:
Gitee
9月 26, 2021
浏览文件
操作
浏览文件
下载
差异文件
!764 L1/L2 marster 敏感词修改;许可证头、版权头处理
Merge pull request !764 from jiyong/master
上级
4f4dcb4a
9dd11f4e
变更
20
显示空白变更内容
内联
并排
Showing
20 changed file
with
31 addition
and
31 deletion
+31
-31
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfifthscene/src/main/config.json
...r/sceneProject/bmsgetinfosfifthscene/src/main/config.json
+2
-2
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfirstscene/src/main/config.json
...r/sceneProject/bmsgetinfosfirstscene/src/main/config.json
+1
-1
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfirstsceneupdate/src/main/config.json
...eProject/bmsgetinfosfirstsceneupdate/src/main/config.json
+1
-1
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfourthscene/src/main/config.json
.../sceneProject/bmsgetinfosfourthscene/src/main/config.json
+2
-2
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystem/src/main/config.json
.../sceneProject/bmsgetinfosscenesystem/src/main/config.json
+1
-1
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenevendor/src/main/config.json
.../sceneProject/bmsgetinfosscenevendor/src/main/config.json
+2
-2
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosthirdscene/src/main/config.json
...r/sceneProject/bmsgetinfosthirdscene/src/main/config.json
+1
-1
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/BUILD.gn
...tandard/bundlemanager/sceneProject/bmssceneeight/BUILD.gn
+1
-1
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/config.json
...lemanager/sceneProject/bmssceneeight/src/main/config.json
+1
-1
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefive/BUILD.gn
...standard/bundlemanager/sceneProject/bmsscenefive/BUILD.gn
+1
-1
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefour/BUILD.gn
...standard/bundlemanager/sceneProject/bmsscenefour/BUILD.gn
+1
-1
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/BUILD.gn
...standard/bundlemanager/sceneProject/bmsscenenine/BUILD.gn
+1
-1
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/config.json
...dlemanager/sceneProject/bmsscenenine/src/main/config.json
+1
-1
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneone/BUILD.gn
..._standard/bundlemanager/sceneProject/bmssceneone/BUILD.gn
+1
-1
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/BUILD.gn
...tandard/bundlemanager/sceneProject/bmssceneseven/BUILD.gn
+1
-1
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenesix/BUILD.gn
..._standard/bundlemanager/sceneProject/bmsscenesix/BUILD.gn
+1
-1
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenethree/BUILD.gn
...tandard/bundlemanager/sceneProject/bmsscenethree/BUILD.gn
+1
-1
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenetwo/BUILD.gn
..._standard/bundlemanager/sceneProject/bmsscenetwo/BUILD.gn
+1
-1
appexecfwk_lite/appexecfwk_posix/src/BundleMgrTest.cpp
appexecfwk_lite/appexecfwk_posix/src/BundleMgrTest.cpp
+3
-3
utils_lite/kv_store_posix/src/KvStoreTest.cpp
utils_lite/kv_store_posix/src/KvStoreTest.cpp
+7
-7
未找到文件。
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfifthscene/src/main/config.json
浏览文件 @
c7c0ce99
...
...
@@ -68,7 +68,7 @@
"customizeData"
:
[
{
"name"
:
"originWidgetName5A"
,
"value"
:
"com.
huawei
.weather.testWidget5A"
"value"
:
"com.
openharmony
.weather.testWidget5A"
}
]
},
...
...
@@ -138,7 +138,7 @@
"customizeData"
:
[
{
"name"
:
"originWidgetName5B"
,
"value"
:
"com.
huawei
.weather.testWidget5B"
"value"
:
"com.
openharmony
.weather.testWidget5B"
}
]
},
...
...
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfirstscene/src/main/config.json
浏览文件 @
c7c0ce99
...
...
@@ -66,7 +66,7 @@
"customizeData"
:
[
{
"name"
:
"originWidgetName1"
,
"value"
:
"com.
huawei
.weather.testWidget1"
"value"
:
"com.
openharmony
.weather.testWidget1"
}
]
},
...
...
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfirstsceneupdate/src/main/config.json
浏览文件 @
c7c0ce99
...
...
@@ -65,7 +65,7 @@
"customizeData"
:
[
{
"name"
:
"originWidgetNameA1"
,
"value"
:
"com.
huawei
.weather.testWidgetA1"
"value"
:
"com.
openharmony
.weather.testWidgetA1"
}
]
},
...
...
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfourthscene/src/main/config.json
浏览文件 @
c7c0ce99
...
...
@@ -61,7 +61,7 @@
"customizeData"
:
[
{
"name"
:
"originWidgetName4A"
,
"value"
:
"com.
huawei
.weather.testWidget4A"
"value"
:
"com.
openharmony
.weather.testWidget4A"
}
]
},
...
...
@@ -83,7 +83,7 @@
"customizeData"
:
[
{
"name"
:
"originWidgetName4B"
,
"value"
:
"com.
huawei
.weather.testWidget4B"
"value"
:
"com.
openharmony
.weather.testWidget4B"
}
]
},
...
...
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenesystem/src/main/config.json
浏览文件 @
c7c0ce99
...
...
@@ -52,7 +52,7 @@
"customizeData"
:
[
{
"name"
:
"originWidgetName1S"
,
"value"
:
"com.
huawei
.weather.testWidget1S"
"value"
:
"com.
openharmony
.weather.testWidget1S"
}
]
},
...
...
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosscenevendor/src/main/config.json
浏览文件 @
c7c0ce99
...
...
@@ -52,7 +52,7 @@
"customizeData"
:
[
{
"name"
:
"originWidgetName1V"
,
"value"
:
"com.
huawei
.weather.testWidget1V"
"value"
:
"com.
openharmony
.weather.testWidget1V"
}
]
},
...
...
@@ -74,7 +74,7 @@
"customizeData"
:
[
{
"name"
:
"originWidgetName1V2"
,
"value"
:
"com.
huawei
.weather.testWidget1V2"
"value"
:
"com.
openharmony
.weather.testWidget1V2"
}
]
},
...
...
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosthirdscene/src/main/config.json
浏览文件 @
c7c0ce99
...
...
@@ -67,7 +67,7 @@
"customizeData"
:
[
{
"name"
:
"originWidgetName3"
,
"value"
:
"com.
huawei
.weather.testWidget3"
"value"
:
"com.
openharmony
.weather.testWidget3"
}
]
},
...
...
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/BUILD.gn
浏览文件 @
c7c0ce99
# 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
...
...
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/config.json
浏览文件 @
c7c0ce99
...
...
@@ -52,7 +52,7 @@
"customizeData"
:
[
{
"name"
:
"originWidgetName1"
,
"value"
:
"com.
huawei
.weather.testWidget1"
"value"
:
"com.
openharmony
.weather.testWidget1"
}
]
},
...
...
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefive/BUILD.gn
浏览文件 @
c7c0ce99
# 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
...
...
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefour/BUILD.gn
浏览文件 @
c7c0ce99
# 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
...
...
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/BUILD.gn
浏览文件 @
c7c0ce99
# 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
...
...
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/config.json
浏览文件 @
c7c0ce99
...
...
@@ -52,7 +52,7 @@
"customizeData"
:
[
{
"name"
:
"originWidgetNameA1"
,
"value"
:
"com.
huawei
.weather.testWidgetA1"
"value"
:
"com.
openharmony
.weather.testWidgetA1"
}
]
},
...
...
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneone/BUILD.gn
浏览文件 @
c7c0ce99
# 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
...
...
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/BUILD.gn
浏览文件 @
c7c0ce99
# 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
...
...
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenesix/BUILD.gn
浏览文件 @
c7c0ce99
# 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
...
...
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenethree/BUILD.gn
浏览文件 @
c7c0ce99
# 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
...
...
appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenetwo/BUILD.gn
浏览文件 @
c7c0ce99
# 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
...
...
appexecfwk_lite/appexecfwk_posix/src/BundleMgrTest.cpp
浏览文件 @
c7c0ce99
...
...
@@ -869,8 +869,8 @@ HWTEST_F(BundleMgrTest, testGetBundleSizeWithLegal_0001, Function | MediumTest |
HWTEST_F
(
BundleMgrTest
,
testGetBundleSizeWithLegal_0002
,
Function
|
MediumTest
|
Level1
)
{
printf
(
"------start testGetBundleSizeWithLegal_0002------
\n
"
);
char
*
bundleName
=
(
char
*
)
"com.openharmony.testjsdemoBundleNameleng
thequalto127
"
\
"t
estjsdemoBundleNamelengthequalto127testjsdemoBundleNamelengthequalto127testjsde
"
;
char
*
bundleName
=
(
char
*
)
"com.openharmony.testjsdemoBundleNameleng"
\
"t
hequalto127testjsdemoBundleNamelengthequalto127testjsdemoBundleNamelengthequalto127tes
"
;
sem_init
(
&
g_sem
,
0
,
0
);
InstallParam
installParam
=
{.
installLocation
=
1
,.
keepData
=
false
};
string
hapPath
=
g_testPath
+
"testGetBundleNameWithLegal127.hap"
;
...
...
@@ -895,7 +895,7 @@ HWTEST_F(BundleMgrTest, testGetBundleSizeWithIllegal_0001, Function | MediumTest
{
printf
(
"------start testGetBundleSizeWithIllegal_0001------
\n
"
);
char
*
bundleName
=
(
char
*
)
"com.openharmony.testjsdemoBundleNameLength128test"
\
"jsdemoBundleNameLength128testjsdemoBundleNameLength128testjsdemoBundleNameLengt
h128T
"
;
"jsdemoBundleNameLength128testjsdemoBundleNameLength128testjsdemoBundleNameLengt"
;
EXPECT_EQ
(
strlen
(
bundleName
),
128
);
uint32_t
resultCode
=
GetBundleSize
(
bundleName
);
EXPECT_EQ
(
resultCode
,
0
);
...
...
utils_lite/kv_store_posix/src/KvStoreTest.cpp
浏览文件 @
c7c0ce99
...
...
@@ -36,18 +36,18 @@ protected:
static
void
SetUpTestCase
(
void
)
{
printf
(
"----------test case with KvStoreTest start-------------
\n
"
);
int
ret
=
mkdir
(
"/storage/com.
huawei
.kv"
,
S_IRUSR
|
S_IWUSR
);
printf
(
"/storage/com.
huawei
.kv ret = %d
\n
"
,
ret
);
ret
=
UtilsSetEnv
(
"/storage/com.
huawei
.kv"
);
int
ret
=
mkdir
(
"/storage/com.
openharmony
.kv"
,
S_IRUSR
|
S_IWUSR
);
printf
(
"/storage/com.
openharmony
.kv ret = %d
\n
"
,
ret
);
ret
=
UtilsSetEnv
(
"/storage/com.
openharmony
.kv"
);
EXPECT_EQ
(
ret
,
0
);
}
// TearDownTestCase:测试套清理动作,在最后一个TestCase之后执行
static
void
TearDownTestCase
(
void
)
{
int
ret
=
rmdir
(
"/storage/com.
huawei
.kv/kvstore"
);
printf
(
"/storage/com.
huawei
.kv/kvstore ret = %d
\n
"
,
ret
);
ret
=
rmdir
(
"/storage/com.
huawei
.kv"
);
printf
(
"/storage/com.
huawei
.kv ret = %d
\n
"
,
ret
);
int
ret
=
rmdir
(
"/storage/com.
openharmony
.kv/kvstore"
);
printf
(
"/storage/com.
openharmony
.kv/kvstore ret = %d
\n
"
,
ret
);
ret
=
rmdir
(
"/storage/com.
openharmony
.kv"
);
printf
(
"/storage/com.
openharmony
.kv ret = %d
\n
"
,
ret
);
printf
(
"----------test case with KvStoreTest end-------------
\n
"
);
}
// 用例的预置动作
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录