@@ -160,7 +160,7 @@ struct AutoReg : NonCopyable {
160
160
int index = 0 ; \
161
161
constexpr char const * tmpl_types[] = {CATCH_REC_LIST (INTERNAL_CATCH_STRINGIZE_WITHOUT_PARENS, __VA_ARGS__)};\
162
162
using expander = int [];\
163
- (void )expander{(reg_test (Types{}, Catch::NameAndTags{ Name " - " + std::string (tmpl_types[index]), Tags } ), index++, 0 )... };/* NOLINT */ \
163
+ (void )expander{(reg_test (Types{}, Catch::NameAndTags{ Name " - " + std::string (tmpl_types[index]), Tags } ), index++)... };/* NOLINT */ \
164
164
}\
165
165
};\
166
166
static int INTERNAL_CATCH_UNIQUE_NAME ( globalRegistrar ) = [](){\
@@ -206,7 +206,7 @@ struct AutoReg : NonCopyable {
206
206
constexpr char const * tmpl_types[] = {CATCH_REC_LIST (INTERNAL_CATCH_STRINGIZE_WITHOUT_PARENS, INTERNAL_CATCH_REMOVE_PARENS (TmplTypes))};\
207
207
constexpr char const * types_list[] = {CATCH_REC_LIST (INTERNAL_CATCH_STRINGIZE_WITHOUT_PARENS, INTERNAL_CATCH_REMOVE_PARENS (TypesList))};\
208
208
constexpr auto num_types = sizeof (types_list) / sizeof (types_list[0 ]);\
209
- (void )expander{(Catch::AutoReg ( Catch::makeTestInvoker ( &TestFuncName<Types> ), CATCH_INTERNAL_LINEINFO, Catch::StringRef (), Catch::NameAndTags{ Name " - " + std::string (tmpl_types[index / num_types]) + " <" + std::string (types_list[index % num_types]) + " >" , Tags } ), index++, 0 )... };/* NOLINT */ \
209
+ (void )expander{(Catch::AutoReg ( Catch::makeTestInvoker ( &TestFuncName<Types> ), CATCH_INTERNAL_LINEINFO, Catch::StringRef (), Catch::NameAndTags{ Name " - " + std::string (tmpl_types[index / num_types]) + " <" + std::string (types_list[index % num_types]) + " >" , Tags } ), index++)... };/* NOLINT */ \
210
210
} \
211
211
}; \
212
212
static int INTERNAL_CATCH_UNIQUE_NAME ( globalRegistrar ) = [](){ \
@@ -250,7 +250,7 @@ struct AutoReg : NonCopyable {
250
250
void reg_tests () { \
251
251
int index = 0 ; \
252
252
using expander = int []; \
253
- (void )expander{(Catch::AutoReg ( Catch::makeTestInvoker ( &TestFunc<Types> ), CATCH_INTERNAL_LINEINFO, Catch::StringRef (), Catch::NameAndTags{ Name " - " + std::string (INTERNAL_CATCH_STRINGIZE (TmplList)) + " - " + std::to_string (index), Tags } ), index++, 0 )... };/* NOLINT */ \
253
+ (void )expander{(Catch::AutoReg ( Catch::makeTestInvoker ( &TestFunc<Types> ), CATCH_INTERNAL_LINEINFO, Catch::StringRef (), Catch::NameAndTags{ Name " - " + std::string (INTERNAL_CATCH_STRINGIZE (TmplList)) + " - " + std::to_string (index), Tags } ), index++)... };/* NOLINT */ \
254
254
} \
255
255
};\
256
256
static int INTERNAL_CATCH_UNIQUE_NAME ( globalRegistrar ) = [](){ \
@@ -285,7 +285,7 @@ struct AutoReg : NonCopyable {
285
285
int index = 0 ; \
286
286
constexpr char const * tmpl_types[] = {CATCH_REC_LIST (INTERNAL_CATCH_STRINGIZE_WITHOUT_PARENS, __VA_ARGS__)};\
287
287
using expander = int [];\
288
- (void )expander{(reg_test (Types{}, #ClassName, Catch::NameAndTags{ Name " - " + std::string (tmpl_types[index]), Tags } ), index++, 0 )... };/* NOLINT */ \
288
+ (void )expander{(reg_test (Types{}, #ClassName, Catch::NameAndTags{ Name " - " + std::string (tmpl_types[index]), Tags } ), index++)... };/* NOLINT */ \
289
289
}\
290
290
};\
291
291
static int INTERNAL_CATCH_UNIQUE_NAME ( globalRegistrar ) = [](){\
@@ -334,7 +334,7 @@ struct AutoReg : NonCopyable {
334
334
constexpr char const * tmpl_types[] = {CATCH_REC_LIST (INTERNAL_CATCH_STRINGIZE_WITHOUT_PARENS, INTERNAL_CATCH_REMOVE_PARENS (TmplTypes))};\
335
335
constexpr char const * types_list[] = {CATCH_REC_LIST (INTERNAL_CATCH_STRINGIZE_WITHOUT_PARENS, INTERNAL_CATCH_REMOVE_PARENS (TypesList))};\
336
336
constexpr auto num_types = sizeof (types_list) / sizeof (types_list[0 ]);\
337
- (void )expander{(Catch::AutoReg ( Catch::makeTestInvoker ( &TestName<Types>::test ), CATCH_INTERNAL_LINEINFO, #ClassName, Catch::NameAndTags{ Name " - " + std::string (tmpl_types[index / num_types]) + " <" + std::string (types_list[index % num_types]) + " >" , Tags } ), index++, 0 )... };/* NOLINT */ \
337
+ (void )expander{(Catch::AutoReg ( Catch::makeTestInvoker ( &TestName<Types>::test ), CATCH_INTERNAL_LINEINFO, #ClassName, Catch::NameAndTags{ Name " - " + std::string (tmpl_types[index / num_types]) + " <" + std::string (types_list[index % num_types]) + " >" , Tags } ), index++)... };/* NOLINT */ \
338
338
}\
339
339
};\
340
340
static int INTERNAL_CATCH_UNIQUE_NAME ( globalRegistrar ) = [](){\
@@ -381,7 +381,7 @@ struct AutoReg : NonCopyable {
381
381
void reg_tests (){\
382
382
int index = 0 ;\
383
383
using expander = int [];\
384
- (void )expander{(Catch::AutoReg ( Catch::makeTestInvoker ( &TestName<Types>::test ), CATCH_INTERNAL_LINEINFO, #ClassName, Catch::NameAndTags{ Name " - " + std::string (INTERNAL_CATCH_STRINGIZE (TmplList)) + " - " + std::to_string (index), Tags } ), index++, 0 )... };/* NOLINT */ \
384
+ (void )expander{(Catch::AutoReg ( Catch::makeTestInvoker ( &TestName<Types>::test ), CATCH_INTERNAL_LINEINFO, #ClassName, Catch::NameAndTags{ Name " - " + std::string (INTERNAL_CATCH_STRINGIZE (TmplList)) + " - " + std::to_string (index), Tags } ), index++)... };/* NOLINT */ \
385
385
}\
386
386
};\
387
387
static int INTERNAL_CATCH_UNIQUE_NAME ( globalRegistrar ) = [](){\
0 commit comments