1
0
Fork 0
godot/tests
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
..
core Fix file loggin log rotation 2025-02-10 21:57:07 +01:00
data GLTFDocument test case 2025-01-06 15:53:33 -05:00
python_build SCons: Add method to generate raw cstrings 2024-07-31 14:22:04 -05:00
scene Fix TextEdit breakpoint hover not hiding 2025-01-16 10:42:54 -05:00
servers [TextServer] Fix text buffer not processing strings added after `shape`. 2025-01-16 08:57:27 +02:00
SCsub SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
create_test.py Ensure that directory exists in create_test.py 2024-12-28 01:39:09 +01:00
display_server_mock.h Fix various typos 2025-01-08 14:47:42 +02:00
test_macros.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_macros.h Fix various typos 2025-01-08 14:47:42 +02:00
test_main.cpp Fix file loggin log rotation 2025-02-10 21:57:07 +01:00
test_main.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_tools.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_utils.cpp Use subfolder for temporary test files 2024-06-05 20:31:42 +02:00
test_utils.h Use subfolder for temporary test files 2024-06-05 20:31:42 +02:00
test_validate_testing.h Add PackedVector4Array Variant type 2024-05-03 00:58:27 +02:00