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

Add more autotests

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