Commit d9b561ba authored by Laurent Montel's avatar Laurent Montel 😁

Add check about debug button

parent 9cf070c6
......@@ -49,6 +49,10 @@ void SieveScriptDebuggerDialogTest::shouldHaveDefaultValue()
QPushButton *mOkButton = dlg.findChild<QPushButton *>(QStringLiteral("okbutton"));
QVERIFY(mOkButton);
QVERIFY(!mOkButton->isEnabled());
QPushButton *mDebugScriptButton = dlg.findChild<QPushButton *>(QStringLiteral("debug_button"));
QVERIFY(mDebugScriptButton);
QVERIFY(!mDebugScriptButton->isEnabled());
}
QTEST_MAIN(SieveScriptDebuggerDialogTest)
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