summaryrefslogtreecommitdiff
path: root/deps/Unity/test/testdata/cmock.h
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-02-24 22:47:46 +1100
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-02-24 22:47:46 +1100
commit7b3afcaf77f96e7d62f6cd1623ead7f17512d79f (patch)
treeb5f82c64e9c06a84e4d095ab4ac48712e860b673 /deps/Unity/test/testdata/cmock.h
parentb047be5252aeb981faea077409c1768fda0301d9 (diff)
repo init. partial port of existing code
Diffstat (limited to 'deps/Unity/test/testdata/cmock.h')
-rw-r--r--deps/Unity/test/testdata/cmock.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/deps/Unity/test/testdata/cmock.h b/deps/Unity/test/testdata/cmock.h
new file mode 100644
index 0000000..33ddbfc
--- /dev/null
+++ b/deps/Unity/test/testdata/cmock.h
@@ -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