ladybird/Userland/Applications
Andrew Kaster 35c0a6c54d AK+Userland: Move AK/TestSuite.h into LibTest and rework Tests' CMake
As many macros as possible are moved to Macros.h, while the
macros to create a test case are moved to TestCase.h. TestCase is now
the only user-facing header for creating a test case. TestSuite and its
helpers have moved into a .cpp file. Instead of requiring a TEST_MAIN
macro to be instantiated into the test file, a TestMain.cpp file is
provided instead that will be linked against each test. This has the
side effect that, if we wanted to have test cases split across multiple
files, it's as simple as adding them all to the same executable.

The test main should be portable to kernel mode as well, so if
there's a set of tests that should be run in self-test mode in kernel
space, we can accomodate that.

A new serenity_test CMake function streamlines adding a new test with
arguments for the test source file, subdirectory under /usr/Tests to
install the test application and an optional list of libraries to link
against the test application. To accomodate future test where the
provided TestMain.cpp is not suitable (e.g. test-js), a CUSTOM_MAIN
parameter can be passed to the function to not link against the
boilerplate main function.
2021-04-25 09:36:49 +02:00
..
About Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Browser AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Calculator Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Calendar AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
CrashReporter Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
Debugger Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DisplaySettings Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FileManager AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
FontEditor AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Help Help: Run clang-format on main.cpp 2021-04-23 18:47:42 +02:00
HexEditor Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
IRCClient AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
KeyboardMapper Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
KeyboardSettings AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
MouseSettings AK+Userland: Use idan.horowitz@serenityos.org for my copyright headers 2021-04-22 22:42:38 +02:00
Piano Userland: Piano: Optimize repaints 2021-04-23 22:35:49 +02:00
PixelPaint AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
QuickShow Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
Run Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SoundPlayer AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
SpaceAnalyzer AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Spreadsheet AK+Userland: Move AK/TestSuite.h into LibTest and rework Tests' CMake 2021-04-25 09:36:49 +02:00
SystemMonitor SystemMonitor: Show action status tips in the statusbar :^) 2021-04-23 17:25:33 +02:00
Terminal Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TextEditor Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ThemeEditor AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Welcome Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CMakeLists.txt Applications: Rename Serendipity => Welcome 2021-04-15 20:50:24 +02:00