| 1 | #ifndef DISCOVERER_H |
| 2 | #define DISCOVERER_H |
| 3 | |
| 4 | #include <cgreen/vector.h> |
| 5 | |
| 6 | #include <stdbool.h> |
| 7 | |
| 8 | // We want to run our tests with cgreen, of course, so in order to not |
| 9 | // cause conflicts with the function in the library itself we rename |
| 10 | // it here when we are running unittests. Also see Makefile. |
| 11 | #ifdef UNITTESTING |
| 12 | #define discover_tests_in(x,y) unittesting_discover_tests_in(x,y) |
| 13 | #endif |
| 14 | |
| 15 | extern CgreenVector *discover_tests_in(const char *filename, bool verbose); |
| 16 | |
| 17 | #endif |