Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:54:05

0001 
0002 //              Copyright Catch2 Authors
0003 // Distributed under the Boost Software License, Version 1.0.
0004 //   (See accompanying file LICENSE.txt or copy at
0005 //        https://www.boost.org/LICENSE_1_0.txt)
0006 
0007 // SPDX-License-Identifier: BSL-1.0
0008 #ifndef CATCH_LIST_HPP_INCLUDED
0009 #define CATCH_LIST_HPP_INCLUDED
0010 
0011 #include <catch2/internal/catch_stringref.hpp>
0012 
0013 #include <set>
0014 #include <string>
0015 
0016 
0017 namespace Catch {
0018 
0019     class IEventListener;
0020     class Config;
0021 
0022 
0023     struct ReporterDescription {
0024         std::string name, description;
0025     };
0026     struct ListenerDescription {
0027         StringRef name;
0028         std::string description;
0029     };
0030 
0031     struct TagInfo {
0032         void add(StringRef spelling);
0033         std::string all() const;
0034 
0035         std::set<StringRef> spellings;
0036         std::size_t count = 0;
0037     };
0038 
0039     bool list( IEventListener& reporter, Config const& config );
0040 
0041 } // end namespace Catch
0042 
0043 #endif // CATCH_LIST_HPP_INCLUDED