summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-16 14:02:54 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-16 14:02:54 (GMT)
commit2aaa8cc2b34d17cb31a5ecf7ea4199ad91eede0e (patch)
tree4ce5eb9182b5199a546c5d1c5a2b9ec8f5762f5e
parent6d203c3a07534bd0b8a167168ec51c6c3fee8f3c (diff)
Add more autotests
-rw-r--r--autotests/kdebugsettingutiltest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/autotests/kdebugsettingutiltest.cpp b/autotests/kdebugsettingutiltest.cpp
index 137f0cd..4fa89dc 100644
--- a/autotests/kdebugsettingutiltest.cpp
+++ b/autotests/kdebugsettingutiltest.cpp
@@ -46,6 +46,8 @@ void KDebugSettingUtilTest::shouldParseKdeLoggingLine_data()
QTest::newRow("commentWithSpace") << QStringLiteral(" #log linux ") << QString() << QString() << false;
QTest::newRow("badline") << QStringLiteral("log") << QString() << QString() << false;
QTest::newRow("comment-2") << QStringLiteral("#log linux") << QString() << QString() << false;
+
+ QTest::newRow("linewithcomment") << QStringLiteral("log linux#comment about linux") << QStringLiteral("linux") << QStringLiteral("log") << true;
}
void KDebugSettingUtilTest::shouldParseKdeLoggingLine()