0001 #ifndef MOCKS_INTERNAL_HEADER
0002 #define MOCKS_INTERNAL_HEADER
0003
0004 #include <cgreen/internal/mock_table.h>
0005 #include <cgreen/internal/function_macro.h>
0006 #include <cgreen/constraint.h>
0007 #include <cgreen/reporter.h>
0008 #include <cgreen/vector.h>
0009 #include <stdint.h>
0010
0011 #ifdef __cplusplus
0012 namespace cgreen {
0013 extern "C" {
0014 #endif
0015
0016 void expect_(TestReporter *test_reporter, const char *function, const char *test_file, int test_line, ...);
0017 void always_expect_(TestReporter *test_reporter, const char *function, const char *test_file, int test_line, ...);
0018 void never_expect_(TestReporter *test_reporter, const char *function, const char *test_file, int test_line, ...);
0019 intptr_t mock_(TestReporter *test_reporter, const char *function, const char *mock_file, int mock_line, const char *parameters, ...);
0020 Constraint *when_(const char *parameter, Constraint *constraint);
0021
0022 void clear_mocks(void);
0023 void tally_mocks(TestReporter *reporter);
0024
0025 #ifdef __cplusplus
0026 }
0027 }
0028 #endif
0029
0030 #endif