Commit 0f01103a authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

locationsrunner: Expand unit tests

parent 8b6ad495
......@@ -85,6 +85,9 @@ void LocationsRunnerTest::shouldNotProduceResult_data()
QTest::newRow("non existent file URL") << QUrl::fromLocalFile(QDir::homePath() + "_thisfiledoesnotexist.abc").toString();
QTest::newRow("nonexistent file with $HOME as env variable") << "$HOME/_thisfiledoesnotexist.abc";
QTest::newRow("nonexistent protocol") << "thisprotocoldoesnotexist:test123";
QTest::newRow("empty string") << "";
QTest::newRow("missing closing double quote") << "\"";
QTest::newRow("missing closing single quote") << "'";
}
void LocationsRunnerTest::shouldProduceResult_data()
......
Supports Markdown
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