Commit 0304dd06 authored by Laurent Montel's avatar Laurent Montel 😁

improve autotests

parent 8d7f23f7
......@@ -41,6 +41,8 @@ void AdBlockAutomaticRulesListWidgetTest::shouldCreateRules_data()
QTest::addColumn<QString>("rules");
QTest::addColumn<int>("numberOfItem");
QTest::newRow("notest") << QString() << 0;
QTest::newRow("oneline") << QStringLiteral("ssdfsfsdf") << 1;
QTest::newRow("twoline") << QStringLiteral("ssdfsfsdf\nfoo") << 2;
}
void AdBlockAutomaticRulesListWidgetTest::shouldCreateRules()
......
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