clang-format fixes

This commit is contained in:
cullvox 2023-09-12 21:45:29 -04:00
parent a4e6530513
commit ddf0c28b1b
3 changed files with 19 additions and 39 deletions

View File

@ -34,7 +34,6 @@ bool process(ResourcePack& pack, ProcessingLevel level = ProcessingLevel::Full);
bool processZIP(ResourcePack& pack, ProcessingLevel level = ProcessingLevel::Full);
bool processFolder(ResourcePack& pack, ProcessingLevel level = ProcessingLevel::Full);
struct TextFormatter;
bool processComponent(const QJsonValue& value, QString& result, const TextFormatter* parentFormat = nullptr);
bool processMCMeta(ResourcePack& pack, QByteArray&& raw_data);

View File

@ -33,11 +33,11 @@
* limitations under the License.
*/
#include <QTest>
#include <QTimer>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonValue>
#include <QTest>
#include <QTimer>
#include <FileSystem.h>
@ -77,30 +77,11 @@ class MetaComponentParseTest : public QObject {
}
private slots:
void test_parseComponentBasic()
{
doTest("component_basic.json");
}
void test_parseComponentWithFormat()
{
doTest("component_with_format.json");
}
void test_parseComponentWithExtra()
{
doTest("component_with_extra.json");
}
void test_parseComponentWithLink()
{
doTest("component_with_link.json");
}
void test_parseComponentWithMixed()
{
doTest("component_with_mixed.json");
}
void test_parseComponentBasic() { doTest("component_basic.json"); }
void test_parseComponentWithFormat() { doTest("component_with_format.json"); }
void test_parseComponentWithExtra() { doTest("component_with_extra.json"); }
void test_parseComponentWithLink() { doTest("component_with_link.json"); }
void test_parseComponentWithMixed() { doTest("component_with_mixed.json"); }
};
QTEST_GUILESS_MAIN(MetaComponentParseTest)