PebbleOS
Loading...
Searching...
No Matches
Macros
Unit test hooks

Linkage helpers that let unit tests override firmware functions. More...

Macros

#define PBL_T_STATIC   static
 static in firmware, weak in unit tests so private functions can be overridden.
 
#define PBL_T_MOCKABLE
 Nothing in firmware, weak in unit tests so global functions can be mocked.
 

Detailed Description

Linkage helpers that let unit tests override firmware functions.

Macro Definition Documentation

◆ PBL_T_MOCKABLE

#define PBL_T_MOCKABLE

Nothing in firmware, weak in unit tests so global functions can be mocked.

◆ PBL_T_STATIC

#define PBL_T_STATIC   static

static in firmware, weak in unit tests so private functions can be overridden.