transmission/tests
Yat Ho cf6691acca
fix: json string serializer improperly escaping characters (#6005) (#6133)
* feat: escape json string according to RFC8259

* fix: do not append newline when json serde is in compact mode

* fix: json tests

1. Use the same locale settings as the apps
2. Added additional test case for a string that are known to be prone to locale issues
3. Removed test for escaping non-BMP characters to UTF-16 escape sequences

* chore: add more test cases to `JSONTest.testUtf8`

* chore: order cases in the same order as RFC8259

(cherry picked from commit 0259edbaf3)
2023-10-20 11:21:51 -05:00
..
gtest Modernize CMake code (ongoing refactoring) (#4507) 2023-01-01 19:49:48 +00:00
libtransmission fix: json string serializer improperly escaping characters (#6005) (#6133) 2023-10-20 11:21:51 -05:00
utils fix: use user-preferred locale (#5444) 2023-04-27 09:11:06 -05:00
CMakeLists.txt fix: do not test utils if not building utils (#4946) 2023-02-20 23:43:05 -06:00