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

Function TEST_F

pj_runtime/tests/toolbox_runtime_host_test.cpp:63–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61};
62
63TEST_F(ToolboxRuntimeHostTest, RegistersWriteRuntimeAndSettingsServices) {
64 host_ =
65 std::make_unique<PJ::ToolboxRuntimeHost>(engine_, object_store_, settings_, PJ::ToolboxRuntimeHost::Callbacks{});
66 auto services = registered();
67
68 EXPECT_TRUE(services.get<PJ::sdk::ToolboxHostService>().has_value());
69 EXPECT_TRUE(services.get<PJ::sdk::ToolboxRuntimeHostService>().has_value());
70 EXPECT_TRUE(services.get<PJ::sdk::SettingsStoreService>().has_value());
71}
72
73TEST_F(ToolboxRuntimeHostTest, NotifyDataChangedFiresOnDataChangedCallback) {
74 int calls = 0;

Callers

nothing calls this directly

Calls 13

storeMethod · 0.80
createDataSourceMethod · 0.80
ensureTopicMethod · 0.80
ensureFieldMethod · 0.80
appendRecordMethod · 0.80
findParserByEncodingMethod · 0.80
entryCountMethod · 0.80
sizeMethod · 0.45
loadMethod · 0.45
listTopicsMethod · 0.45
resetMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected