Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
catch_interfaces_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_INTERFACES_TAG_ALIAS_REGISTRY_H_INCLUDED
9#define TWOBLUECUBES_CATCH_INTERFACES_TAG_ALIAS_REGISTRY_H_INCLUDED
10
11#include <string>
12
13namespace Catch {
14
15 struct TagAlias;
16
18 virtual ~ITagAliasRegistry();
19 // Nullptr if not present
20 virtual TagAlias const* find( std::string const& alias ) const = 0;
21 virtual std::string expandAliases( std::string const& unexpandedTestSpec ) const = 0;
22
23 static ITagAliasRegistry const& get();
24 };
25
26} // end namespace Catch
27
28#endif // TWOBLUECUBES_CATCH_INTERFACES_TAG_ALIAS_REGISTRY_H_INCLUDED
static ITagAliasRegistry const & get()
virtual TagAlias const * find(std::string const &alias) const =0
virtual std::string expandAliases(std::string const &unexpandedTestSpec) const =0