ladybird/Userland/Applications/Spreadsheet
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
..
CellType Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Readers AK+Userland: Move AK/TestSuite.h into LibTest and rework Tests' CMake 2021-04-25 09:36:49 +02:00
Writers AK+Userland: Move AK/TestSuite.h into LibTest and rework Tests' CMake 2021-04-25 09:36:49 +02:00
Cell.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Cell.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CellSyntaxHighlighter.cpp LibJS: Consolidate exception function names and source ranges 2021-04-24 20:11:04 +02:00
CellSyntaxHighlighter.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CellTypeDialog.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CellTypeDialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CMakeLists.txt AK+Userland: Move AK/TestSuite.h into LibTest and rework Tests' CMake 2021-04-25 09:36:49 +02:00
CondFormatting.gml Everywhere: Remove empty {} from GML objects 2021-03-29 09:10:23 +02:00
ConditionalFormatting.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CondView.gml Everywhere: Change font properties to be described in GML 2021-03-29 09:10:23 +02:00
csv_export.gml Spreadsheet: Add an export wizard, and support for custom CSV exports 2021-03-22 07:43:58 +01:00
csv_import.gml Spreadsheet: Show the error (if any) in csv import dialog's preview 2021-03-28 11:46:47 +02:00
ExportDialog.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ExportDialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Forward.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HelpWindow.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
HelpWindow.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
ImportDialog.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ImportDialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
JSIntegration.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
JSIntegration.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
main.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Position.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
select_format_page.gml Spreadsheet: Add an import wizard, and add support for custom CSV files 2021-03-22 07:43:58 +01:00
Spreadsheet.cpp LibJS: Consolidate exception function names and source ranges 2021-04-24 20:11:04 +02:00
Spreadsheet.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SpreadsheetModel.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SpreadsheetModel.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
SpreadsheetView.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SpreadsheetView.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SpreadsheetWidget.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SpreadsheetWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Workbook.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Workbook.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00