Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
catch_tag_alias_registry.h
Go to the documentation of this file.
1
/*
2
* Created by Phil on 27/6/2014.
3
* Copyright 2014 Two Blue Cubes Ltd. All rights reserved.
4
*
5
* Distributed under the Boost Software License, Version 1.0. (See accompanying
6
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7
*/
8
#ifndef TWOBLUECUBES_CATCH_TAG_ALIAS_REGISTRY_H_INCLUDED
9
#define TWOBLUECUBES_CATCH_TAG_ALIAS_REGISTRY_H_INCLUDED
10
11
#include "
catch_interfaces_tag_alias_registry.h
"
12
#include "
catch_tag_alias.h
"
13
14
#include <map>
15
16
namespace
Catch
{
17
18
class
TagAliasRegistry
:
public
ITagAliasRegistry
{
19
public
:
20
~TagAliasRegistry
()
override
;
21
TagAlias
const
*
find
( std::string
const
& alias )
const override
;
22
std::string
expandAliases
( std::string
const
& unexpandedTestSpec )
const override
;
23
void
add
( std::string
const
& alias, std::string
const
& tag,
SourceLineInfo
const
& lineInfo );
24
25
private
:
26
std::map<std::string, TagAlias> m_registry;
27
};
28
29
}
// end namespace Catch
30
31
#endif
// TWOBLUECUBES_CATCH_TAG_ALIAS_REGISTRY_H_INCLUDED
catch_interfaces_tag_alias_registry.h
catch_tag_alias.h
Catch::TagAliasRegistry
Definition
catch_tag_alias_registry.h:18
Catch::TagAliasRegistry::add
void add(std::string const &alias, std::string const &tag, SourceLineInfo const &lineInfo)
Definition
catch_tag_alias_registry.cpp:42
Catch::TagAliasRegistry::find
TagAlias const * find(std::string const &alias) const override
Definition
catch_tag_alias_registry.cpp:21
Catch::TagAliasRegistry::expandAliases
std::string expandAliases(std::string const &unexpandedTestSpec) const override
Definition
catch_tag_alias_registry.cpp:29
Catch::TagAliasRegistry::~TagAliasRegistry
~TagAliasRegistry() override
Definition
catch_tag_alias_registry.cpp:19
Catch
Definition
231-Cfg-OutputStreams.cpp:32
Catch::ITagAliasRegistry
Definition
catch_interfaces_tag_alias_registry.h:17
Catch::SourceLineInfo
Definition
catch.hpp:417
Catch::TagAlias
Definition
catch_tag_alias.h:17
libraries
sys-vm
external
Catch2
include
internal
catch_tag_alias_registry.h
Generated by
1.12.0