added version test for snapshot
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
4ee6a6711d
commit
c78d4e7bb6
@ -55,6 +55,8 @@ class VersionTest : public QObject {
|
|||||||
<< "2.2.0" << true << false;
|
<< "2.2.0" << true << false;
|
||||||
QTest::newRow("lessThan, two-digit") << "1.41"
|
QTest::newRow("lessThan, two-digit") << "1.41"
|
||||||
<< "1.42" << true << false;
|
<< "1.42" << true << false;
|
||||||
|
QTest::newRow("lessThan, snapshot") << "1.20.0-rc2"
|
||||||
|
<< "1.20.1" << true << false;
|
||||||
|
|
||||||
QTest::newRow("greaterThan, explicit 1") << "1.2.1"
|
QTest::newRow("greaterThan, explicit 1") << "1.2.1"
|
||||||
<< "1.2.0" << false << false;
|
<< "1.2.0" << false << false;
|
||||||
@ -72,6 +74,8 @@ class VersionTest : public QObject {
|
|||||||
<< "1.2" << false << false;
|
<< "1.2" << false << false;
|
||||||
QTest::newRow("greaterThan, two-digit") << "1.42"
|
QTest::newRow("greaterThan, two-digit") << "1.42"
|
||||||
<< "1.41" << false << false;
|
<< "1.41" << false << false;
|
||||||
|
QTest::newRow("greaterThan, snapshot") << "1.20.2-rc2"
|
||||||
|
<< "1.20.1" << false << false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
|
Loading…
Reference in New Issue
Block a user