Commit 224509bf authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Try to fix autotest

parent 11199bb2
......@@ -53,7 +53,7 @@ void AntiSpamPluginInterfaceTest::shouldEmitActivatedSignal()
AntiSpamPluginInterface interface;
interface.createAction(new KActionCollection(this));
QSignalSpy spy1(&interface, SIGNAL(emitPluginActivated(PimCommon::GenericPluginInterface*)));
QSignalSpy spy1(&interface, SIGNAL(emitPluginActivated(PimCommon::AbstractGenericPluginInterface*)));
interface.actionType().action()->trigger();
QCOMPARE(spy1.count(), 1);
}
......
......@@ -53,7 +53,7 @@ void AntiVirusPluginInterfaceTest::shouldEmitActivatedSignal()
AntiVirusPluginInterface interface;
interface.createAction(new KActionCollection(this));
QSignalSpy spy1(&interface, SIGNAL(emitPluginActivated(PimCommon::GenericPluginInterface*)));
QSignalSpy spy1(&interface, SIGNAL(emitPluginActivated(PimCommon::AbstractGenericPluginInterface*)));
interface.actionType().action()->trigger();
QCOMPARE(spy1.count(), 1);
}
......
Supports Markdown
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