CppUnitTestFramework: Variable value set in TEST_CLASS_INITIALIZE does not persist in TEST_METHOD

前端 未结 0 1688
悲&欢浪女
悲&欢浪女 2021-02-06 01:03

I have a std::string declared in my TEST_CLASS that should be initialized once for the class that is to be used in two other TEST_METHODs.

However, when TEST

相关标签:
回答
  • 消灭零回复
提交回复
热议问题