aboutsummaryrefslogtreecommitdiff
path: root/unittests/uorb_stub.cpp
blob: e4269afc322e205efde7b68d1667727ebbcde47d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <stdint.h>
#include <sys/types.h>
//#include "gmock/gmock.h"

#include "uORB/uORB.h"

/******************************************
 * uORB stubs (incomplete)
 *
 * TODO: use googlemock
******************************************/

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;
}