aboutsummaryrefslogtreecommitdiff
path: root/test/fff_test_global_cpp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/fff_test_global_cpp.cpp')
-rw-r--r--test/fff_test_global_cpp.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/fff_test_global_cpp.cpp b/test/fff_test_global_cpp.cpp
new file mode 100644
index 0000000..b4f3275
--- /dev/null
+++ b/test/fff_test_global_cpp.cpp
@@ -0,0 +1,24 @@
+
+extern "C"{
+ #include "global_fakes.h"
+}
+#include <gtest/gtest.h>
+
+DEFINE_FFF_GLOBALS;
+
+class FFFTestSuite: public testing::Test
+{
+public:
+ void SetUp()
+ {
+ RESET_FAKE(voidfunc1);
+ RESET_FAKE(voidfunc2);
+ RESET_FAKE(longfunc0);
+ RESET_FAKE(voidfunc1outparam);
+ FFF_RESET_HISTORY();
+ }
+};
+
+#include "test_cases.include"
+
+