MCPcopy Create free account
hub / github.com/CppMicroServices/CppMicroServices / TEST_F

Function TEST_F

framework/test/gtest/BundleActivatorTest.cpp:66–71  ·  view source on GitHub ↗

bundle.activator property not specified in the manifest and bundle has no activator class

Source from the content-addressed store, hash-verified

64
65// bundle.activator property not specified in the manifest and bundle has no activator class
66TEST_F(BundleActivatorTest, NoPropertyNoClass)
67{
68 auto bundle = cppmicroservices::testing::InstallLib(ctx, "TestBundleR");
69 EXPECT_TRUE(bundle);
70 EXPECT_NO_THROW(bundle.Start());
71}
72
73// bundle.activator property not specified in the manifest and bundle has an activator class
74TEST_F(BundleActivatorTest, NoPropertyWithClass)

Callers

nothing calls this directly

Calls 8

InstallLibFunction · 0.85
GetThrowableMethod · 0.80
StartMethod · 0.45
GetServiceReferenceMethod · 0.45
GetBundleContextMethod · 0.45
GetTypeMethod · 0.45
AddFrameworkListenerMethod · 0.45

Tested by

no test coverage detected