This is an automated email from the ASF dual-hosted git repository.
xuzhenbao pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/celix.git
from 19529d7a Merge pull request #534 from
apache/feature/array_list_return_status_on_modification
new 0c0833a0 Add shm_pool unit test
new d826428d Own header use #include "xxx.h"
new 7045942a Update branch
new 29125181 Merge branch 'master' of https://github.com/xuzhenbao/celix
into rsa_shm_unit_test
new 4dad2004 Add unit test for rsa_shm
new b12db9a5 Use #include " " for celix own header
new cbcf9867 Add unit test for rsa_rpc_json
new 1c4c31c6 Fixing test case for rsa
new dcd3896e rsa_json_rpc and rsa_request_sender use the same log helper
new 7ed55585 Remove an unnecessary dependency
new d640a5eb Add LINKER_WRAP_SUPPORTED option for some unit tests
new 9e631c14 Merge master codes
new 8f1f2e24 Merge master codes
new c0666d0e Merge pull request #537 from xuzhenbao/rsa_shm_unit_test
The 3427 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../discovery_zeroconf/gtest/CMakeLists.txt | 48 +-
.../rsa_shm/CMakeLists.txt | 41 +-
.../rsa_shm/gtest/CMakeLists.txt | 84 +-
.../rsa_shm/gtest/resources/client.properties.in | 25 -
...org.apache.celix.test.api.Calculator.descriptor | 9 +
.../rsa_shm/gtest/resources/server.properties.in | 25 -
.../gtest/src/RsaShmActivatorUnitTestSuite.cc | 103 +++
.../gtest/src/RsaShmClientServerTestSuite.cc | 62 --
.../gtest/src/RsaShmClientServerUnitTestSuite.cc | 738 ++++++++++++++++
.../src/RsaShmExportRegistrationUnitTestSuite.cc | 474 ++++++++++
.../rsa_shm/gtest/src/RsaShmImplUnitTestSuite.cc | 825 ++++++++++++++++++
.../src/RsaShmImportRegistrationUnitTestSuite.cc | 287 +++++++
...rTestSuite.cc => RsaShmIntegrationTestSuite.cc} | 12 +-
.../rsa_shm/gtest/src/RsaShmTestService.h} | 27 +-
.../rsa_shm/gtest/src/RsaShmTestSuite.cc | 162 ----
.../rsa_shm/gtest/src/thpool_ei.cc} | 32 +-
.../rsa_shm/gtest/src/thpool_ei.h | 11 +-
.../rsa_shm/src/rsa_shm_activator.c | 40 +-
.../rsa_shm/src/rsa_shm_client.c | 127 +--
.../rsa_shm/src/rsa_shm_client.h | 8 +-
.../rsa_shm/src/rsa_shm_export_registration.c | 52 +-
.../rsa_shm/src/rsa_shm_export_registration.h | 12 +-
.../rsa_shm/src/rsa_shm_impl.c | 307 ++++---
.../rsa_shm/src/rsa_shm_impl.h | 12 +-
.../rsa_shm/src/rsa_shm_import_registration.c | 35 +-
.../rsa_shm/src/rsa_shm_import_registration.h | 11 +-
.../rsa_shm/src/rsa_shm_msg.h | 1 +
.../rsa_shm/src/rsa_shm_server.c | 75 +-
.../rsa_shm/src/rsa_shm_server.h | 4 +-
.../shm_pool/gtest/CMakeLists.txt | 23 +-
.../shm_pool/gtest/src/ShmCacheTestSuite.cc | 105 ++-
.../shm_pool/gtest/src/ShmPoolTestSuite.cc | 64 +-
.../shm_pool/src/shm_cache.c | 24 +-
.../shm_pool/src/shm_pool.c | 14 +-
.../remote_services/rsa_rpc_json/CMakeLists.txt | 41 +-
.../rsa_rpc_json/gtest/CMakeLists.txt | 64 +-
.../org.apache.celix.test.api.rpc_json.descriptor | 5 +-
.../gtest/src/RsaJsonRpcActivatorUnitTestSuite.cc | 112 +++
...tSuite.cc => RsaJsonRpcIntegrationTestSuite.cc} | 29 +-
.../rsa_rpc_json/gtest/src/RsaJsonRpcTestService.h | 31 +-
.../rsa_rpc_json/gtest/src/RsaJsonRpcTestSuite.cc | 295 -------
.../gtest/src/RsaJsonRpcUnitTestSuite.cc | 950 +++++++++++++++++++++
.../src/RsaRequestSenderTrackerUnitTestSuite.cc | 147 ++++
.../rsa_rpc_json/src/rsa_json_rpc_activator.c | 16 +-
.../rsa_rpc_json/src/rsa_json_rpc_endpoint_impl.c | 37 +-
.../rsa_rpc_json/src/rsa_json_rpc_endpoint_impl.h | 9 +-
.../rsa_rpc_json/src/rsa_json_rpc_impl.c | 46 +-
.../rsa_rpc_json/src/rsa_json_rpc_impl.h | 6 +-
.../rsa_rpc_json/src/rsa_json_rpc_proxy_impl.c | 51 +-
.../rsa_rpc_json/src/rsa_json_rpc_proxy_impl.h | 10 +-
.../rsa_rpc_json/src/rsa_request_sender_tracker.c | 32 +-
.../rsa_rpc_json/src/rsa_request_sender_tracker.h | 9 +-
bundles/remote_services/rsa_spi/CMakeLists.txt | 5 +
libs/dfi/CMakeLists.txt | 4 +-
libs/error_injector/CMakeLists.txt | 7 +
.../{malloc => celix_bundle}/CMakeLists.txt | 16 +-
.../include/celix_bundle_ei.h} | 10 +-
.../celix_bundle/src/celix_bundle_ei.cc} | 32 +-
.../error_injector/celix_bundle_ctx/CMakeLists.txt | 11 +-
.../include/celix_bundle_context_ei.h | 6 +
.../src/celix_bundle_context_ei.cc | 43 +
.../CMakeLists.txt | 10 +-
.../include/celix_log_helper_ei.h} | 9 +-
.../src/celix_log_helper_ei.cc} | 18 +-
libs/error_injector/celix_threads/CMakeLists.txt | 6 +-
.../celix_threads/include/celix_threads_ei.h | 3 +
.../celix_threads/src/celix_threads_ei.cc | 23 +-
libs/error_injector/celix_utils/CMakeLists.txt | 2 +
.../celix_utils/include/celix_utils_ei.h | 4 +
.../celix_utils/src/celix_utils_ei.cc | 14 +
.../{dlfcn => celix_version}/CMakeLists.txt | 13 +-
.../include/celix_version_ei.h} | 11 +-
.../celix_version/src/celix_version_ei.cc} | 27 +-
libs/error_injector/{zip => dfi}/CMakeLists.txt | 19 +-
.../include/eventfd_ei.h => dfi/include/dfi_ei.h} | 12 +-
libs/error_injector/dfi/src/dfi_ei.cc | 45 +
.../{ifaddrs => pthread}/CMakeLists.txt | 19 +-
.../include/pthread_ei.h} | 27 +-
libs/error_injector/pthread/src/pthread_ei.cc | 79 ++
.../error_injector/socket}/CMakeLists.txt | 18 +-
.../eventfd_ei.h => socket/include/socket_ei.h} | 9 +-
.../src/eventfd_ei.cc => socket/src/socket_ei.cc} | 25 +-
libs/error_injector/stdio/CMakeLists.txt | 1 +
libs/error_injector/stdio/include/stdio_ei.h | 2 +
libs/error_injector/stdio/src/stdio_ei.cc | 10 +
.../{eventfd => sys_shm}/CMakeLists.txt | 10 +-
.../eventfd_ei.h => sys_shm/include/sys_shm_ei.h} | 10 +-
.../error_injector/sys_shm/src/sys_shm_ei.cc | 30 +-
88 files changed, 5053 insertions(+), 1306 deletions(-)
delete mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/resources/client.properties.in
create mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/resources/org.apache.celix.test.api.Calculator.descriptor
delete mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/resources/server.properties.in
create mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/RsaShmActivatorUnitTestSuite.cc
delete mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/RsaShmClientServerTestSuite.cc
create mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/RsaShmClientServerUnitTestSuite.cc
create mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/RsaShmExportRegistrationUnitTestSuite.cc
create mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/RsaShmImplUnitTestSuite.cc
create mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/RsaShmImportRegistrationUnitTestSuite.cc
rename
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/{RsaShmActivatorTestSuite.cc
=> RsaShmIntegrationTestSuite.cc} (90%)
copy
bundles/remote_services/{examples/calculator_api/include/calculator_service.h
=> remote_service_admin_shm_v2/rsa_shm/gtest/src/RsaShmTestService.h} (64%)
delete mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/RsaShmTestSuite.cc
copy
bundles/remote_services/{discovery_zeroconf/src/discovery_zeroconf_announcer.h
=> remote_service_admin_shm_v2/rsa_shm/gtest/src/thpool_ei.cc} (55%)
copy libs/error_injector/eventfd/include/eventfd_ei.h =>
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/thpool_ei.h
(82%)
copy libs/dfi/gtest/descriptors/invalids/invalidMethodReturnType.descriptor =>
bundles/remote_services/rsa_rpc_json/gtest/resources/org.apache.celix.test.api.rpc_json.descriptor
(50%)
create mode 100644
bundles/remote_services/rsa_rpc_json/gtest/src/RsaJsonRpcActivatorUnitTestSuite.cc
rename
bundles/remote_services/rsa_rpc_json/gtest/src/{RsaJsonRpcActivatorTestSuite.cc
=> RsaJsonRpcIntegrationTestSuite.cc} (65%)
copy libs/framework/include_deprecated/service_factory.h =>
bundles/remote_services/rsa_rpc_json/gtest/src/RsaJsonRpcTestService.h (62%)
delete mode 100644
bundles/remote_services/rsa_rpc_json/gtest/src/RsaJsonRpcTestSuite.cc
create mode 100644
bundles/remote_services/rsa_rpc_json/gtest/src/RsaJsonRpcUnitTestSuite.cc
create mode 100644
bundles/remote_services/rsa_rpc_json/gtest/src/RsaRequestSenderTrackerUnitTestSuite.cc
copy libs/error_injector/{malloc => celix_bundle}/CMakeLists.txt (64%)
copy libs/error_injector/{eventfd/include/eventfd_ei.h =>
celix_bundle/include/celix_bundle_ei.h} (80%)
copy libs/{framework/include/celix_service_factory.h =>
error_injector/celix_bundle/src/celix_bundle_ei.cc} (54%)
copy libs/error_injector/{celix_properties => celix_log_helper}/CMakeLists.txt
(71%)
copy libs/error_injector/{eventfd/include/eventfd_ei.h =>
celix_log_helper/include/celix_log_helper_ei.h} (81%)
copy libs/error_injector/{eventfd/include/eventfd_ei.h =>
celix_log_helper/src/celix_log_helper_ei.cc} (66%)
copy libs/error_injector/{dlfcn => celix_version}/CMakeLists.txt (70%)
copy libs/error_injector/{eventfd/include/eventfd_ei.h =>
celix_version/include/celix_version_ei.h} (81%)
copy libs/{framework/include/celix_service_listener.h =>
error_injector/celix_version/src/celix_version_ei.cc} (67%)
copy libs/error_injector/{zip => dfi}/CMakeLists.txt (67%)
copy libs/error_injector/{eventfd/include/eventfd_ei.h =>
dfi/include/dfi_ei.h} (79%)
create mode 100644 libs/error_injector/dfi/src/dfi_ei.cc
copy libs/error_injector/{ifaddrs => pthread}/CMakeLists.txt (56%)
copy libs/error_injector/{celix_threads/include/celix_threads_ei.h =>
pthread/include/pthread_ei.h} (66%)
create mode 100644 libs/error_injector/pthread/src/pthread_ei.cc
copy {bundles/http_admin => libs/error_injector/socket}/CMakeLists.txt (70%)
copy libs/error_injector/{eventfd/include/eventfd_ei.h =>
socket/include/socket_ei.h} (86%)
copy libs/error_injector/{eventfd/src/eventfd_ei.cc =>
socket/src/socket_ei.cc} (59%)
copy libs/error_injector/{eventfd => sys_shm}/CMakeLists.txt (72%)
copy libs/error_injector/{eventfd/include/eventfd_ei.h =>
sys_shm/include/sys_shm_ei.h} (86%)
copy
examples/celix-examples/dependency_manager_example_cxx/api/IAnotherExample.h =>
libs/error_injector/sys_shm/src/sys_shm_ei.cc (62%)