You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
471 B
26 lines
471 B
#ifndef __MOCK_CLASS_H__
|
|
#define __MOCK_CLASS_H__
|
|
|
|
#include "token/cclass.h"
|
|
|
|
|
|
extern char _called;
|
|
|
|
extern void inline _reset();
|
|
|
|
struct MOCK_CLASS {
|
|
const struct CCLASS * const class;
|
|
int value;
|
|
};
|
|
|
|
extern const struct CCLASS * const MOCK_CLASS;
|
|
|
|
/**
|
|
* ~~~ method declarations ~~~~~~~~
|
|
*/
|
|
|
|
int mock_class_getValue(struct MOCK_CLASS * _this);
|
|
void mock_class_setValue(struct MOCK_CLASS * _this, int value);
|
|
|
|
#endif//__MOCK_CLASS_H__
|
|
// vim: set et ts=4 sw=4:
|