mirror of
https://github.com/openharmony/notification_ces_standard.git
synced 2026-07-01 04:39:51 -04:00
Description:ces_standard change to common_event_service Sig: SIG_ApplicationFramework Feature or Bugfix:Feature Binary Source:No Signed-off-by: liqiang <liqiang121@huawei.com> Change-Id: Ifb47d0a2ecd926ed23a9c1807de59b9a65df72b6
This commit is contained in:
+2
-2
@@ -19,7 +19,7 @@ OpenHarmony通过CES(Common Event Service,公共事件服务)为应用程
|
||||
## 目录
|
||||
|
||||
```
|
||||
/base/notification/ces_standard/
|
||||
/base/notification/common_event_service/
|
||||
│── frameworks # 组件目录
|
||||
│ |── common/log # 日志组件目录
|
||||
│ |── core # 组件native接口内部实现
|
||||
@@ -574,7 +574,7 @@ CommonEvent.unsubscriber(CommonEventSubscriber, UnsubscriberCallBack);
|
||||
|
||||
事件通知子系统
|
||||
|
||||
**[notification_ces_standard](https://gitee.com/openharmony/notification_ces_standard/blob/master/README_zh.md)**
|
||||
**[notification_common_event_service](https://gitee.com/openharmony/notification_ces_standard/blob/master/README_zh.md)**
|
||||
|
||||
[ans部件仓](https://gitee.com/openharmony/notification_ans_standard/blob/master/README_zh.md )
|
||||
|
||||
|
||||
+25
-25
@@ -32,15 +32,15 @@
|
||||
}
|
||||
],
|
||||
"segment": {
|
||||
"destPath": "base/notification/ces_standard"
|
||||
"destPath": "base/notification/common_event_service"
|
||||
},
|
||||
"component": {
|
||||
"name": "ces_standard",
|
||||
"name": "common_event_service",
|
||||
"subsystem": "notification",
|
||||
"syscap": [
|
||||
"SystemCapability.Notification.CommonEvent"
|
||||
],
|
||||
"features": ["ces_standard_with_graphics"],
|
||||
"features": ["common_event_service_with_graphics"],
|
||||
"adapted_system_type": [
|
||||
"standard"
|
||||
],
|
||||
@@ -66,17 +66,17 @@
|
||||
},
|
||||
"build": {
|
||||
"sub_component": [
|
||||
"//base/notification/ces_standard/frameworks/common:libevent_common",
|
||||
"//base/notification/ces_standard/frameworks/core:cesfwk_core",
|
||||
"//base/notification/ces_standard/frameworks/native:cesfwk_innerkits",
|
||||
"//base/notification/ces_standard/interfaces/kits/napi:napi_packages",
|
||||
"//base/notification/ces_standard/sa_profile:event_sa_profile",
|
||||
"//base/notification/ces_standard/services:cesfwk_services",
|
||||
"//base/notification/ces_standard/tools:tools_target"],
|
||||
"//base/notification/common_event_service/frameworks/common:libevent_common",
|
||||
"//base/notification/common_event_service/frameworks/core:cesfwk_core",
|
||||
"//base/notification/common_event_service/frameworks/native:cesfwk_innerkits",
|
||||
"//base/notification/common_event_service/interfaces/kits/napi:napi_packages",
|
||||
"//base/notification/common_event_service/sa_profile:event_sa_profile",
|
||||
"//base/notification/common_event_service/services:cesfwk_services",
|
||||
"//base/notification/common_event_service/tools:tools_target"],
|
||||
"inner_kits": [
|
||||
{
|
||||
"header": {
|
||||
"header_base" : "//base/notification/ces_standard/frameworks/core/include",
|
||||
"header_base" : "//base/notification/common_event_service/frameworks/core/include",
|
||||
"header_files": [
|
||||
"common_event_constant.h",
|
||||
"common_event_death_recipient.h",
|
||||
@@ -90,11 +90,11 @@
|
||||
"ievent_receive.h"
|
||||
]
|
||||
},
|
||||
"name":"//base/notification/ces_standard/frameworks/core:cesfwk_core"
|
||||
"name":"//base/notification/common_event_service/frameworks/core:cesfwk_core"
|
||||
},
|
||||
{
|
||||
"header": {
|
||||
"header_base" : "//base/notification/ces_standard/interfaces/innerkits/native/include",
|
||||
"header_base" : "//base/notification/common_event_service/interfaces/innerkits/native/include",
|
||||
"header_files": [
|
||||
"async_common_event_result.h",
|
||||
"common_event_data.h",
|
||||
@@ -106,11 +106,11 @@
|
||||
"matching_skills.h"
|
||||
]
|
||||
},
|
||||
"name":"//base/notification/ces_standard/frameworks/native:cesfwk_innerkits"
|
||||
"name":"//base/notification/common_event_service/frameworks/native:cesfwk_innerkits"
|
||||
},
|
||||
{
|
||||
"header": {
|
||||
"header_base" : "//base/notification/ces_standard/services/ces/include",
|
||||
"header_base" : "//base/notification/common_event_service/services/include",
|
||||
"header_files": [
|
||||
"common_event_control_manager.h",
|
||||
"common_event_manager_service.h",
|
||||
@@ -119,19 +119,19 @@
|
||||
"inner_common_event_manager.h"
|
||||
]
|
||||
},
|
||||
"name":"//base/notification/ces_standard/services:cesfwk_services"
|
||||
"name":"//base/notification/common_event_service/services:cesfwk_services"
|
||||
}
|
||||
],
|
||||
"test": [
|
||||
"//base/notification/ces_standard/frameworks/common/test:unittest",
|
||||
"//base/notification/ces_standard/frameworks/native/test/unittest:unittest",
|
||||
"//base/notification/ces_standard/services/test/moduletest:moduletest",
|
||||
"//base/notification/ces_standard/services/test/unittest:unittest",
|
||||
"//base/notification/ces_standard/test/fuzztest:fuzztest",
|
||||
"//base/notification/ces_standard/test/systemtest:systemtest",
|
||||
"//base/notification/ces_standard/tools:moduletest",
|
||||
"//base/notification/ces_standard/tools:systemtest",
|
||||
"//base/notification/ces_standard/tools:unittest"
|
||||
"//base/notification/common_event_service/frameworks/common/test:unittest",
|
||||
"//base/notification/common_event_service/frameworks/native/test/unittest:unittest",
|
||||
"//base/notification/common_event_service/services/test/moduletest:moduletest",
|
||||
"//base/notification/common_event_service/services/test/unittest:unittest",
|
||||
"//base/notification/common_event_service/test/fuzztest:fuzztest",
|
||||
"//base/notification/common_event_service/test/systemtest:systemtest",
|
||||
"//base/notification/common_event_service/tools:moduletest",
|
||||
"//base/notification/common_event_service/tools:systemtest",
|
||||
"//base/notification/common_event_service/tools:unittest"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,15 +15,15 @@ aafwk_path = "//foundation/aafwk/standard"
|
||||
|
||||
appexecfwk_path = "//foundation/appexecfwk/standard"
|
||||
|
||||
ces_standard_path = "//base/notification/ces_standard"
|
||||
common_event_service_path = "//base/notification/common_event_service"
|
||||
|
||||
frameworks_path = "${ces_standard_path}/frameworks"
|
||||
frameworks_path = "${common_event_service_path}/frameworks"
|
||||
|
||||
interfaces_path = "${ces_standard_path}/interfaces"
|
||||
interfaces_path = "${common_event_service_path}/interfaces"
|
||||
|
||||
services_path = "${ces_standard_path}/services"
|
||||
services_path = "${common_event_service_path}/services"
|
||||
|
||||
tools_path = "${ces_standard_path}/tools"
|
||||
tools_path = "${common_event_service_path}/tools"
|
||||
|
||||
ces_common_path = "${frameworks_path}/common"
|
||||
|
||||
@@ -33,9 +33,9 @@ ces_innerkits_path = "${interfaces_path}/innerkits/native"
|
||||
|
||||
ces_native_path = "${frameworks_path}/native"
|
||||
|
||||
ces_services_path = "${services_path}/ces"
|
||||
ces_services_path = "${services_path}"
|
||||
declare_args() {
|
||||
ces_standard_with_graphics = true
|
||||
common_event_service_with_graphics = true
|
||||
|
||||
if (!defined(global_parts_info) ||
|
||||
defined(global_parts_info.account_os_account_standard)) {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/ohos.gni")
|
||||
|
||||
group("common_target") {
|
||||
@@ -40,5 +40,5 @@ ohos_shared_library("libevent_common") {
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
|
||||
subsystem_name = "notification"
|
||||
part_name = "ces_standard"
|
||||
part_name = "common_event_service"
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
|
||||
config("common_test_config") {
|
||||
defines = [
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/test.gni")
|
||||
|
||||
module_output_path = "ces_standard/common"
|
||||
module_output_path = "common_event_service/common"
|
||||
|
||||
ohos_unittest("EventLogTest") {
|
||||
module_out_path = module_output_path
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/ohos.gni")
|
||||
|
||||
cflags = []
|
||||
@@ -78,5 +78,5 @@ ohos_shared_library("cesfwk_core") {
|
||||
]
|
||||
|
||||
subsystem_name = "notification"
|
||||
part_name = "ces_standard"
|
||||
part_name = "common_event_service"
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/ohos.gni")
|
||||
|
||||
cflags = []
|
||||
@@ -72,5 +72,5 @@ ohos_shared_library("cesfwk_innerkits") {
|
||||
]
|
||||
|
||||
subsystem_name = "notification"
|
||||
part_name = "ces_standard"
|
||||
part_name = "common_event_service"
|
||||
}
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/test.gni")
|
||||
|
||||
module_output_path = "ces_standard/frameworks/native"
|
||||
module_output_path = "common_event_service/frameworks/native"
|
||||
|
||||
config("kits_natvie_config") {
|
||||
visibility = [ ":*" ]
|
||||
|
||||
@@ -14,5 +14,5 @@
|
||||
import("//build/ohos.gni")
|
||||
|
||||
group("napi_packages") {
|
||||
deps = [ "//base/notification/ces_standard/interfaces/kits/napi/common_event:commonevent" ]
|
||||
deps = [ "//base/notification/common_event_service/interfaces/kits/napi/common_event:commonevent" ]
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/ohos.gni")
|
||||
|
||||
cflags = []
|
||||
@@ -71,5 +71,5 @@ ohos_shared_library("commonevent") {
|
||||
|
||||
relative_install_dir = "module"
|
||||
subsystem_name = "notification"
|
||||
part_name = "ces_standard"
|
||||
part_name = "common_event_service"
|
||||
}
|
||||
|
||||
+1
-1
@@ -16,5 +16,5 @@ import("//build/ohos/sa_profile/sa_profile.gni")
|
||||
ohos_sa_profile("event_sa_profile") {
|
||||
sources = [ "3299.xml" ]
|
||||
|
||||
part_name = "ces_standard"
|
||||
part_name = "common_event_service"
|
||||
}
|
||||
|
||||
+4
-4
@@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/ohos.gni")
|
||||
|
||||
cflags = []
|
||||
@@ -96,11 +96,11 @@ ohos_shared_library("cesfwk_services") {
|
||||
}
|
||||
|
||||
subsystem_name = "notification"
|
||||
part_name = "ces_standard"
|
||||
part_name = "common_event_service"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("static_subscriber_config.json") {
|
||||
source = "//base/notification/ces_standard/services/ces/resource/static_subscriber_config.json"
|
||||
source = "//base/notification/common_event_service/services/resource/static_subscriber_config.json"
|
||||
subsystem_name = "notification"
|
||||
part_name = "ces_standard"
|
||||
part_name = "common_event_service"
|
||||
}
|
||||
|
||||
-1
@@ -15,7 +15,6 @@
|
||||
|
||||
#include "static_subscriber_manager.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
|
||||
#include "ability_manager_helper.h"
|
||||
@@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
cflags = []
|
||||
|
||||
config("module_test_config") {
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/test.gni")
|
||||
|
||||
module_output_path = "ces_standard/mouduletest"
|
||||
module_output_path = "common_event_service/mouduletest"
|
||||
|
||||
ohos_moduletest("cesModuleTest") {
|
||||
module_out_path = module_output_path
|
||||
@@ -25,9 +25,7 @@ ohos_moduletest("cesModuleTest") {
|
||||
"common_event_services_module_test.cpp",
|
||||
]
|
||||
|
||||
configs = [
|
||||
"${ces_standard_path}/test/systemtest/common/ces:cesfwk_kits_test_config",
|
||||
]
|
||||
configs = [ "${common_event_service_path}/test/systemtest/common/ces:cesfwk_kits_test_config" ]
|
||||
|
||||
include_dirs = [
|
||||
"//foundation/aafwk/standard/interfaces/innerkits/ability_manager/include",
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/test.gni")
|
||||
|
||||
module_output_path = "ces_standard/mouduletest"
|
||||
module_output_path = "common_event_service/mouduletest"
|
||||
|
||||
ohos_moduletest("CesPublishOrderedEventModuleTest") {
|
||||
module_out_path = module_output_path
|
||||
@@ -25,9 +25,7 @@ ohos_moduletest("CesPublishOrderedEventModuleTest") {
|
||||
"common_event_services_publish_ordered_module_test.cpp",
|
||||
]
|
||||
|
||||
configs = [
|
||||
"${ces_standard_path}/test/systemtest/common/ces:cesfwk_kits_test_config",
|
||||
]
|
||||
configs = [ "${common_event_service_path}/test/systemtest/common/ces:cesfwk_kits_test_config" ]
|
||||
|
||||
include_dirs = [
|
||||
"//foundation/aafwk/standard/interfaces/innerkits/ability_manager/include",
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/test.gni")
|
||||
|
||||
module_output_path = "ces_standard/services"
|
||||
module_output_path = "common_event_service/services"
|
||||
|
||||
config("cesfwk_services_config") {
|
||||
visibility = [ ":*" ]
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
|
||||
group("fuzztest") {
|
||||
testonly = true
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
# limitations under the License.
|
||||
|
||||
#####################hydra-fuzz###################
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "ces_standard/fuzztest"
|
||||
module_output_path = "common_event_service/fuzztest"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("GetStickyCommonEventFuzzTest") {
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
# limitations under the License.
|
||||
|
||||
#####################hydra-fuzz###################
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "ces_standard/fuzztest"
|
||||
module_output_path = "common_event_service/fuzztest"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("PublishCommonEventAsUserFuzzTest") {
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
# limitations under the License.
|
||||
|
||||
#####################hydra-fuzz###################
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "ces_standard/fuzztest"
|
||||
module_output_path = "common_event_service/fuzztest"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("PublishCommonEventFuzzTest") {
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
# limitations under the License.
|
||||
|
||||
#####################hydra-fuzz###################
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "ces_standard/fuzztest"
|
||||
module_output_path = "common_event_service/fuzztest"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("SubscribeCommonEventFuzzTest") {
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
# limitations under the License.
|
||||
|
||||
#####################hydra-fuzz###################
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "ces_standard/fuzztest"
|
||||
module_output_path = "common_event_service/fuzztest"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("UnSubscribeCommonEventFuzzTest") {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
|
||||
config("system_test_config") {
|
||||
include_dirs = [ "//third_party/json/include" ]
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/ohos.gni")
|
||||
|
||||
config("cesfwk_kits_test_config") {
|
||||
@@ -59,7 +59,7 @@ ohos_shared_library("actscesfwk_kits_test") {
|
||||
"ipc:ipc_core",
|
||||
]
|
||||
subsystem_name = "notification"
|
||||
part_name = "ces_standard"
|
||||
part_name = "common_event_service"
|
||||
}
|
||||
group("actsCEStest_ces") {
|
||||
testonly = true
|
||||
|
||||
@@ -11,25 +11,23 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/test.gni")
|
||||
|
||||
module_output_path = "ces_standard/systemtest"
|
||||
module_output_path = "common_event_service/systemtest"
|
||||
ohos_systemtest("ActsCESCESpublishInfoTest") {
|
||||
module_out_path = module_output_path
|
||||
resource_config_file = "${ces_standard_path}/test/systemtest/common/resource/testconfig/ohos_test.xml"
|
||||
resource_config_file = "${common_event_service_path}/test/systemtest/common/resource/testconfig/ohos_test.xml"
|
||||
|
||||
sources = [ "actsCESCESpublishInfoTest.cpp" ]
|
||||
|
||||
configs = [
|
||||
"${ces_standard_path}/test/systemtest/common/ces:cesfwk_kits_test_config",
|
||||
]
|
||||
configs = [ "${common_event_service_path}/test/systemtest/common/ces:cesfwk_kits_test_config" ]
|
||||
|
||||
include_dirs = [
|
||||
"//utils/native/base/include",
|
||||
"//foundation/aafwk/standard/interfaces/innerkits/want/include/ohos/aafwk/content",
|
||||
"${services_path}/include",
|
||||
"${ces_standard_path}/test/systemtest/common/resource",
|
||||
"${common_event_service_path}/test/systemtest/common/resource",
|
||||
"//third_party/json/single_include",
|
||||
]
|
||||
|
||||
|
||||
@@ -11,19 +11,17 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/test.gni")
|
||||
|
||||
module_output_path = "ces_standard/systemtest"
|
||||
module_output_path = "common_event_service/systemtest"
|
||||
|
||||
ohos_systemtest("ActsCESDateTest") {
|
||||
module_out_path = module_output_path
|
||||
|
||||
sources = [ "actsCESDataTest.cpp" ]
|
||||
|
||||
configs = [
|
||||
"${ces_standard_path}/test/systemtest/common/ces:cesfwk_kits_test_config",
|
||||
]
|
||||
configs = [ "${common_event_service_path}/test/systemtest/common/ces:cesfwk_kits_test_config" ]
|
||||
|
||||
include_dirs = [
|
||||
"//utils/native/base/include",
|
||||
|
||||
@@ -11,20 +11,20 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/test.gni")
|
||||
|
||||
module_output_path = "ces_standard/systemtest"
|
||||
module_output_path = "common_event_service/systemtest"
|
||||
|
||||
ohos_systemtest("ActsCESManagertest") {
|
||||
module_out_path = module_output_path
|
||||
resource_config_file = "${ces_standard_path}/test/systemtest/common/resource/testconfig/ohos_test.xml"
|
||||
resource_config_file = "${common_event_service_path}/test/systemtest/common/resource/testconfig/ohos_test.xml"
|
||||
|
||||
sources = [ "actsCESManagertest.cpp" ]
|
||||
|
||||
configs = [
|
||||
"//foundation/appexecfwk/standard/libs/libeventhandler:libeventhandler_config",
|
||||
"${ces_standard_path}/test/systemtest/common/ces:cesfwk_kits_test_config",
|
||||
"${common_event_service_path}/test/systemtest/common/ces:cesfwk_kits_test_config",
|
||||
]
|
||||
|
||||
include_dirs = [
|
||||
@@ -33,7 +33,7 @@ ohos_systemtest("ActsCESManagertest") {
|
||||
"//foundation/appexecfwk/standard/interfaces/innerkits/libeventhandler/include",
|
||||
"//foundation/aafwk/standard/interfaces/innerkits/base/include",
|
||||
"//foundation/aafwk/standard/interfaces/innerkits/want/include/ohos/aafwk/content",
|
||||
"${ces_standard_path}/test/systemtest/common/resource",
|
||||
"${common_event_service_path}/test/systemtest/common/resource",
|
||||
"//third_party/json/single_include",
|
||||
]
|
||||
|
||||
|
||||
@@ -11,25 +11,23 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/test.gni")
|
||||
|
||||
module_output_path = "ces_standard/systemtest"
|
||||
module_output_path = "common_event_service/systemtest"
|
||||
|
||||
ohos_systemtest("ActsCESMatchingSkillsTest") {
|
||||
module_out_path = module_output_path
|
||||
resource_config_file = "${ces_standard_path}/test/systemtest/common/resource/testconfig/ohos_test.xml"
|
||||
resource_config_file = "${common_event_service_path}/test/systemtest/common/resource/testconfig/ohos_test.xml"
|
||||
|
||||
sources = [ "actsCESMatchingSkillsTest.cpp" ]
|
||||
|
||||
configs = [
|
||||
"${ces_standard_path}/test/systemtest/common/ces:cesfwk_kits_test_config",
|
||||
]
|
||||
configs = [ "${common_event_service_path}/test/systemtest/common/ces:cesfwk_kits_test_config" ]
|
||||
|
||||
include_dirs = [
|
||||
"//utils/native/base/include",
|
||||
"//foundation/aafwk/standard/interfaces/innerkits/want/include/ohos/aafwk/content",
|
||||
"${ces_standard_path}/test/systemtest/common/resource",
|
||||
"${common_event_service_path}/test/systemtest/common/resource",
|
||||
"//third_party/json/single_include",
|
||||
]
|
||||
|
||||
|
||||
@@ -11,25 +11,23 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/test.gni")
|
||||
|
||||
module_output_path = "ces_standard/systemtest"
|
||||
module_output_path = "common_event_service/systemtest"
|
||||
|
||||
ohos_systemtest("ActsCESSubscribeInfoTest") {
|
||||
module_out_path = module_output_path
|
||||
resource_config_file = "${ces_standard_path}/test/systemtest/common/resource/testconfig/ohos_test.xml"
|
||||
resource_config_file = "${common_event_service_path}/test/systemtest/common/resource/testconfig/ohos_test.xml"
|
||||
|
||||
sources = [ "actsCESSubscribeInfoTest.cpp" ]
|
||||
|
||||
configs = [
|
||||
"${ces_standard_path}/test/systemtest/common/ces:cesfwk_kits_test_config",
|
||||
]
|
||||
configs = [ "${common_event_service_path}/test/systemtest/common/ces:cesfwk_kits_test_config" ]
|
||||
|
||||
include_dirs = [
|
||||
"//utils/native/base/include",
|
||||
"//foundation/aafwk/standard/interfaces/innerkits/want/include/ohos/aafwk/content",
|
||||
"${ces_standard_path}/test/systemtest/common/resource",
|
||||
"${common_event_service_path}/test/systemtest/common/resource",
|
||||
"//third_party/json/single_include",
|
||||
]
|
||||
|
||||
|
||||
@@ -11,30 +11,28 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/test.gni")
|
||||
|
||||
module_output_path = "ces_standard/systemtest"
|
||||
module_output_path = "common_event_service/systemtest"
|
||||
|
||||
ohos_systemtest("ActsFuzzTest") {
|
||||
module_out_path = module_output_path
|
||||
resource_config_file = "${ces_standard_path}/test/systemtest/common/resource/fuzzTest/ohos_test.xml"
|
||||
resource_config_file = "${common_event_service_path}/test/systemtest/common/resource/fuzzTest/ohos_test.xml"
|
||||
|
||||
sources = [
|
||||
"${ces_standard_path}/test/systemtest/common/resource/fuzzTest/src/fuzzTestManager.cpp",
|
||||
"${ces_standard_path}/test/systemtest/common/resource/fuzzTest/src/getparam.cpp",
|
||||
"${common_event_service_path}/test/systemtest/common/resource/fuzzTest/src/fuzzTestManager.cpp",
|
||||
"${common_event_service_path}/test/systemtest/common/resource/fuzzTest/src/getparam.cpp",
|
||||
"actsFuzzTest.cpp",
|
||||
]
|
||||
|
||||
configs = [
|
||||
"${ces_standard_path}/test/systemtest/common/ces:cesfwk_kits_test_config",
|
||||
]
|
||||
configs = [ "${common_event_service_path}/test/systemtest/common/ces:cesfwk_kits_test_config" ]
|
||||
|
||||
include_dirs = [
|
||||
"//utils/native/base/include",
|
||||
"//foundation/aafwk/standard/interfaces/innerkits/base/include",
|
||||
"//foundation/aafwk/standard/interfaces/innerkits/want/include/ohos/aafwk/content",
|
||||
"${ces_standard_path}/test/systemtest/common/resource",
|
||||
"${common_event_service_path}/test/systemtest/common/resource",
|
||||
"//third_party/json/single_include",
|
||||
"${services_path}/include",
|
||||
"//foundation/appexecfwk/standard/interfaces/innerkits/libeventhandler/include",
|
||||
@@ -87,7 +85,7 @@ ohos_systemtest("ActsFuzzTest") {
|
||||
"native_appdatamgr:native_rdb",
|
||||
]
|
||||
|
||||
if (ces_standard_with_graphics) {
|
||||
if (common_event_service_with_graphics) {
|
||||
external_deps += [ "input:libmmi-client" ]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/ohos.gni")
|
||||
|
||||
config("cesfwk_kits_test_config") {
|
||||
@@ -58,7 +58,7 @@ ohos_shared_library("cesfwk_kits_test") {
|
||||
"ipc:ipc_core",
|
||||
]
|
||||
subsystem_name = "notification"
|
||||
part_name = "ces_standard"
|
||||
part_name = "common_event_service"
|
||||
}
|
||||
group("systemtest_ces") {
|
||||
testonly = true
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/test.gni")
|
||||
|
||||
module_output_path = "ces_standard/systemtest"
|
||||
module_output_path = "common_event_service/systemtest"
|
||||
|
||||
ohos_systemtest("cesCheckService") {
|
||||
module_out_path = module_output_path
|
||||
@@ -23,7 +23,7 @@ ohos_systemtest("cesCheckService") {
|
||||
|
||||
configs = [
|
||||
"//foundation/appexecfwk/standard/libs/libeventhandler:libeventhandler_config",
|
||||
"${ces_standard_path}/test/systemtest/common/ces:cesfwk_kits_test_config",
|
||||
"${common_event_service_path}/test/systemtest/common/ces:cesfwk_kits_test_config",
|
||||
]
|
||||
|
||||
include_dirs = [
|
||||
|
||||
+3
-5
@@ -11,19 +11,17 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/test.gni")
|
||||
|
||||
module_output_path = "ces_standard/systemtest"
|
||||
module_output_path = "common_event_service/systemtest"
|
||||
|
||||
ohos_systemtest("CESPublishOrderedEventSystmTest") {
|
||||
module_out_path = module_output_path
|
||||
|
||||
sources = [ "common_event_services_publish_ordered_system_test.cpp" ]
|
||||
|
||||
configs = [
|
||||
"${ces_standard_path}/test/systemtest/common/ces:cesfwk_kits_test_config",
|
||||
]
|
||||
configs = [ "${common_event_service_path}/test/systemtest/common/ces:cesfwk_kits_test_config" ]
|
||||
|
||||
include_dirs = [
|
||||
"//utils/native/base/include",
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/test.gni")
|
||||
|
||||
module_output_path = "ces_standard/systemtest"
|
||||
module_output_path = "common_event_service/systemtest"
|
||||
|
||||
ohos_systemtest("cesSystemTest") {
|
||||
module_out_path = module_output_path
|
||||
@@ -23,7 +23,7 @@ ohos_systemtest("cesSystemTest") {
|
||||
|
||||
configs = [
|
||||
"//foundation/appexecfwk/standard/libs/libeventhandler:libeventhandler_config",
|
||||
"${ces_standard_path}/test/systemtest/common/ces:cesfwk_kits_test_config",
|
||||
"${common_event_service_path}/test/systemtest/common/ces:cesfwk_kits_test_config",
|
||||
]
|
||||
|
||||
include_dirs = [
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/ohos.gni")
|
||||
|
||||
group("tools_target") {
|
||||
|
||||
+3
-3
@@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/ohos.gni")
|
||||
|
||||
config("tools_cem_config") {
|
||||
@@ -54,7 +54,7 @@ ohos_source_set("tools_cem_source_set") {
|
||||
"ipc:ipc_core",
|
||||
]
|
||||
subsystem_name = "notification"
|
||||
part_name = "ces_standard"
|
||||
part_name = "common_event_service"
|
||||
}
|
||||
|
||||
ohos_executable("cem") {
|
||||
@@ -63,7 +63,7 @@ ohos_executable("cem") {
|
||||
install_enable = true
|
||||
|
||||
subsystem_name = "notification"
|
||||
part_name = "ces_standard"
|
||||
part_name = "common_event_service"
|
||||
}
|
||||
|
||||
group("tools_cem") {
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/test.gni")
|
||||
|
||||
module_output_path = "ces_standard/tools"
|
||||
module_output_path = "common_event_service/tools"
|
||||
|
||||
tools_cem_mock_sources =
|
||||
[ "${tools_path}/test/mock/mock_common_event_stub.cpp" ]
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/test.gni")
|
||||
|
||||
module_output_path = "ces_standard/tools"
|
||||
module_output_path = "common_event_service/tools"
|
||||
|
||||
config("tools_cem_test_config") {
|
||||
include_dirs = [
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("//base/notification/ces_standard/event.gni")
|
||||
import("//base/notification/common_event_service/event.gni")
|
||||
import("//build/test.gni")
|
||||
|
||||
module_output_path = "ces_standard/tools"
|
||||
module_output_path = "common_event_service/tools"
|
||||
|
||||
config("tools_cem_config_mock") {
|
||||
include_dirs = [
|
||||
|
||||
Reference in New Issue
Block a user