* Rework ByteOrderTest and DateTimeTest to use autoregistration. * Functional changes in ByteOrderTest are confirmed in git history to be R5 compatibility fixes. This doesn't include B_ASCII_TYPE - it seems it has never been part of is_type_swapped(). * Autoregistered test names start with a number - this is because RTTI is used to create them. Disabling RTTI is not an option because CppUnit in our repo has a broken macro which always sets the name to "ATestFixtureType". This is probably fixed in newer CppUnit versions. Change-Id: I56ab5df6e998b6f47fca3c3458a56a761c1740a8 Reviewed-on: https://review.haiku-os.org/c/haiku/+/10266 Reviewed-by: waddlesplash <[email protected]> Tested-by: Commit checker robot <[email protected]> Reviewed-by: Kacper Kasper <[email protected]>
10 lines
231 B
C++
10 lines
231 B
C++
#ifndef _beos_test_suite_addon_h_
|
|
#define _beos_test_suite_addon_h_
|
|
|
|
class BTestSuite;
|
|
|
|
extern "C" CPPUNIT_API BTestSuite* getTestSuite();
|
|
extern "C" CPPUNIT_API const char* getTestSuiteName();
|
|
|
|
#endif // _beos_test_suite_addon_h_
|