ladybird/Userland/Libraries/LibTest
Timothy Flynn f7fcde7f60 LibTest: Define test expectation macros without copying the input values
Currently, the following test case will actually copy both `a` and `b`
when the test macro is expanded:

    ByteBuffer a = { some large buffer };
    ByteBuffer b = { some other buffer };
    EXPECT_EQ(a, b);

This patch redefines the expectation macros to avoid copying.
2024-08-13 14:11:05 +02:00
..
Randomized AK+Userland: Remove NOESCAPE 2024-05-22 21:55:34 -06:00
CMakeLists.txt Everywhere: Resolve conflicts with LibC and libc++ 2023-06-27 12:40:38 +02:00
CrashTest.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
CrashTest.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
JavaScriptTestRunner.h Userland: Remove some SerenityOS checks 2024-06-10 13:53:01 +02:00
JavaScriptTestRunnerMain.cpp Userland: Remove some SerenityOS checks 2024-06-10 13:53:01 +02:00
Macros.h LibTest: Define test expectation macros without copying the input values 2024-08-13 14:11:05 +02:00
Results.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestCase.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestMain.cpp Everywhere: Remove all KERNEL #defines 2024-06-18 09:36:25 +02:00
TestResult.h LibTest: Add the REJECT and ASSUME macros 2023-10-26 17:26:52 -06:00
TestRunner.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestRunnerUtil.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestSuite.cpp Everywhere: Remove uneeded short option argument where possible 2024-04-22 08:10:08 +02:00
TestSuite.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30