cmock.h 442 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
#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++; }

14
#endif