Get rid of threadTesting.h (#1604)

It only contains a pointer type definition for test functions that
really ought to be provided by testHarness.h.

Signed-off-by: Kévin Petit <kpet@free.fr>

Signed-off-by: Kévin Petit <kpet@free.fr>
This commit is contained in:
Kévin Petit
2023-01-14 15:18:27 +00:00
committed by GitHub
parent 896f43615d
commit 1eeb10296f
17 changed files with 12 additions and 49 deletions

View File

@@ -49,9 +49,11 @@ namespace detail {
struct test_case_registration
{
test_case_registration(const std::string& name, const basefn ptr)
test_case_registration(const std::string& name,
const test_function_pointer ptr)
{
::autotest::test_suite::global_test_suite().add(test_definition({ptr, strdup(name.c_str())}));
::autotest::test_suite::global_test_suite().add(
test_definition({ ptr, strdup(name.c_str()) }));
}
};