Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 2c1a2345 authored by Laurent Montel's avatar Laurent Montel 😁

Verify that menu is not empty

parent 7430a64e
......@@ -20,6 +20,7 @@
#include "templatesinsertcommandactiontest.h"
#include "templatesinsertcommandaction.h"
#include "templatescommandmenu.h"
#include <QMenu>
#include <QTest>
......@@ -33,6 +34,7 @@ void TemplatesInsertCommandActionTest::shouldHaveDefaultValue()
TemplateParser::TemplatesInsertCommandAction act;
TemplateParser::TemplatesCommandMenu *menu = act.findChild<TemplateParser::TemplatesCommandMenu *>(QStringLiteral("templatescommandmenu"));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment