diff options
Diffstat (limited to 'test/test_common.hpp')
-rw-r--r-- | test/test_common.hpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/test/test_common.hpp b/test/test_common.hpp index f049fed..3d7ecba 100644 --- a/test/test_common.hpp +++ b/test/test_common.hpp @@ -18,9 +18,15 @@ #ifndef FUD_TEST_COMMON_HPP #define FUD_TEST_COMMON_HPP +#include "fud_status.hpp" + #include <cstddef> #include <cstdlib> +extern "C" { +int unlink_cb(const char* fpath, const struct stat* sb_unused, int typeflag, struct FTW* ftwbuf); +} + namespace fud { // NOLINTBEGIN(cppcoreguidelines-macro-usage) @@ -70,11 +76,14 @@ struct MockFudAllocator { void deallocate(void* pointer); MockFudAlloc* m_allocator{&globalDefaultMockAlloc}; - MockFudDealloc* m_deallocator{&globalDefaultMockDealloc};; + MockFudDealloc* m_deallocator{&globalDefaultMockDealloc}; }; extern MockFudAllocator globalMockFudAlloc; -} // namespace ext_lib +class String; +FudStatus removeRecursive(const String& path); + +} // namespace fud #endif |