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

Add more autotest

parent 203fb9f4
......@@ -48,6 +48,7 @@ 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("validLineWithParentheses") << QStringLiteral("log linux (foo)") << QStringLiteral("linux (foo)") << QStringLiteral("log") << true;
QTest::newRow("linewithcomment") << QStringLiteral("log linux#comment about linux") << QStringLiteral("linux") << QStringLiteral("log") << true;
}
......
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