Debian Codegraph @

tools/discoverer.mock

raw symbols SCIP
1 #include "cgreen/mocks.h"
2
3 #include "discoverer.h"
4
5 // We want to run our tests with cgreen, of course, so in order to not
6 // cause conflicts with the function in the library itself we rename
7 // it here when we are running unittests. Also see Makefile.
8 #ifdef UNITTESTING
9 #define discover_tests_in(x,y) unittesting_discover_tests_in(x,y)
10 #endif
11
12 CgreenVector *discover_tests_in(const char *filename, bool verbose) {
13 return (CgreenVector *)mock(filename, verbose);
14 }