Commit 745900db authored by Laurent Montel's avatar Laurent Montel 😁

Fix autotest

parent ef96b800
...@@ -35,9 +35,10 @@ LogActivitiesPluginInterfaceTest::~LogActivitiesPluginInterfaceTest() ...@@ -35,9 +35,10 @@ LogActivitiesPluginInterfaceTest::~LogActivitiesPluginInterfaceTest()
void LogActivitiesPluginInterfaceTest::shouldHaveDefaultValue() void LogActivitiesPluginInterfaceTest::shouldHaveDefaultValue()
{ {
LogActivitiesPluginInterface interface; LogActivitiesPluginInterface interface;
interface.createAction(new KActionCollection(this));
QVERIFY(!interface.parentWidget()); QVERIFY(!interface.parentWidget());
QCOMPARE(interface.actionTypes().count(), 1); QCOMPARE(interface.actionTypes().count(), 1);
QVERIFY(!interface.actionTypes().at(0).action()); QVERIFY(interface.actionTypes().at(0).action());
} }
void LogActivitiesPluginInterfaceTest::shouldCreateAction() void LogActivitiesPluginInterfaceTest::shouldCreateAction()
......
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