• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *  Created by Phil on 22/10/2010.
3  *  Copyright 2010 Two Blue Cubes Ltd
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 
9 #define CATCH_CONFIG_MAIN
10 #include "catch.hpp"
11 
12 // These reporters are not included in the single include, so must be included separately in the main file
13 #include "reporters/catch_reporter_teamcity.hpp"
14 #include "reporters/catch_reporter_tap.hpp"
15 #include "reporters/catch_reporter_automake.hpp"
16 
17 
18 // Some example tag aliases
19 CATCH_REGISTER_TAG_ALIAS( "[@nhf]", "[failing]~[.]" )
20 CATCH_REGISTER_TAG_ALIAS( "[@tricky]", "[tricky]~[.]" )
21 
22 
23 #ifdef __clang__
24 #   pragma clang diagnostic ignored "-Wpadded"
25 #   pragma clang diagnostic ignored "-Wweak-vtables"
26 #   pragma clang diagnostic ignored "-Wc++98-compat"
27 #endif
28 
29 struct TestListener : Catch::TestEventListenerBase {
30     using TestEventListenerBase::TestEventListenerBase; // inherit constructor
31 };
32 CATCH_REGISTER_LISTENER( TestListener )
33 
34