diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-03-07 02:01:28 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-03-07 02:03:36 +0100 |
commit | d4eacb56b30baaef801f42545398a4f29755fadf (patch) | |
tree | 0a185b0841f12c5af431cdedeb8695691ac0bce9 /tests/tst_MojangVersionFormat.cpp | |
parent | 3d8728f52f220845fc4079d34b97458a122ac031 (diff) | |
download | MultiMC-d4eacb56b30baaef801f42545398a4f29755fadf.tar MultiMC-d4eacb56b30baaef801f42545398a4f29755fadf.tar.gz MultiMC-d4eacb56b30baaef801f42545398a4f29755fadf.tar.lz MultiMC-d4eacb56b30baaef801f42545398a4f29755fadf.tar.xz MultiMC-d4eacb56b30baaef801f42545398a4f29755fadf.zip |
NOISSUE make new Mojang version format pass through MultiMC structures
Not yet used effectively, but it is read and written properly
Diffstat (limited to 'tests/tst_MojangVersionFormat.cpp')
-rw-r--r-- | tests/tst_MojangVersionFormat.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/tst_MojangVersionFormat.cpp b/tests/tst_MojangVersionFormat.cpp index 4c48fcdc..a9a3f977 100644 --- a/tests/tst_MojangVersionFormat.cpp +++ b/tests/tst_MojangVersionFormat.cpp @@ -34,21 +34,19 @@ slots: QJsonDocument doc = readJson("tests/data/1.9-simple.json"); auto vfile = MojangVersionFormat::versionFileFromJson(doc, "1.9-simple.json"); auto doc2 = MojangVersionFormat::profilePatchToJson(vfile); - writeJson("beast.json", doc2); + writeJson("1.9-simple-passthorugh.json", doc2); QCOMPARE(doc, doc2); } - // not yet - /* + void test_Through() { QJsonDocument doc = readJson("tests/data/1.9.json"); auto vfile = MojangVersionFormat::versionFileFromJson(doc, "1.9.json"); auto doc2 = MojangVersionFormat::profilePatchToJson(vfile); + writeJson("1.9-passthorugh.json", doc2); QCOMPARE(doc, doc2); } - */ - }; QTEST_GUILESS_MAIN(MojangVersionFormatTest) |