summaryrefslogtreecommitdiff
path: root/deps/fff/test/src/fff_test_global_cpp.cpp
blob: bb4993dd11de49d206f2a824521e8c89e0e6339a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

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);
        RESET_FAKE(voidfunc3var);
        RESET_FAKE(valuefunc3var);
        FFF_RESET_HISTORY();
    }
};

#include "test_cases.include"