transmission/tests/libtransmission
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
..
assets
.clang-tidy
CMakeLists.txt Don't discover tests when cross-compiling w/o an emulator (#5197) 2023-03-11 12:42:56 +00:00
announce-list-test.cc fix: announce with query replace bug (#5871) 2023-08-13 19:28:35 -05:00
announcer-test.cc
announcer-udp-test.cc fix: typos in libtransmission tests (#5468) 2023-05-09 13:46:26 -05:00
benc-test.cc
bitfield-test.cc
block-info-test.cc
blocklist-test.cc
buffer-test.cc
clients-test.cc
completion-test.cc
copy-test.cc
crypto-test-ref.h
crypto-test.cc
dht-test.cc fix: typos in libtransmission tests (#5468) 2023-05-09 13:46:26 -05:00
dns-test.cc
error-test.cc
file-piece-map-test.cc fix: increase priority of first and last piece of each file (#5167) 2023-03-06 15:50:19 -06:00
file-test.cc
getopt-test.cc
handshake-test.cc
history-test.cc
json-test.cc fix: json string serializer improperly escaping characters (#6005) (#6133) 2023-10-20 11:21:51 -05:00
lpd-test.cc fix: announce LDP on listening interface (#5875) (#5896) 2023-08-13 22:02:54 -05:00
magnet-metainfo-test.cc
makemeta-test.cc fix: always add `announce` key even when including announce-list (#5106) 2023-03-01 13:10:20 -06:00
move-test.cc chore: remove unused header includes (#5227) 2023-03-14 18:36:15 -05:00
net-test.cc
open-files-test.cc
peer-mgr-active-requests-test.cc
peer-mgr-wishlist-test.cc perf: fix wishlist cpu load regression, pt. 2 (#5273) 2023-03-22 10:24:10 -05:00
peer-msgs-test.cc
platform-test.cc
quark-test.cc
remove-test.cc
rename-test.cc fix: return error when renaming into existing file (#5563) 2023-06-19 00:31:18 -05:00
rpc-test.cc
session-alt-speeds-test.cc fix: typos in libtransmission tests (#5468) 2023-05-09 13:46:26 -05:00
session-test.cc
settings-test.cc
strbuf-test.cc
subprocess-test-program.cc
subprocess-test-script.cmd
subprocess-test.cc
test-fixtures.h
timer-test.cc
torrent-files-test.cc
torrent-magnet-test.cc
torrent-metainfo-test.cc
torrents-test.cc
utils-test.cc fix: typos in libtransmission tests (#5468) 2023-05-09 13:46:26 -05:00
variant-test.cc
watchdir-test.cc
web-utils-test.cc fix: parsing of ipv6 tracker announce URLs (#5174) 2023-03-07 12:19:12 -06:00