aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2023-01-13refactor: generalize mod models and APIs to resourcesflow
Firstly, this abstract away behavior in the mod download models that can also be applied to other types of resources into a superclass, allowing other resource types to be implemented without so much code duplication. For that, this also generalizes the APIs used (currently, ModrinthAPI and FlameAPI) to be able to make requests to other types of resources. It also does a general cleanup of both of those. In particular, this makes use of std::optional instead of invalid values for errors and, well, optional values :p This is a squash of some commits that were becoming too interlaced together to be cleanly separated. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-26fix: cleanup and suggested changesRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-24fix: update parse testsRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-24feat: validate world savesRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-24fix: force add of ignored testdata filesRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-24feat: add initial support for parseing datapacksRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-11-12refactor: allow copy operation with whitelistSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-03Fix: Using uint8_t in std::uniform_int_distribution is undefinedTheLastRar
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
2022-10-28feat(tests): add test for FS::copy with filesflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-10-15chore(tests): add test for FS copy with dot folders/filesflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-10-08Merge pull request #1033 from Scrumplex/multi-arch-supportSefa Eyeoglu
2022-10-08chore: add missing license headersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20feat: support multiarch system classifiersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20refactor: introduce RuntimeContextSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20fix: comments and naming of texture pack stuffSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20fix: testsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20feat: add texture pack parsingSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-12chore(tests): add test for copy operation with blacklistflow
I almost :skull: because no tests used this x.x Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-11refactor: restructure testsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2016-05-01NOISSUE reorganize unit tests to be placed next to the code they test. Nuke ↵Petr Mrázek
more dead tests.
2016-05-01NOISSUE remove dead unit tests and reorganize CMake code related to unit testsPetr Mrázek
2016-05-01NOISSUE re/move some dead code and unused build system partsPetr Mrázek
2016-04-30NOISSUE split GUI stuff from logic libraryPetr Mrázek
2016-04-30NOISSUE Add a skeleton of the wonko systemJan Dalheimer
2016-03-27NOISSUE finalize support for new mojang version formatPetr Mrázek
2016-03-26NOISSUE share logic for new attributes between mojang and onesix formatPetr Mrázek
2016-03-07NOISSUE make new Mojang version format pass through MultiMC structuresPetr Mrázek
Not yet used effectively, but it is read and written properly
2016-03-03NOISSUE no issue. with unit tests.Petr Mrázek
2016-03-03NOISSUE Fix bad unit test data path and usage of std::absPetr Mrázek
2016-03-03NOISSUE disable complex variant of mojang version format testPetr Mrázek
2016-03-03NOISSUE add basic unit tests for MojangVersionFormat reading/writingPetr Mrázek
will have to make them pass now
2016-03-02NOISSUE eliminate timestamp stringsPetr Mrázek
2016-01-06NOISSUE Add more qt versions to travisJan Dalheimer
5.0, 5.1 and 5.2 are currently marked as "allow failure". If they can be made to pass they should be removed from this list, if not they should be removed entirely.
2016-01-02GH-1365 rework java version parsing and sortingPetr Mrázek
2015-12-28GH-1360 add basic changelog based on github API, fix update dialog buttonsPetr Mrázek
2015-12-26GH-1178 add failing testPetr Mrázek
2015-12-26NOISSUE add a basic test for FS::copyPetr Mrázek
2015-10-05NOISSUE dissolve util libraryPetr Mrázek
2015-09-28NOISSUE clean up some old cmake messesPetr Mrázek
2015-09-26NOISSUE fix all clang warningsPetr Mrázek
2015-09-14GH-1227 renam GZip functions to not collide with zlib macrosPetr Mrázek
2015-09-14GH-1227 add GZip compress function and a unit test fo GZipPetr Mrázek
2015-09-05NOISSUE make shared logic library ... sharedPetr Mrázek
2015-08-18GH-926 implement log cleaning functionalityPetr Mrázek
Also adds gzip compressed log support
2015-06-09GH-1060 update tweaksPetr Mrázek
* download to multimc folder hierarchy * use rename, not copy * keep backup after update * clean previous backup before update * it's not 'copy', it's 'replace'
2015-06-09GH-1060 implement very basic updater (only linux and maybe osx right now)Petr Mrázek
2015-06-09GH-1060 remove some old updater bits and piecesPetr Mrázek
2015-06-06NOISSUE Comment and bugfix the Resource systemJan Dalheimer
2015-06-06NOISSUE Various changes from multiauth that are unrelated to itJan Dalheimer
2015-05-26GH-997 add unit test for ini file save/load passthroughPetr Mrázek