1
0
forked from 0ad/0ad
0ad/source/mocks/dlfcn.h
Ykkrosh 6374080b60 # Fixed Linux execution problem. Extended unit-test system.
Fix sys_get_executable_name.
Add mock object support.
Add CxxTest wrapper to support "-test TestSuitename" and "-test
TestSuitename::test_case_name" command-line arguments for running
individual tests.

This was SVN commit r7081.
2009-08-07 15:21:39 +00:00

8 lines
127 B
C

#include <dlfcn.h>
#include <cxxtest/Mock.h>
CXXTEST_MOCK_GLOBAL(
int, dladdr,
(void *addr, Dl_info *info),
(addr, info)
);