mirror of
https://github.com/unittest-cpp/unittest-cpp
synced 2026-09-27 00:28:49 +03:00
use static vars for give possibility to create common instances
This commit is contained in:
parent
7a01101cac
commit
1096f193ee
1 changed files with 2 additions and 2 deletions
|
|
@ -13,9 +13,9 @@
|
|||
private: \
|
||||
void create() \
|
||||
## SetUpBody \
|
||||
} parameterizedCreator ## IterationName ## Instance; \
|
||||
} static parameterizedCreator ## IterationName ## Instance; \
|
||||
\
|
||||
UnitTest::ParameterizedTest<## Type> ## IterationName(parameterizedCreator ## IterationName ## Instance.parameters);
|
||||
static UnitTest::ParameterizedTest<## Type> ## IterationName(parameterizedCreator ## IterationName ## Instance.parameters);
|
||||
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue