mirror of
https://github.com/meekrosoft/fff
synced 2026-01-28 18:54:28 +01:00
Add example for the weak linking
This commit is contained in:
13
examples/weak_linking/test/sensor.fake.h
Normal file
13
examples/weak_linking/test/sensor.fake.h
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
#ifndef _AUTOMOCK_SENSOR_H
|
||||
#define _AUTOMOCK_SENSOR_H
|
||||
|
||||
#include "fff.h"
|
||||
#include "sensor.h"
|
||||
|
||||
DECLARE_FAKE_VALUE_FUNC( bool, sensor_init );
|
||||
DECLARE_FAKE_VALUE_FUNC( float, sensor_read );
|
||||
|
||||
void TEST_sensor_generate_data( char* buffer, float value );
|
||||
|
||||
#endif // _AUTOMOCK_SENSOR_H
|
||||
Reference in New Issue
Block a user