ladybird/Tests
Lenny Maiorani 2b64d163cd Tests: static vs non-static constexpr variables
Problem:
- `static` variables consume memory and sometimes are less
  optimizable.
- `static const` variables can be `constexpr`, usually.
- `static` function-local variables require an initialization check
  every time the function is run.

Solution:
- If a global `static` variable is only used in a single function then
  move it into the function and make it non-`static` and `constexpr`.
- Make all global `static` variables `constexpr` instead of `const`.
- Change function-local `static const[expr]` variables to be just
  `constexpr`.
2021-05-19 21:21:03 +01:00
..
AK Tests: static vs non-static constexpr variables 2021-05-19 21:21:03 +01:00
Kernel Tests: static vs non-static constexpr variables 2021-05-19 21:21:03 +01:00
LibC Tests: static vs non-static constexpr variables 2021-05-19 21:21:03 +01:00
LibCompress Tests: Move LibCompress tests to Tests/LibCompress 2021-05-06 17:54:28 +02:00
LibCore Tests: Add InodeWatcher and FileWatcher tests 2021-05-12 22:38:20 +02:00
LibELF Tests: Add LibELF tests 2021-05-15 11:02:04 +01:00
LibGfx Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
LibJS LibJS+LibTest: Move out the test-js test runner into LibTest 2021-05-18 18:48:15 +01:00
LibM Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
LibPthread LibC: Do not include errno.h inside unistd.h 2021-05-14 22:24:02 +02:00
LibRegex Tests: Free all memory allocated with regcomp in RegexLibC tests 2021-05-14 08:34:00 +01:00
LibSQL Tests: Move LibSQL tests to Tests/LibSQL 2021-05-06 17:54:28 +02:00
LibWeb LibWeb: Implement test-web in terms of LibTest/JavaScriptTestRunner 2021-05-18 18:48:15 +01:00
UserspaceEmulator LibC: Move mman.h to sys/mman.h 2021-05-14 22:24:02 +02:00
CMakeLists.txt Tests: Add LibELF tests 2021-05-15 11:02:04 +01:00