Specs
Beautiful C++ Test Framework
Loading...
Searching...
No Matches
META_DATA.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
Specs/GlobalSpecGroup.h
>
4
#include <
Specs/SpecDataValue.h
>
5
6
#include "
MacrosCore.h
"
// IWYU pragma: keep
7
8
#define _SPEC_META_DATA(metaDataKey, metaDataValue) \
9
_GLOBAL_MACRO_FUNCTIONS_NEW_NAMED_FUNCTION_RUNNER_VARIABLE_NAME(_SPEC_META_DATA_){[]() { \
10
SpecsCpp::GlobalSpecGroup::instance().add_meta_data_for_next_component( \
11
SpecsCpp::SpecDataValue::create(metaDataKey, metaDataValue) \
12
); \
13
}};
GlobalSpecGroup.h
MacrosCore.h
SpecDataValue.h
Specs.DSLs
include
Specs
DSLs
Macros
META_DATA.h
<3 Mrowr Purr