summaryrefslogtreecommitdiff
path: root/tests (follow)
AgeCommit message (Collapse)Author
2022-10-09Fix the tests on the latest Debianjvoisin
2022-05-15Add support for HEIC filesjvoisin
Thanks to Maxime Morin ( https://www.maijin.fr/ ) for the patch.
2022-03-29Please the lintersjvoisin
2022-03-29Simplification of the testsuitejvoisin
2022-03-28Fix the svg tests on archlinuxjvoisin
2021-12-26Fix the Debian CIjvoisin
This should fix #162
2021-12-19Add a fuzzer based on atherisjvoisin
2021-12-08zip archives: keep individual files compression typeDenis 'GNUtoo' Carikli
While hardcoding the compression to zipfile.ZIP_DEFLATED works for most use cases of mat, being able to produce cleaned up uncompressed zip files is useful for content that cannot be compressed more. In addition it also enables to use mat2 for reproducible builds of Android bootanimation files file that don't support compression. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2021-06-06Fix the CI for recent exiftool versionsjvoisin
Always a joy to deal with withespaces
2021-05-05Fix the CI in Fedorajvoisin
2021-04-24Add support for AIFF filesjvoisin
This should close #151
2020-11-30Raise a ValueError explicitlyjvoisin
2020-11-13Fix the CI on fedorajvoisin
2020-11-06Better test of corrupted MSOffice filesjvoisin
2020-03-08Vastly improve ppt compatibilityjvoisin
2020-02-08Fix the testsuitejvoisin
2020-02-05Improve a bit the robustness of the testsuitejvoisin
2020-01-01Add support for wav filesjvoisin
2019-12-23Make the testsuite a bit more robustjvoisin
Some terminals with a small number of column could wrap the cli's output in a way that would make the testsuite fail. This commit break the tests in several smaller one to mitigate this. This issue was originally reported by eleius [here](https://github.com/actionless/pikaur/issues/433), and forwarded as #153.
2019-12-16Handle tiff images with a .tif extensionjvoisin
2019-11-30This is mat2, not MAT2georg
Closes #131
2019-11-30Fix the testsuite on Python3.8jvoisin
There is a bug in Python3.8 (https://bugs.python.org/issue38688) triggering an infinite recursion when copying a tree in a subfolder of the current one. We're working around it by using a list instead of an iterator, so that Python won't "discover" the target folder as part of the source files. This should fix #130
2019-10-13Copy file permissionsjvoisin
Mat2 (the cli) will now copy the input file permissions to the output file.
2019-10-12Add a way to disable the sandboxjvoisin
Due to bubblewrap's pickiness, mat2 can now be run without a sandbox, even if bubblewrap is installed.
2019-10-12Refactor testsjvoisin
2019-10-12Remove an unused variablejvoisin
2019-10-12Fix a test for png's lightweight cleaning on corrupted filesjvoisin
2019-09-01Add support for ppmjvoisin
2019-09-01Add a test for nsid cleaningjvoisin
2019-08-31Add support for inplace cleaningjvoisin
2019-08-01Some arguments of mat2 are mutually exclusivejvoisin
2019-07-22Add a test for svg namespacejvoisin
2019-07-13Add support for svgjvoisin
2019-05-13Rework the dependency checks to distinguish required/optional onesAntoine Tenart
Rework the dependencies definition to include a 'required' flags, which is passed by the check_dependencies helper to the callers, so that they can distinguish between required and optional dependencies. This help in two ways: - The unit test for the dependencies was now failing when an optional one was missing, due to a previous rework. - Mat2's --check-dependencies was referring to "required dependencies" and was misleading for the user as some of them could be optional. Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2019-05-13tests: libmat2: RuntimeError cannot be thrown by chech_dependenciesAntoine Tenart
Remove the try/except logic when calling check_dependencies, as it cannot throw the exception anymore (it's caught already in the function). Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2019-05-09Test the cli's behaviour with valid and invalid filesjvoisin
This should ensure that if we decide to implement some threading in the cli, a faulty file won't break everything.
2019-05-08Add tests to find possible race-conditions in the clijvoisin
2019-05-01Add some verification for "dangerous" tarfilesjvoisin
2019-04-27Handle weird permissions in tar archivesjvoisin
2019-04-27Add support for compressed tar filesjvoisin
2019-04-27Add tar archive supportjvoisin
2019-04-14Improve a bit the verbosity of a testjvoisin
2019-02-28Bump the changelog0.8.0jvoisin
2019-02-27Improve the previous commitjvoisin
- More tests - More documentation - Minor code cleanup
2019-02-27Improve epub supportjvoisin
2019-02-24In archive-based formats, the `mimetype` file comes firstjvoisin
This should improve epub compatibility, along with other formats as a side-effect
2019-02-20Implement epub supportjvoisin
2019-02-08Add support for html filesjvoisin
2019-02-07Use of the archive refactoring for the office documents toojvoisin
2019-02-04Refactor a bit office get_meta handlingjvoisin
This should make easier to get more metadata from archive-based file formats.