summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-29 05:40:47 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-29 05:40:47 (GMT)
commitd7f87431534b140667e410df3d5401fb51982ddb (patch)
tree403d3dcff616c42a72be82d0a42301839567542d
parent7c0222f8aca77f8a9a130069d79692c816d95fe6 (diff)
More autotest
-rw-r--r--plugins/messageviewerplugins/externalscriptplugin/autotests/viewerpluginexternaleditwidgettest.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/messageviewerplugins/externalscriptplugin/autotests/viewerpluginexternaleditwidgettest.cpp b/plugins/messageviewerplugins/externalscriptplugin/autotests/viewerpluginexternaleditwidgettest.cpp
index fee3f6e..2acadd8 100644
--- a/plugins/messageviewerplugins/externalscriptplugin/autotests/viewerpluginexternaleditwidgettest.cpp
+++ b/plugins/messageviewerplugins/externalscriptplugin/autotests/viewerpluginexternaleditwidgettest.cpp
@@ -65,6 +65,11 @@ void ViewerPluginExternalEditWidgetTest::shouldGetSaveInfo_data()
info.setName(QStringLiteral("bla"));
QTest::newRow("test1") << info;
+ info.setIsReadOnly(true);
+ QTest::newRow("test2") << info;
+
+ info.setFileName(QStringLiteral("lili"));
+ QTest::newRow("test3") << info;
}
void ViewerPluginExternalEditWidgetTest::shouldGetSaveInfo()