Files
Catch2/src/catch2/internal/catch_list.hpp
T

39 lines
844 B
C++
Raw Normal View History

// Copyright Catch2 Authors
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
// SPDX-License-Identifier: BSL-1.0
#ifndef CATCH_LIST_HPP_INCLUDED
#define CATCH_LIST_HPP_INCLUDED
2017-07-10 14:25:38 +02:00
2020-05-10 10:09:01 +02:00
#include <catch2/internal/catch_stringref.hpp>
2017-07-10 14:25:38 +02:00
2019-06-21 23:15:08 +02:00
#include <set>
#include <string>
2017-07-10 14:25:38 +02:00
namespace Catch {
2019-06-21 23:15:08 +02:00
struct IStreamingReporter;
2020-07-29 16:29:41 +02:00
class Config;
2019-06-21 23:15:08 +02:00
struct ReporterDescription {
std::string name, description;
};
struct TagInfo {
void add(StringRef spelling);
2019-06-21 23:15:08 +02:00
std::string all() const;
std::set<StringRef> spellings;
2019-06-21 23:15:08 +02:00
std::size_t count = 0;
};
bool list( IStreamingReporter& reporter, Config const& config );
2017-07-10 14:25:38 +02:00
} // end namespace Catch
#endif // CATCH_LIST_HPP_INCLUDED