aboutsummaryrefslogtreecommitdiff
path: root/unittest/Catch/include/internal/catch_interfaces_tag_alias_registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'unittest/Catch/include/internal/catch_interfaces_tag_alias_registry.h')
-rw-r--r--unittest/Catch/include/internal/catch_interfaces_tag_alias_registry.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/unittest/Catch/include/internal/catch_interfaces_tag_alias_registry.h b/unittest/Catch/include/internal/catch_interfaces_tag_alias_registry.h
new file mode 100644
index 0000000..cd6ac51
--- /dev/null
+++ b/unittest/Catch/include/internal/catch_interfaces_tag_alias_registry.h
@@ -0,0 +1,26 @@
+/*
+ * Created by Phil on 27/6/2014.
+ * Copyright 2014 Two Blue Cubes Ltd. All rights reserved.
+ *
+ * Distributed under the Boost Software License, Version 1.0. (See accompanying
+ * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+ */
+#ifndef TWOBLUECUBES_CATCH_INTERFACES_TAG_ALIAS_REGISTRY_H_INCLUDED
+#define TWOBLUECUBES_CATCH_INTERFACES_TAG_ALIAS_REGISTRY_H_INCLUDED
+
+#include "catch_tag_alias.h"
+#include "catch_option.hpp"
+
+namespace Catch {
+
+ struct ITagAliasRegistry {
+ virtual ~ITagAliasRegistry();
+ virtual Option<TagAlias> find( std::string const& alias ) const = 0;
+ virtual std::string expandAliases( std::string const& unexpandedTestSpec ) const = 0;
+
+ static ITagAliasRegistry const& get();
+ };
+
+} // end namespace Catch
+
+#endif // TWOBLUECUBES_CATCH_INTERFACES_TAG_ALIAS_REGISTRY_H_INCLUDED