aboutsummaryrefslogtreecommitdiff
path: root/tests/TexturePackParse_test.cpp
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-08-05 19:09:10 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-08-05 19:09:10 +0300
commitb2fdd8359405c93d0d93aa8c68971c986a1f68cb (patch)
tree59859119373213ce04b2f5e2d7a95227b57be609 /tests/TexturePackParse_test.cpp
parent149b6d59cf848a3b3cd50b3aee1c112e9c47e633 (diff)
parentae793f6cf11658c9abc5111e82d5ba7b3e6af127 (diff)
downloadPrismLauncher-b2fdd8359405c93d0d93aa8c68971c986a1f68cb.tar.gz
PrismLauncher-b2fdd8359405c93d0d93aa8c68971c986a1f68cb.tar.bz2
PrismLauncher-b2fdd8359405c93d0d93aa8c68971c986a1f68cb.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into download_threads
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'tests/TexturePackParse_test.cpp')
-rw-r--r--tests/TexturePackParse_test.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/TexturePackParse_test.cpp b/tests/TexturePackParse_test.cpp
index 4ddc0a3a..85c96b57 100644
--- a/tests/TexturePackParse_test.cpp
+++ b/tests/TexturePackParse_test.cpp
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0-only
/*
- * PolyMC - Minecraft Launcher
+ * Prism Launcher - Minecraft Launcher
* Copyright (c) 2022 flowln <flowlnlnln@gmail.com>
* Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net>
*
@@ -28,13 +28,13 @@
class TexturePackParseTest : public QObject {
Q_OBJECT
- private slots:
+ private slots:
void test_parseZIP()
{
QString source = QFINDTESTDATA("testdata/TexturePackParse");
QString zip_rp = FS::PathCombine(source, "test_texture_pack_idk.zip");
- TexturePack pack { QFileInfo(zip_rp) };
+ TexturePack pack{ QFileInfo(zip_rp) };
bool valid = TexturePackUtils::processZIP(pack);
@@ -47,7 +47,7 @@ class TexturePackParseTest : public QObject {
QString source = QFINDTESTDATA("testdata/TexturePackParse");
QString folder_rp = FS::PathCombine(source, "test_texturefolder");
- TexturePack pack { QFileInfo(folder_rp) };
+ TexturePack pack{ QFileInfo(folder_rp) };
bool valid = TexturePackUtils::processFolder(pack, TexturePackUtils::ProcessingLevel::BasicInfoOnly);
@@ -60,7 +60,7 @@ class TexturePackParseTest : public QObject {
QString source = QFINDTESTDATA("testdata/TexturePackParse");
QString folder_rp = FS::PathCombine(source, "another_test_texturefolder");
- TexturePack pack { QFileInfo(folder_rp) };
+ TexturePack pack{ QFileInfo(folder_rp) };
bool valid = TexturePackUtils::process(pack, TexturePackUtils::ProcessingLevel::BasicInfoOnly);