PengZheng commented on code in PR #476: URL: https://github.com/apache/celix/pull/476#discussion_r1132350773
########## libs/framework/gtest/src/bundle_context_bundles_tests.cpp: ########## @@ -641,4 +641,35 @@ TEST_F(CelixBundleContextBundlesTests, testBundleStateToString) { result = celix_bundleState_getName((celix_bundle_state_e)444 /*invalid*/); EXPECT_STREQ(result, "UNKNOWN"); -} \ No newline at end of file +} + +class CelixBundleContextTempBundlesTests : public ::testing::Test { +public: + celix_framework_t* fw = nullptr; + celix_bundle_context_t *ctx = nullptr; + celix_properties_t *properties = nullptr; + + const char * const TEST_BND1_LOC = "" SIMPLE_TEST_BUNDLE1_LOCATION ""; + + CelixBundleContextTempBundlesTests() { + properties = celix_properties_create(); + celix_properties_setBool(properties, "LOGHELPER_ENABLE_STDOUT_FALLBACK", true); + celix_properties_setBool(properties, CELIX_FRAMEWORK_CACHE_USE_TMP_DIR, true); + fw = celix_frameworkFactory_createFramework(properties); Review Comment: Without #496, `fw == NULL` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org