Specs
Beautiful C++ Test Framework
Loading...
Searching...
No Matches
set_timeout.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
Specs/GlobalSpecGroup.h
>
4
#include <
Specs/SpecDataValue.h
>
5
#include <
Specs/SpecDone.h
>
6
7
namespace
SpecsCpp::DSLs::Functions
{
8
9
inline
void
set_timeout
(std::uint32_t timeoutMilliseconds) {
10
SpecsCpp::GlobalSpecGroup::instance
().
add_meta_data_for_next_component
(
11
SpecDataValue::create
(
"timeout"
, timeoutMilliseconds)
12
);
13
}
14
}
GlobalSpecGroup.h
SpecDataValue.h
SpecDone.h
SpecsCpp::GlobalSpecGroup::instance
static GlobalSpecGroup & instance()
Definition
GlobalSpecGroup.h:80
SpecsCpp::GlobalSpecGroup::add_meta_data_for_next_component
void add_meta_data_for_next_component(ISpecDataValue *value)
Definition
GlobalSpecGroup.h:349
SpecsCpp::SpecDataValue::create
static ISpecDataValue * create(const char *key, bool value)
Definition
SpecDataValue.h:172
SpecsCpp::DSLs::Functions
Definition
describe.h:7
SpecsCpp::DSLs::Functions::set_timeout
void set_timeout(std::uint32_t timeoutMilliseconds)
Definition
set_timeout.h:9
Specs.DSLs
include
Specs
DSLs
Functions
set_timeout.h
<3 Mrowr Purr