Commit 38cc525d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add autotests

parent ed391461
Pipeline #92538 passed with stage
in 50 minutes and 29 seconds
......@@ -6,6 +6,7 @@
#include "scamconfiguresettingswidgettest.h"
#include "../scamconfiguresettingswidget.h"
#include <QTest>
#include <QVBoxLayout>
QTEST_MAIN(ScamConfigureSettingsWidgetTest)
ScamConfigureSettingsWidgetTest::ScamConfigureSettingsWidgetTest(QObject *parent)
: QObject{parent}
......@@ -15,5 +16,7 @@ ScamConfigureSettingsWidgetTest::ScamConfigureSettingsWidgetTest(QObject *parent
void ScamConfigureSettingsWidgetTest::shouldHaveDefaultValues()
{
ScamConfigureSettingsWidget w;
// TODO
auto mainLayout = w.findChild<QVBoxLayout *>(QStringLiteral("mainLayout"));
QVERIFY(mainLayout);
QCOMPARE(mainLayout->contentsMargins(), {});
}
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