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