开发者

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

开发者 https://www.devze.com 2023-03-08 05:27 出处:网络
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 Tes

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

精彩评论

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