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 "catch_tag_alias.h"
12 #include "catch_option.hpp"
13 
14 namespace Catch {
15 
16     struct ITagAliasRegistry {
17         virtual ~ITagAliasRegistry();
18         virtual Option<TagAlias> find( std::string const& alias ) const = 0;
19         virtual std::string expandAliases( std::string const& unexpandedTestSpec ) const = 0;
20 
21         static ITagAliasRegistry const& get();
22     };
23 
24 } // end namespace Catch
25 
26 #endif // TWOBLUECUBES_CATCH_INTERFACES_TAG_ALIAS_REGISTRY_H_INCLUDED
27