mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-28 10:44:26 +01:00
Updated method of testing generate_test_runner script to be a FUNCTIONAL test instead of a perfect code match. Backfilled most tests and added some coverage not previously present. Still need to test new command line args and a few cmock details.
This commit is contained in:
14
test/testdata/cmock.h
vendored
Normal file
14
test/testdata/cmock.h
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user