diff options
Diffstat (limited to 'unittests/stubs.cpp')
-rw-r--r-- | unittests/stubs.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/unittests/stubs.cpp b/unittests/stubs.cpp deleted file mode 100644 index 165d882ef..000000000 --- a/unittests/stubs.cpp +++ /dev/null @@ -1,37 +0,0 @@ -#include <stdint.h> -#include <sys/types.h> -//#include "gmock/gmock.h" - -#include "uORB/uORB.h" -#include <systemlib/param/param.h> - -/****************************************** - * uORB stubs -******************************************/ - -/* -struct orb_metadata { - const char *o_name; - const size_t o_size; -}; -typedef intptr_t orb_advert_t; -extern orb_advert_t orb_advertise(const struct orb_metadata *meta, const void *data); -extern int orb_publish(const struct orb_metadata *meta, orb_advert_t handle, const void *data); -*/ - -orb_advert_t orb_advertise(const struct orb_metadata *meta, const void *data) { - return (orb_advert_t)0; -} - -int orb_publish(const struct orb_metadata *meta, orb_advert_t handle, const void *data) { - return 0; -} - -/****************************************** - * param stubs -******************************************/ - -//extern param_info_s * __param_start, __param_end; -struct param_info_s param_array[5]; -param_info_s *__param_start = ¶m_array[0]; -param_info_s *__param_end = ¶m_array[4]; |