serenity/Tests
Ali Mohammad Pur 51c2c69357 AK+Everywhere: Disallow constructing Functions from incompatible types
Previously, AK::Function would accept _any_ callable type, and try to
call it when called, first with the given set of arguments, then with
zero arguments, and if all of those failed, it would simply not call the
function and **return a value-constructed Out type**.
This lead to many, many, many hard to debug situations when someone
forgot a `const` in their lambda argument types, and many cases of
people taking zero arguments in their lambdas to ignore them.
This commit reworks the Function interface to not include any such
surprising behaviour, if your function instance is not callable with
the declared argument set of the Function, it can simply not be
assigned to that Function instance, end of story.
2021-06-06 00:27:30 +04:30
..
AK AK: Do not trim away non-ASCII bytes when parsing URL 2021-06-05 10:53:31 +02:00
Kernel Kernel: Ensure that an unveil node with no permission is never accepted 2021-05-29 22:05:34 +02:00
LibC LibC: Implement strerror_r() 2021-05-25 17:36:02 +02:00
LibCompress Tests: Use ByteBuffer::create_zeroed in TestDeflate instead of memset 2021-05-27 15:18:03 +02:00
LibCore Tests: Add InodeWatcher and FileWatcher tests 2021-05-12 22:38:20 +02:00
LibCpp LibCpp: Add regression tests for the parser 2021-05-19 23:19:07 +02:00
LibELF Tests: Add LibELF tests 2021-05-15 11:02:04 +01:00
LibGfx Tests: Remove default font tests from LibGfx/TestFontHandling 2021-05-21 21:02:43 +02:00
LibJS LibTest+test-js: Add back the lost test262 parser test option 2021-05-30 10:34:44 +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 LibSQL: Limit the allowed depth of an expression tree 2021-06-05 23:48:18 +04:30
LibWasm LibWasm: Move Wasm::BytecodeInterpreter into its own header 2021-06-05 14:31:54 +04:30
LibWeb AK+Everywhere: Disallow constructing Functions from incompatible types 2021-06-06 00:27:30 +04:30
UserspaceEmulator LibC: Move mman.h to sys/mman.h 2021-05-14 22:24:02 +02:00
CMakeLists.txt LibWasm+Meta: Add test-wasm and optionally test the conformance tests 2021-05-21 00:15:23 +01:00