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
12#include "catch_tag_alias.h"
13
14#include <map>
15
16namespace Catch {
17
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
void add(std::string const &alias, std::string const &tag, SourceLineInfo const &lineInfo)
TagAlias const * find(std::string const &alias) const override
std::string expandAliases(std::string const &unexpandedTestSpec) const override