mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
6b9b57be22
git-subtree-dir: tests/unity git-subtree-split: 1782bab0bacd349a45bc215ff91f082912cd7a64
15 lines
452 B
C
15 lines
452 B
C
#ifndef CMOCK_H
|
|
#define CMOCK_H
|
|
|
|
int CMockMemFreeFinalCounter = 0;
|
|
int mockMock_Init_Counter = 0;
|
|
int mockMock_Verify_Counter = 0;
|
|
int mockMock_Destroy_Counter = 0;
|
|
|
|
void CMock_Guts_MemFreeFinal(void) { CMockMemFreeFinalCounter++; }
|
|
void mockMock_Init(void) { mockMock_Init_Counter++; }
|
|
void mockMock_Verify(void) { mockMock_Verify_Counter++; }
|
|
void mockMock_Destroy(void) { mockMock_Destroy_Counter++; }
|
|
|
|
#endif //CMOCK_H
|