|
|
|
@ -28,7 +28,6 @@ QTEST_MAIN(SnippetCustomFileAttachmentNameWidgetTest) |
|
|
|
SnippetCustomFileAttachmentNameWidgetTest::SnippetCustomFileAttachmentNameWidgetTest(QObject *parent) |
|
|
|
SnippetCustomFileAttachmentNameWidgetTest::SnippetCustomFileAttachmentNameWidgetTest(QObject *parent) |
|
|
|
: QObject(parent) |
|
|
|
: QObject(parent) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void SnippetCustomFileAttachmentNameWidgetTest::shouldHaveDefaultValues() |
|
|
|
void SnippetCustomFileAttachmentNameWidgetTest::shouldHaveDefaultValues() |
|
|
|
@ -38,7 +37,6 @@ void SnippetCustomFileAttachmentNameWidgetTest::shouldHaveDefaultValues() |
|
|
|
QVERIFY(mainLayout); |
|
|
|
QVERIFY(mainLayout); |
|
|
|
QCOMPARE(mainLayout->contentsMargins(), QMargins(0, 0, 0, 0)); |
|
|
|
QCOMPARE(mainLayout->contentsMargins(), QMargins(0, 0, 0, 0)); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QLineEdit *mLineEdit = w.findChild<QLineEdit *>(QStringLiteral("mLineEdit")); |
|
|
|
QLineEdit *mLineEdit = w.findChild<QLineEdit *>(QStringLiteral("mLineEdit")); |
|
|
|
QVERIFY(mLineEdit); |
|
|
|
QVERIFY(mLineEdit); |
|
|
|
QVERIFY(mLineEdit->text().isEmpty()); |
|
|
|
QVERIFY(mLineEdit->text().isEmpty()); |
|
|
|
|