This is an automated email from the ASF dual-hosted git repository. pnoltes pushed a commit to branch feature/deprecated_framework_header_without_celix_prefix in repository https://gitbox.apache.org/repos/asf/celix.git
commit 49761c05e4ea8918c69487625ad163323bb2cd2e Author: Pepijn Noltes <[email protected]> AuthorDate: Sun Apr 2 22:35:10 2023 +0200 Replace celix_api.h with more explicitly includes --- .../gtest/src/DiscoveryZeroconfAnnouncerTestSuite.cc | 4 +++- .../gtest/src/DiscoveryZeroconfIntegrationTestSuite.cc | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/bundles/remote_services/discovery_zeroconf/gtest/src/DiscoveryZeroconfAnnouncerTestSuite.cc b/bundles/remote_services/discovery_zeroconf/gtest/src/DiscoveryZeroconfAnnouncerTestSuite.cc index fceb2c15..f84806df 100644 --- a/bundles/remote_services/discovery_zeroconf/gtest/src/DiscoveryZeroconfAnnouncerTestSuite.cc +++ b/bundles/remote_services/discovery_zeroconf/gtest/src/DiscoveryZeroconfAnnouncerTestSuite.cc @@ -25,7 +25,9 @@ extern "C" { } #include "endpoint_listener.h" #include "celix_log_helper.h" -#include "celix_api.h" +#include "celix_bundle_context.h" +#include "celix_framework_factory.h" +#include "celix_constants.h" #include "celix_errno.h" #include "eventfd_ei.h" #include "celix_threads_ei.h" diff --git a/bundles/remote_services/discovery_zeroconf/gtest/src/DiscoveryZeroconfIntegrationTestSuite.cc b/bundles/remote_services/discovery_zeroconf/gtest/src/DiscoveryZeroconfIntegrationTestSuite.cc index bcfd9a09..896eaa09 100644 --- a/bundles/remote_services/discovery_zeroconf/gtest/src/DiscoveryZeroconfIntegrationTestSuite.cc +++ b/bundles/remote_services/discovery_zeroconf/gtest/src/DiscoveryZeroconfIntegrationTestSuite.cc @@ -17,7 +17,9 @@ * under the License. */ #include "endpoint_listener.h" -#include "celix_api.h" +#include "celix_framework_factory.h" +#include "celix_bundle_context.h" +#include "celix_constants.h" #include <gtest/gtest.h> class DiscoveryZeroconfIntegrationTestSuite : public ::testing::Test { @@ -44,4 +46,4 @@ public: TEST_F(DiscoveryZeroconfIntegrationTestSuite, FindEndpointListener) { auto found = celix_bundleContext_findService(ctx.get(), OSGI_ENDPOINT_LISTENER_SERVICE); EXPECT_TRUE(found); -} \ No newline at end of file +}
