You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2020/03/13 19:25:55 UTC
[celix] branch develop updated (91537f5 -> 0beb54a)
This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/celix.git.
from 91537f5 Merge pull request #169 from apache/feature/first_install_then_start_bundles
add aad0ecd Refactors some celix framework test from cpputest to gtest.
add f4671e0 Refactors the handling of service listeners. This is moved to the service registry and the service listener is now retroactively creating events.
add 3cf342d Removes commented out code.
new 0beb54a Merge pull request #165 from apache/feature/framework_racecondition
The 1 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:
.../example/refining_driver/CMakeLists.txt | 2 +
.../example/refining_driver/src/refining_driver.c | 4 +-
.../topology_manager/CMakeLists.txt | 1 -
.../topology_manager/src/activator.c | 72 ++--
.../topology_manager/src/topology_manager.c | 168 ++++-----
.../topology_manager/src/topology_manager.h | 4 +-
libs/framework/CMakeLists.txt | 6 +-
libs/framework/{test => gtest}/CMakeLists.txt | 18 +-
.../framework/{test => gtest}/config.properties.in | 0
.../{test => gtest}/framework1.properties.in | 0
.../{test => gtest}/framework2.properties.in | 0
.../src}/bundle_context_bundles_tests.cpp | 224 ++++++------
.../src}/bundle_context_services_test.cpp | 353 +++++++++----------
libs/framework/{test => gtest/src}/dm_tests.cpp | 38 ++-
.../src}/multiple_frameworks_test.cpp | 25 +-
libs/framework/{test => gtest/src}/nop_activator.c | 0
.../framework/gtest/src/run_tests.cpp | 17 +-
.../{test => gtest/src}/single_framework_test.cpp | 41 +--
.../{test => gtest}/subdir/CMakeLists.txt | 0
libs/framework/{test => gtest}/subdir/src/foo.c | 0
libs/framework/include/bundle_context.h | 2 +-
libs/framework/include/celix_bundle_context.h | 6 +-
libs/framework/include/service_reference.h | 3 +
libs/framework/include/service_registry.h | 15 +-
libs/framework/include/service_tracker.h | 5 +-
libs/framework/private/mock/bundle_context_mock.c | 3 +-
.../private/mock/service_reference_mock.c | 6 +
.../framework/private/mock/service_registry_mock.c | 22 +-
.../private/test/service_registration_test.cpp | 24 --
.../private/test/service_registry_test.cpp | 161 ++++-----
libs/framework/src/bundle.c | 8 +-
libs/framework/src/bundle_context.c | 13 +-
libs/framework/src/framework.c | 282 +---------------
libs/framework/src/framework_private.h | 3 -
libs/framework/src/registry_callback_private.h | 1 -
libs/framework/src/service_reference.c | 12 +
libs/framework/src/service_registration.c | 9 -
libs/framework/src/service_registration_private.h | 8 +-
libs/framework/src/service_registry.c | 375 +++++++++++++++++----
libs/framework/src/service_registry_private.h | 38 ++-
libs/framework/src/service_tracker.c | 168 +++------
libs/framework/test/run_tests.cpp | 26 --
42 files changed, 996 insertions(+), 1167 deletions(-)
rename libs/framework/{test => gtest}/CMakeLists.txt (84%)
rename libs/framework/{test => gtest}/config.properties.in (100%)
rename libs/framework/{test => gtest}/framework1.properties.in (100%)
rename libs/framework/{test => gtest}/framework2.properties.in (100%)
rename libs/framework/{test => gtest/src}/bundle_context_bundles_tests.cpp (67%)
rename libs/framework/{test => gtest/src}/bundle_context_services_test.cpp (71%)
rename libs/framework/{test => gtest/src}/dm_tests.cpp (67%)
rename libs/framework/{test => gtest/src}/multiple_frameworks_test.cpp (84%)
rename libs/framework/{test => gtest/src}/nop_activator.c (100%)
copy bundles/pubsub/test/test/msg.h => libs/framework/gtest/src/run_tests.cpp (84%)
rename libs/framework/{test => gtest/src}/single_framework_test.cpp (77%)
rename libs/framework/{test => gtest}/subdir/CMakeLists.txt (100%)
rename libs/framework/{test => gtest}/subdir/src/foo.c (100%)
delete mode 100644 libs/framework/test/run_tests.cpp
[celix] 01/01: Merge pull request #165 from
apache/feature/framework_racecondition
Posted by pn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/celix.git
commit 0beb54a4dfc36e39e1f3d929a8df022d3a91bb14
Merge: 91537f5 3cf342d
Author: Pepijn Noltes <pe...@gmail.com>
AuthorDate: Fri Mar 13 20:25:50 2020 +0100
Merge pull request #165 from apache/feature/framework_racecondition
Feature/framework racecondition
.../example/refining_driver/CMakeLists.txt | 2 +
.../example/refining_driver/src/refining_driver.c | 4 +-
.../topology_manager/CMakeLists.txt | 1 -
.../topology_manager/src/activator.c | 72 ++--
.../topology_manager/src/topology_manager.c | 168 ++++-----
.../topology_manager/src/topology_manager.h | 4 +-
libs/framework/CMakeLists.txt | 6 +-
libs/framework/{test => gtest}/CMakeLists.txt | 18 +-
.../framework/{test => gtest}/config.properties.in | 0
.../{test => gtest}/framework1.properties.in | 0
.../{test => gtest}/framework2.properties.in | 0
.../src}/bundle_context_bundles_tests.cpp | 224 ++++++------
.../src}/bundle_context_services_test.cpp | 353 +++++++++----------
libs/framework/{test => gtest/src}/dm_tests.cpp | 38 ++-
.../src}/multiple_frameworks_test.cpp | 25 +-
libs/framework/{test => gtest/src}/nop_activator.c | 0
libs/framework/{test => gtest/src}/run_tests.cpp | 10 +-
.../{test => gtest/src}/single_framework_test.cpp | 41 +--
.../{test => gtest}/subdir/CMakeLists.txt | 0
libs/framework/{test => gtest}/subdir/src/foo.c | 0
libs/framework/include/bundle_context.h | 2 +-
libs/framework/include/celix_bundle_context.h | 6 +-
libs/framework/include/service_reference.h | 3 +
libs/framework/include/service_registry.h | 15 +-
libs/framework/include/service_tracker.h | 5 +-
libs/framework/private/mock/bundle_context_mock.c | 3 +-
.../private/mock/service_reference_mock.c | 6 +
.../framework/private/mock/service_registry_mock.c | 22 +-
.../private/test/service_registration_test.cpp | 24 --
.../private/test/service_registry_test.cpp | 161 ++++-----
libs/framework/src/bundle.c | 8 +-
libs/framework/src/bundle_context.c | 13 +-
libs/framework/src/framework.c | 282 +---------------
libs/framework/src/framework_private.h | 3 -
libs/framework/src/registry_callback_private.h | 1 -
libs/framework/src/service_reference.c | 12 +
libs/framework/src/service_registration.c | 9 -
libs/framework/src/service_registration_private.h | 8 +-
libs/framework/src/service_registry.c | 375 +++++++++++++++++----
libs/framework/src/service_registry_private.h | 38 ++-
libs/framework/src/service_tracker.c | 168 +++------
41 files changed, 995 insertions(+), 1135 deletions(-)