aboutsummaryrefslogtreecommitdiff
path: root/tests/GradleSpecifier_test.cpp
diff options
context:
space:
mode:
authorTayou <31988415+TayouVR@users.noreply.github.com>2023-08-07 10:32:38 +0200
committerGitHub <noreply@github.com>2023-08-07 10:32:38 +0200
commit9afa7cc91fd889b146c609c6a59f7f7b3d995d9f (patch)
tree20ef3bd30beedca4995875485e468ee323d52096 /tests/GradleSpecifier_test.cpp
parentb572f75dbaad61cf305f1fd4f60ba94d74bfa3fa (diff)
parent75c7df46a7022a46d447bb96fbde619e5d65db05 (diff)
downloadPrismLauncher-9afa7cc91fd889b146c609c6a59f7f7b3d995d9f.tar.gz
PrismLauncher-9afa7cc91fd889b146c609c6a59f7f7b3d995d9f.tar.bz2
PrismLauncher-9afa7cc91fd889b146c609c6a59f7f7b3d995d9f.zip
Merge branch 'develop' into icon-indexing
Signed-off-by: Tayou <31988415+TayouVR@users.noreply.github.com>
Diffstat (limited to 'tests/GradleSpecifier_test.cpp')
-rw-r--r--tests/GradleSpecifier_test.cpp22
1 files changed, 8 insertions, 14 deletions
diff --git a/tests/GradleSpecifier_test.cpp b/tests/GradleSpecifier_test.cpp
index 850f8388..fa3c4ad9 100644
--- a/tests/GradleSpecifier_test.cpp
+++ b/tests/GradleSpecifier_test.cpp
@@ -2,19 +2,11 @@
#include <minecraft/GradleSpecifier.h>
-class GradleSpecifierTest : public QObject
-{
+class GradleSpecifierTest : public QObject {
Q_OBJECT
-private
-slots:
- void initTestCase()
- {
-
- }
- void cleanupTestCase()
- {
-
- }
+ private slots:
+ void initTestCase() {}
+ void cleanupTestCase() {}
void test_Positive_data()
{
@@ -40,8 +32,10 @@ slots:
QTest::addColumn<QString>("spec");
QTest::addColumn<QString>("expected");
- QTest::newRow("3 parter") << "group.id:artifact:1.0" << "group/id/artifact/1.0/artifact-1.0.jar";
- QTest::newRow("doom") << "id.software:doom:1.666:demons@wad" << "id/software/doom/1.666/doom-1.666-demons.wad";
+ QTest::newRow("3 parter") << "group.id:artifact:1.0"
+ << "group/id/artifact/1.0/artifact-1.0.jar";
+ QTest::newRow("doom") << "id.software:doom:1.666:demons@wad"
+ << "id/software/doom/1.666/doom-1.666-demons.wad";
}
void test_Path()
{