1
0
Fork 0
godot/tests/core
Pablo Andres Fuente d1338528f9 Fix file loggin log rotation
Fixes #97066

`RBSet` were used on `RotatedFileLogger` because it guarantees that
iterating it is done via `operator<`. This is important because
`RotatedFileLogger` depends on this behavior to delete the oldest log file.
On #61194 `HashSet` was added and all `RBSet` uses were replaced by
`HashSet`.
When that happened, the iteration in order is guaranteed to be the insertion
order, wich made that `RotatedFileLogger` delete the newest log file.
As a bonus, I added unit test for `RotatedFileLogger` and `CompositeLogger`.
2025-02-10 21:57:07 +01:00
..
config Set clang-format `RemoveSemicolon` rule to `true` 2024-10-25 13:49:43 -04:00
input Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
io Fix file loggin log rotation 2025-02-10 21:57:07 +01:00
math Fix `is_valid_float`, `Variant` parser, `Expression` parser, script highlighter, and `TextServer` not handing capital E in scientific notation. 2025-02-05 18:39:40 +02:00
object Core: Fix built-in enum constant bindings 2024-11-22 14:03:21 +03:00
os [Tests] Fix unit tests in template builds 2024-06-29 18:35:50 +02:00
string Fix `is_valid_float`, `Variant` parser, `Expression` parser, script highlighter, and `TextServer` not handing capital E in scientific notation. 2025-02-05 18:39:40 +02:00
templates Merge pull request #98488 from RandomShaper/lockless_rid_fetch_pro 2025-01-06 08:38:14 +01:00
threads WorkerThreadPool: Support daemon-like tasks (via yield semantics) 2024-04-10 18:47:42 +02:00
variant Add std::initializer_list constructor for Dictionary. 2024-11-29 14:12:40 +02:00
test_crypto.h Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
test_hashing_context.h
test_time.h Explicitly cast to Variant's int type in Time tests 2023-02-20 14:46:21 -06:00