Specs
Beautiful C++ Test Framework
Loading...
Searching...
No Matches
GROUP.h File Reference
#include <Specs/GlobalSpecGroup.h>
#include "MacrosCore.h"

Go to the source code of this file.

Macros

#define __SPEC_GROUP_BODY(symbol, specGroupDescription, count)
 
#define _SPEC_GROUP(specGroupDescription)    __SPEC_GROUP_BODY(_SPEC_GROUP_, specGroupDescription, __COUNTER__)
 

Macro Definition Documentation

◆ __SPEC_GROUP_BODY

#define __SPEC_GROUP_BODY (   symbol,
  specGroupDescription,
  count 
)
Value:
inline void \
_GLOBAL_MACRO_FUNCTIONS_NEW_NAMED_FUNCTION_NAME_FROM_COUNT(symbol, count)(SpecsCpp:: \
ISpecGroup*); \
_GLOBAL_MACRO_FUNCTIONS_NEW_NAMED_FUNCTION_RUNNER_VARIABLE_NAME_FROM_COUNT(symbol, count){[]( \
) { \
SpecsCpp::DSLs::GlobalInterface::define_group_fn( \
specGroupDescription, \
_GLOBAL_MACRO_FUNCTIONS_NEW_NAMED_FUNCTION_NAME_FROM_COUNT(symbol, count) \
); \
}}; \
inline void _GLOBAL_MACRO_FUNCTIONS_NEW_NAMED_FUNCTION_NAME_FROM_COUNT(symbol, count)( \
[[maybe_unused]] SpecsCpp::ISpecGroup * current_group \
)
Definition API.h:3

Definition at line 7 of file GROUP.h.

◆ _SPEC_GROUP

#define _SPEC_GROUP (   specGroupDescription)     __SPEC_GROUP_BODY(_SPEC_GROUP_, specGroupDescription, __COUNTER__)

Definition at line 22 of file GROUP.h.