MCPcopy Create free account
hub / github.com/KDE/kdevelop / TestDebuggerPlugin

Class TestDebuggerPlugin

plugins/debuggercommon/tests/plugins/testdebugger.cpp:99–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97};
98
99class TestDebuggerPlugin : public KDevMI::MIDebuggerPlugin
100{
101 Q_OBJECT
102public:
103 TestDebuggerPlugin(QObject* parent, const QVariantList&)
104 : MIDebuggerPlugin("testdebugger", "Test", parent, KDevelop::makeTestPluginMetaData("TestDebugger"))
105 {
106 }
107 ~TestDebuggerPlugin() {}
108
109private:
110 [[nodiscard]] TestDebugSession* createSessionObject() override
111 {
112 return new TestDebugSession();
113 }
114
115 [[nodiscard]] ToolViewFactoryHolderPtr createToolViewFactoryHolder() override
116 {
117 return nullptr;
118 }
119};
120
121K_PLUGIN_FACTORY_WITH_JSON(TestDebuggerFactory, "testdebugger.json", registerPlugin<TestDebuggerPlugin>(); )
122

Callers

nothing calls this directly

Calls 2

makeTestPluginMetaDataFunction · 0.85
MIDebuggerPluginClass · 0.50

Tested by

no test coverage detected