mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
unit_test add missing definition
This commit is contained in:
committed by
Nuno Marques
parent
79869c848f
commit
aab91af05b
@@ -39,6 +39,7 @@
|
||||
|
||||
#define ut_declare_test_c(test_function, test_class) \
|
||||
extern "C" { \
|
||||
int test_function(int argc, char *argv[]); \
|
||||
int test_function(int argc, char *argv[]) \
|
||||
{ \
|
||||
test_class* test = new test_class(); \
|
||||
|
||||
Reference in New Issue
Block a user