2017-11-13 17:03:27 +01:00
|
|
|
/*
|
|
|
|
* 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)
|
|
|
|
*/
|
|
|
|
|
2020-03-30 10:34:21 +02:00
|
|
|
#include <catch2/catch_tag_alias_autoregistrar.hpp>
|
2017-11-13 17:03:27 +01:00
|
|
|
|
|
|
|
// Some example tag aliases
|
|
|
|
CATCH_REGISTER_TAG_ALIAS( "[@nhf]", "[failing]~[.]" )
|
|
|
|
CATCH_REGISTER_TAG_ALIAS( "[@tricky]", "[tricky]~[.]" )
|
|
|
|
|
|
|
|
#ifdef __clang__
|
|
|
|
# pragma clang diagnostic ignored "-Wpadded"
|
|
|
|
# pragma clang diagnostic ignored "-Wweak-vtables"
|
|
|
|
# pragma clang diagnostic ignored "-Wc++98-compat"
|
|
|
|
#endif
|
|
|
|
|
2019-12-08 11:31:47 +01:00
|
|
|
#include <catch2/reporters/catch_reporter_bases.hpp>
|
|
|
|
|
2017-11-13 17:03:27 +01:00
|
|
|
struct TestListener : Catch::TestEventListenerBase {
|
2019-12-08 11:31:47 +01:00
|
|
|
using TestEventListenerBase::TestEventListenerBase;
|
2017-11-13 17:03:27 +01:00
|
|
|
};
|
2019-12-08 11:31:47 +01:00
|
|
|
|
|
|
|
#include <catch2/catch_reporter_registrars.hpp>
|
|
|
|
|
2018-02-03 18:16:33 +01:00
|
|
|
CATCH_REGISTER_LISTENER( TestListener )
|