Specs
Beautiful C++ Test Framework
Loading...
Searching...
No Matches
Setup.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
Specs/DSLs/TopLevel/Configure.h
>
4
#include <
Specs/GlobalSpecEnvironment.h
>
5
6
#include "
SnowhouseExceptionHandler.h
"
7
8
namespace
_Specs_Snowhouse_Configuration
{
9
inline
static
auto
snowhouseExceptionHandler
=
10
SpecsCpp::ExceptionHandlers::SnowhouseExceptionHandler
();
11
}
12
13
Configure
{
14
if
(
auto
* specsEnv =
SpecsCpp::global_spec_environment
().get()) {
15
specsEnv->local_exception_handlers()->register_exception_handler(
16
&
_Specs_Snowhouse_Configuration::snowhouseExceptionHandler
17
);
18
}
19
}
Configure.h
Configure
#define Configure
Definition
Configure.h:5
GlobalSpecEnvironment.h
SnowhouseExceptionHandler.h
SpecsCpp::ExceptionHandlers::SnowhouseExceptionHandler
Definition
SnowhouseExceptionHandler.h:15
_Specs_Snowhouse_Configuration
Definition
Setup.h:8
_Specs_Snowhouse_Configuration::snowhouseExceptionHandler
static auto snowhouseExceptionHandler
Definition
Setup.h:9
SpecsCpp::global_spec_environment
GlobalSpecEnvironment & global_spec_environment()
Definition
GlobalSpecEnvironment.h:15
Specs.Snowhouse
include
Specs
Snowhouse
Setup.h
<3 Mrowr Purr