python/tests


Log

Author Commit Date CI Message
Robert Obryk eb3a31e2 2024-09-18T15:25:06 add max_length to Python streaming decompression
Brotli d019271c 2025-01-06T03:05:20 Copybara import of the project: -- f1bdfaa803e62ce3608e0226c98da1cf20abebdc by Robert Obryk <robryk@google.com>: add size limit to buffer -- ef8922cee72a1c0b0c35ed109ae9d2d637177bfe by Robert Obryk <robryk@google.com>: add max_length to Python streaming decompression PiperOrigin-RevId: 712463460
Robert Obryk ef8922ce 2024-09-18T15:25:06 add max_length to Python streaming decompression
Evgenii Kliuchnikov bc32ae12 2023-07-04T13:01:14 add tests with UTF8/UTF16 non-ASCII text PiperOrigin-RevId: 545424981
Brotli 36533a86 2023-01-16T18:04:35 Internal change PiperOrigin-RevId: 502401179
Eugene Kliuchnikov 8376f72e 2021-11-10T10:34:39 Prepare for copybara (#939) Co-authored-by: Eugene Kliuchnikov <eustas@chromium.org>
Justin Ridgewell 5805f99a 2018-11-12T04:36:00 Ensure decompression consumes all input (#730) * Ensure decompression consumes all input If not, it's a corrupt stream. * Use byte strings
Eugene Kliuchnikov 2c034825 2018-03-23T02:09:00 Fix "memory leak" in python tests (#652) OOMs on RPi (1GB)
Alex Nicksay 019091f9 2017-08-08T04:25:39 Python: Update bro_test to reference script directly (#582)
Eugene Kliuchnikov d63e8f75 2017-08-04T10:02:56 Update API, and more (#581) Update API, and more: * remove "custom dictionary" support * c/encoder: fix #580: big-endian build * Java: reduce jar size * Java: speedup decoding * Java: add 32-bit CPU support * Java: make source code JS transpiler-ready
Eugene Kliuchnikov 52441069 2017-07-21T10:07:24 Update (#574) * Update * decoder: better behavior after failure * encoder: replace "len_x_code" with delta * research: add experimental dictionary generator * python: test combing
Eugene Kliuchnikov 1becbbf2 2017-06-30T13:09:50 Update (#569) * add misssing fclose in `brotli.c` * add basic tests for python `Decompressor` type * minor lint fixes in `_brotli.cc`
Alex Nicksay 89a5b6e6 2016-12-20T08:40:47 Python: Simplify test suite generation by using unittest discovery (#485)
Alex Nicksay 6f227228 2016-12-12T04:28:44 Python: Use a temporary directory for generated files in tests (#481)
Alex Nicksay 4a60128c 2016-12-09T07:44:05 Python: Convert bro.py tests to unittest style (#478) * Create unittest-style tests for `bro.py` decompression and compression * Delete old tests for `bro.py` * Update test method generation to properly create a Cartesian product of iterables using `itertools.product`
Alex Nicksay 1e5ea6ae 2016-11-09T06:21:13 Python: Add unit tests for brotli.compress and brotli.decompress (#467) Also - rename `test_utils` to `_test_utils` - refactor shared code into `_test_utils`
Alex Nicksay a260b6ba 2016-10-31T08:24:01 Python: Add tests for streamed compression (#458) Progress on #191
eustas 81054a46 2016-06-17T20:24:24 Restore platform suffix
eustas f0c7ece3 2016-06-16T17:45:05 Remove platform suffix
eustas bac060f1 2016-06-16T17:25:26 Fix library path
Eugene Kliuchnikov 3ccbf05d 2016-06-13T11:01:04 Convert encoder to plain C.
Eugene Kliuchnikov 8872d7b4 2016-06-13T15:22:13 Fix CI build.
eustas 55bd78fb 2016-06-03T12:31:02 Fix test file path
eustas ab53fc31 2016-06-03T12:30:45 Fix test file path
Eugene Kliuchnikov db3a1162 2016-06-13T15:22:13 Fix CI build.
Eugene Kliuchnikov b972c677 2016-06-13T11:01:04 Convert encoder to plain C.
eustas b73ebe32 2016-06-03T12:31:02 Fix test file path
eustas 66606e7d 2016-06-03T12:30:45 Fix test file path
Cosimo Lupo f66c7c54 2016-04-10T20:51:10 python/tests: clean up generated files if successful
Eugene Kliuchnikov 7d25e6b6 2016-02-24T16:01:35 Truncate dictionary to window size.
Eugene Kliuchnikov cbb0d4cd 2016-02-23T17:45:42 Remove streaming test.
Eugene Kliuchnikov 30612e3a 2016-02-23T17:42:55 Add binding for custom_dictionary.
Cosimo Lupo e356b9bc 2015-05-11T14:12:37 [roundtrip_test.py] repeat test at different quality (1, 6, 9, 11)
Cosimo Lupo e6913b2e 2015-05-08T10:06:18 [python] use built-in split instead of 'string' module for py23 In python3, the 'string' module no longer has a 'split' function.
Zoltan Szabadka 10a2f374 2015-05-07T20:43:01 Handle multiple compressed files per original in the test. Add some more test cases that decompress to the empty file or a one byte long file. These test cases have examples for the updated stream header and meta-block header formats.
Cosimo Lupo cdde52ef 2015-04-22T17:54:56 [python] refactored tests and import shared utilities from module
Cosimo Lupo 906f4f52 2015-04-22T16:49:00 [python] prepend build/lib folder to PYTHONPATH before running tests
Cosimo Lupo 17866801 2015-03-23T12:09:42 [python] fix calling python script as subprocess on Windows
Cosimo Lupo 203fe326 2015-03-22T00:15:54 [python] fix subprocess shell pipeline
Cosimo Lupo b33e10e9 2015-03-16T17:56:10 add Python port of bro utility and scripts to test Brotli extension