Sha256: b8c88311e88c3f67d2e413625aff5201357a912af8ca39f8ab31729ef1afca2a

Contents?: true

Size: 1.2 KB

Versions: 6

Compression:

Stored size: 1.2 KB

Contents

#ifndef GLOBAL_FAKES_H_
#define GLOBAL_FAKES_H_

#include "../fff.h"
#include "string.h"


////  Imaginary production code header file ///
void voidfunc1(int);
void voidfunc2(char, char);
long longfunc0();
void voidfunc3var(const char *fmt, int argc, ...);
void voidfunc20(int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int);

enum MYBOOL { FALSE = 899, TRUE };
struct MyStruct {
    int x;
    int y;
};
enum MYBOOL enumfunc();
struct MyStruct structfunc();
////  End Imaginary production code header file ///

DECLARE_FAKE_VOID_FUNC1(voidfunc1, int);
DECLARE_FAKE_VOID_FUNC2(voidfunc2, char, char);
DECLARE_FAKE_VALUE_FUNC0(long, longfunc0);
DECLARE_FAKE_VALUE_FUNC0(enum MYBOOL, enumfunc0);
DECLARE_FAKE_VALUE_FUNC0(struct MyStruct, structfunc0);
DECLARE_FAKE_VOID_FUNC3_VARARG(voidfunc3var, const char *, int, ...);
DECLARE_FAKE_VOID_FUNC20(voidfunc20, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int);

#ifndef __cplusplus
int strlcpy3(char* const, const char* const, const size_t);
DECLARE_FAKE_VALUE_FUNC3(int, strlcpy3, char* const, const char* const, const size_t);
#endif /* __cplusplus */
#endif /* GLOBAL_FAKES_H_ */

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ceedling-0.28.1 plugins/fake_function_framework/vendor/fff/test/global_fakes.h
ceedling-0.27.0 plugins/fake_function_framework/vendor/fff/test/global_fakes.h
ceedling-0.25.0 plugins/fake_function_framework/vendor/fff/test/global_fakes.h
ceedling-0.24.0 plugins/fake_function_framework/vendor/fff/test/global_fakes.h
ceedling-0.22.0 plugins/fake_function_framework/vendor/fff/test/global_fakes.h
ceedling-0.21.0 plugins/fake_function_framework/vendor/fff/test/global_fakes.h