Refactor Support Kit tests

* Use CPPUNIT_TEST(_SUITE) macros and autoregistration.
* Remove unnecessary header files.
* Consolidate Archivable, Autolock, MemoryIO and MallocIO tests into
  one .cpp file.
* This structure makes it easier to add new tests - from adding .cpp
  and .h + updating Addon.cpp file (3 files), only one .cpp file is
  needed now.
* Convert string_utf8 test from standalone app to CppUnit test.

Change-Id: I18d90eb66b7cfc5576626b66ed85e47eb64547bf
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10399
Reviewed-by: Kacper Kasper <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Kacper Kasper
2026-03-04 17:58:38 +00:00
parent ff0cd4274c
commit bd6b50bed7
144 changed files with 6050 additions and 9221 deletions
+2
View File
@@ -1,6 +1,8 @@
#ifndef _beos_test_suite_addon_h_
#define _beos_test_suite_addon_h_
#include <cppunit/Portability.h>
class BTestSuite;
extern "C" CPPUNIT_API BTestSuite* getTestSuite();