mirror of
https://github.com/meekrosoft/fff
synced 2026-01-23 08:25:59 +01:00
24 lines
326 B
C++
24 lines
326 B
C++
|
|
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_HISTORY();
|
|
}
|
|
};
|
|
|
|
#include "test_cases.include"
|
|
|
|
|