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

Add more autotests

parent 64a75457
......@@ -30,4 +30,12 @@ InsertSpecialCharacterPluginEditorInterfaceTest::~InsertSpecialCharacterPluginEd
}
void InsertSpecialCharacterPluginEditorInterfaceTest::shouldHaveDefaultValue()
{
InsertSpecialCharacterPluginEditorInterface interface;
QVERIFY(!interface.hasConfigureDialog());
QVERIFY(!interface.hasPopupMenuSupport());
QVERIFY(!interface.hasToolBarSupport());
}
QTEST_MAIN(InsertSpecialCharacterPluginEditorInterfaceTest)
......@@ -26,6 +26,8 @@ class InsertSpecialCharacterPluginEditorInterfaceTest : public QObject
public:
explicit InsertSpecialCharacterPluginEditorInterfaceTest(QObject *parent = Q_NULLPTR);
~InsertSpecialCharacterPluginEditorInterfaceTest();
private Q_SLOTS:
void shouldHaveDefaultValue();
};
#endif
......@@ -30,4 +30,12 @@ ZoomTextPluginEditorInterfaceTest::~ZoomTextPluginEditorInterfaceTest()
}
void ZoomTextPluginEditorInterfaceTest::shouldHaveDefaultValue()
{
ZoomTextPluginEditorInterface interface;
QVERIFY(!interface.hasConfigureDialog());
QVERIFY(!interface.hasPopupMenuSupport());
QVERIFY(!interface.hasToolBarSupport());
}
QTEST_MAIN(ZoomTextPluginEditorInterfaceTest)
......@@ -26,6 +26,8 @@ class ZoomTextPluginEditorInterfaceTest : public QObject
public:
explicit ZoomTextPluginEditorInterfaceTest(QObject *parent = Q_NULLPTR);
~ZoomTextPluginEditorInterfaceTest();
private Q_SLOTS:
void shouldHaveDefaultValue();
};
#endif
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