提交 c7c0ce99 编写于 作者: O openharmony_ci 提交者: Gitee

!764 L1/L2 marster 敏感词修改;许可证头、版权头处理

Merge pull request !764 from jiyong/master
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
"customizeData": [ "customizeData": [
{ {
"name": "originWidgetName5A", "name": "originWidgetName5A",
"value": "com.huawei.weather.testWidget5A" "value": "com.openharmony.weather.testWidget5A"
} }
] ]
}, },
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
"customizeData": [ "customizeData": [
{ {
"name": "originWidgetName5B", "name": "originWidgetName5B",
"value": "com.huawei.weather.testWidget5B" "value": "com.openharmony.weather.testWidget5B"
} }
] ]
}, },
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
"customizeData": [ "customizeData": [
{ {
"name": "originWidgetName1", "name": "originWidgetName1",
"value": "com.huawei.weather.testWidget1" "value": "com.openharmony.weather.testWidget1"
} }
] ]
}, },
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
"customizeData": [ "customizeData": [
{ {
"name": "originWidgetNameA1", "name": "originWidgetNameA1",
"value": "com.huawei.weather.testWidgetA1" "value": "com.openharmony.weather.testWidgetA1"
} }
] ]
}, },
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
"customizeData": [ "customizeData": [
{ {
"name": "originWidgetName4A", "name": "originWidgetName4A",
"value": "com.huawei.weather.testWidget4A" "value": "com.openharmony.weather.testWidget4A"
} }
] ]
}, },
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
"customizeData": [ "customizeData": [
{ {
"name": "originWidgetName4B", "name": "originWidgetName4B",
"value": "com.huawei.weather.testWidget4B" "value": "com.openharmony.weather.testWidget4B"
} }
] ]
}, },
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
"customizeData": [ "customizeData": [
{ {
"name": "originWidgetName1S", "name": "originWidgetName1S",
"value": "com.huawei.weather.testWidget1S" "value": "com.openharmony.weather.testWidget1S"
} }
] ]
}, },
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
"customizeData": [ "customizeData": [
{ {
"name": "originWidgetName1V", "name": "originWidgetName1V",
"value": "com.huawei.weather.testWidget1V" "value": "com.openharmony.weather.testWidget1V"
} }
] ]
}, },
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
"customizeData": [ "customizeData": [
{ {
"name": "originWidgetName1V2", "name": "originWidgetName1V2",
"value": "com.huawei.weather.testWidget1V2" "value": "com.openharmony.weather.testWidget1V2"
} }
] ]
}, },
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
"customizeData": [ "customizeData": [
{ {
"name": "originWidgetName3", "name": "originWidgetName3",
"value": "com.huawei.weather.testWidget3" "value": "com.openharmony.weather.testWidget3"
} }
] ]
}, },
......
# Copyright (c) 2021 Huawei Device Co., Ltd. # Copyright (C) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
# You may obtain a copy of the License at # You may obtain a copy of the License at
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
"customizeData": [ "customizeData": [
{ {
"name": "originWidgetName1", "name": "originWidgetName1",
"value": "com.huawei.weather.testWidget1" "value": "com.openharmony.weather.testWidget1"
} }
] ]
}, },
......
# Copyright (c) 2021 Huawei Device Co., Ltd. # Copyright (C) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
# You may obtain a copy of the License at # You may obtain a copy of the License at
......
# Copyright (c) 2021 Huawei Device Co., Ltd. # Copyright (C) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
# You may obtain a copy of the License at # You may obtain a copy of the License at
......
# Copyright (c) 2021 Huawei Device Co., Ltd. # Copyright (C) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
# You may obtain a copy of the License at # You may obtain a copy of the License at
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
"customizeData": [ "customizeData": [
{ {
"name": "originWidgetNameA1", "name": "originWidgetNameA1",
"value": "com.huawei.weather.testWidgetA1" "value": "com.openharmony.weather.testWidgetA1"
} }
] ]
}, },
......
# Copyright (c) 2021 Huawei Device Co., Ltd. # Copyright (C) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
# You may obtain a copy of the License at # You may obtain a copy of the License at
......
# Copyright (c) 2021 Huawei Device Co., Ltd. # Copyright (C) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
# You may obtain a copy of the License at # You may obtain a copy of the License at
......
# Copyright (c) 2021 Huawei Device Co., Ltd. # Copyright (C) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
# You may obtain a copy of the License at # You may obtain a copy of the License at
......
# Copyright (c) 2021 Huawei Device Co., Ltd. # Copyright (C) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
# You may obtain a copy of the License at # You may obtain a copy of the License at
......
# Copyright (c) 2021 Huawei Device Co., Ltd. # Copyright (C) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
# You may obtain a copy of the License at # You may obtain a copy of the License at
......
...@@ -869,8 +869,8 @@ HWTEST_F(BundleMgrTest, testGetBundleSizeWithLegal_0001, Function | MediumTest | ...@@ -869,8 +869,8 @@ HWTEST_F(BundleMgrTest, testGetBundleSizeWithLegal_0001, Function | MediumTest |
HWTEST_F(BundleMgrTest, testGetBundleSizeWithLegal_0002, Function | MediumTest | Level1) HWTEST_F(BundleMgrTest, testGetBundleSizeWithLegal_0002, Function | MediumTest | Level1)
{ {
printf("------start testGetBundleSizeWithLegal_0002------\n"); printf("------start testGetBundleSizeWithLegal_0002------\n");
char *bundleName = (char*)"com.openharmony.testjsdemoBundleNamelengthequalto127" \ char *bundleName = (char*)"com.openharmony.testjsdemoBundleNameleng" \
"testjsdemoBundleNamelengthequalto127testjsdemoBundleNamelengthequalto127testjsde"; "thequalto127testjsdemoBundleNamelengthequalto127testjsdemoBundleNamelengthequalto127tes";
sem_init(&g_sem, 0, 0); sem_init(&g_sem, 0, 0);
InstallParam installParam = {.installLocation = 1,.keepData = false }; InstallParam installParam = {.installLocation = 1,.keepData = false };
string hapPath = g_testPath + "testGetBundleNameWithLegal127.hap"; string hapPath = g_testPath + "testGetBundleNameWithLegal127.hap";
...@@ -895,7 +895,7 @@ HWTEST_F(BundleMgrTest, testGetBundleSizeWithIllegal_0001, Function | MediumTest ...@@ -895,7 +895,7 @@ HWTEST_F(BundleMgrTest, testGetBundleSizeWithIllegal_0001, Function | MediumTest
{ {
printf("------start testGetBundleSizeWithIllegal_0001------\n"); printf("------start testGetBundleSizeWithIllegal_0001------\n");
char *bundleName = (char*)"com.openharmony.testjsdemoBundleNameLength128test" \ char *bundleName = (char*)"com.openharmony.testjsdemoBundleNameLength128test" \
"jsdemoBundleNameLength128testjsdemoBundleNameLength128testjsdemoBundleNameLength128T"; "jsdemoBundleNameLength128testjsdemoBundleNameLength128testjsdemoBundleNameLengt";
EXPECT_EQ(strlen(bundleName), 128); EXPECT_EQ(strlen(bundleName), 128);
uint32_t resultCode = GetBundleSize(bundleName); uint32_t resultCode = GetBundleSize(bundleName);
EXPECT_EQ(resultCode, 0); EXPECT_EQ(resultCode, 0);
......
...@@ -36,18 +36,18 @@ protected: ...@@ -36,18 +36,18 @@ protected:
static void SetUpTestCase(void) static void SetUpTestCase(void)
{ {
printf("----------test case with KvStoreTest start-------------\n"); printf("----------test case with KvStoreTest start-------------\n");
int ret = mkdir("/storage/com.huawei.kv", S_IRUSR | S_IWUSR); int ret = mkdir("/storage/com.openharmony.kv", S_IRUSR | S_IWUSR);
printf("/storage/com.huawei.kv ret = %d\n", ret); printf("/storage/com.openharmony.kv ret = %d\n", ret);
ret = UtilsSetEnv("/storage/com.huawei.kv"); ret = UtilsSetEnv("/storage/com.openharmony.kv");
EXPECT_EQ(ret, 0); EXPECT_EQ(ret, 0);
} }
// TearDownTestCase:测试套清理动作,在最后一个TestCase之后执行 // TearDownTestCase:测试套清理动作,在最后一个TestCase之后执行
static void TearDownTestCase(void) static void TearDownTestCase(void)
{ {
int ret = rmdir("/storage/com.huawei.kv/kvstore"); int ret = rmdir("/storage/com.openharmony.kv/kvstore");
printf("/storage/com.huawei.kv/kvstore ret = %d\n", ret); printf("/storage/com.openharmony.kv/kvstore ret = %d\n", ret);
ret = rmdir("/storage/com.huawei.kv"); ret = rmdir("/storage/com.openharmony.kv");
printf("/storage/com.huawei.kv ret = %d\n", ret); printf("/storage/com.openharmony.kv ret = %d\n", ret);
printf("----------test case with KvStoreTest end-------------\n"); printf("----------test case with KvStoreTest end-------------\n");
} }
// 用例的预置动作 // 用例的预置动作
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册