Specs
Beautiful C++ Test Framework
Loading...
Searching...
No Matches
SpecTeardown.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
Specs/API.h
>
4
5
#include "
SpecComponent.h
"
6
#include "
SpecHasCodeBlock.h
"
7
8
namespace
SpecsCpp
{
9
10
class
SpecTeardown
:
public
ISpecTeardown
,
public
SpecComponent
,
public
SpecHasCodeBlock
{
11
public
:
12
SpecTeardown
(
ISpecGroup
* parent, std::unique_ptr<SpecCodeBlock> codeBlock)
13
:
SpecComponent
(
SpecComponentType
::
Teardown
, parent),
14
SpecHasCodeBlock
(std::move(codeBlock)) {}
15
};
16
}
API.h
SpecComponent.h
SpecHasCodeBlock.h
SpecsCpp::SpecComponent
Definition
SpecComponent.h:10
SpecsCpp::SpecHasCodeBlock
Definition
SpecHasCodeBlock.h:11
SpecsCpp::SpecTeardown
Definition
SpecTeardown.h:10
SpecsCpp::SpecTeardown::SpecTeardown
SpecTeardown(ISpecGroup *parent, std::unique_ptr< SpecCodeBlock > codeBlock)
Definition
SpecTeardown.h:12
SpecsCpp
Definition
API.h:3
SpecsCpp::SpecComponentType
SpecComponentType
Definition
API.h:128
SpecsCpp::SpecComponentType::Teardown
@ Teardown
SpecsCpp::ISpecGroup
Definition
API.h:315
SpecsCpp::ISpecTeardown
Definition
API.h:303
Specs.Implementations
include
Specs
SpecTeardown.h
<3 Mrowr Purr