diff options
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) |