NOISSUE improve GradleSpecifier and handle broken library names

This commit is contained in:
Petr Mrázek
2021-04-01 03:50:28 +02:00
parent fbe9d15875
commit 7246d8a779
8 changed files with 68 additions and 48 deletions

View File

@ -31,7 +31,7 @@ slots:
{
QFETCH(QString, through);
QString converted = GradleSpecifier(through);
QString converted = GradleSpecifier(through).serialize();
QCOMPARE(converted, through);
}
@ -68,7 +68,8 @@ slots:
GradleSpecifier spec(input);
QVERIFY(!spec.valid());
QCOMPARE(spec.operator QString(), QString("INVALID"));
QCOMPARE(spec.serialize(), input);
QCOMPARE(spec.toPath(), QString());
}
};