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

Add more autotests

parent e377ed0c
...@@ -30,4 +30,12 @@ ChangeCasePluginEditorInterfaceTest::~ChangeCasePluginEditorInterfaceTest() ...@@ -30,4 +30,12 @@ ChangeCasePluginEditorInterfaceTest::~ChangeCasePluginEditorInterfaceTest()
} }
void ChangeCasePluginEditorInterfaceTest::shouldHaveDefaultValues()
{
ChangeCasePluginEditorInterface interface;
QVERIFY(interface.hasPopupMenuSupport());
QVERIFY(!interface.hasConfigureDialog());
QVERIFY(!interface.hasToolBarSupport());
}
QTEST_MAIN(ChangeCasePluginEditorInterfaceTest) QTEST_MAIN(ChangeCasePluginEditorInterfaceTest)
...@@ -26,6 +26,8 @@ class ChangeCasePluginEditorInterfaceTest : public QObject ...@@ -26,6 +26,8 @@ class ChangeCasePluginEditorInterfaceTest : public QObject
public: public:
explicit ChangeCasePluginEditorInterfaceTest(QObject *parent = Q_NULLPTR); explicit ChangeCasePluginEditorInterfaceTest(QObject *parent = Q_NULLPTR);
~ChangeCasePluginEditorInterfaceTest(); ~ChangeCasePluginEditorInterfaceTest();
private Q_SLOTS:
void shouldHaveDefaultValues();
}; };
#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