开发者

Are there any restrictions on function name calls using GoogleTest for C++?

When I call a function using Google Test then is there any restriction like I can not use underscore or any other special charac开发者_C百科ter?


No. You can call whatever functions you want. Google Test does not instrument the functions you call.

You shouldn't use any leading or trailing underscores in your test names since those are liable to be combined with other names by some of Google Test's macros.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜