transmission/tests
Charles Kerr 8a35aa0903
refactor: add tr_rand_obj() (#4238)
* refactor: add tr_rand_obj()

There are a lot of places in the codebase where we need to populate
an integral type or a fixed-size array with random data. To do this,
we instantiate a local on the stack, fill it with tr_rand_buffer(),
and then use it.

This PR creates a helper function to make this a one-liner.
2022-11-25 15:04:37 -06:00
..
gtest Remove Xcode project in favor of CMake (#4147) 2022-11-12 20:01:57 +00:00
libtransmission refactor: add tr_rand_obj() (#4238) 2022-11-25 15:04:37 -06:00
utils Fix #3444, support single file hybrid torrents. (#3446) 2022-07-14 13:53:00 -05:00
CMakeLists.txt refactor: use fmt (#2758) 2022-03-13 23:43:35 -05:00