44 lines
932 B
C++
44 lines
932 B
C++
|
|
// 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
|
|
|
|
#include <catch2/internal/catch_stringref.hpp>
|
|
|
|
#include <set>
|
|
#include <string>
|
|
|
|
|
|
namespace Catch {
|
|
|
|
class IEventListener;
|
|
class Config;
|
|
|
|
|
|
struct ReporterDescription {
|
|
std::string name, description;
|
|
};
|
|
struct ListenerDescription {
|
|
StringRef name;
|
|
std::string description;
|
|
};
|
|
|
|
struct TagInfo {
|
|
void add(StringRef spelling);
|
|
std::string all() const;
|
|
|
|
std::set<StringRef> spellings;
|
|
std::size_t count = 0;
|
|
};
|
|
|
|
bool list( IEventListener& reporter, Config const& config );
|
|
|
|
} // end namespace Catch
|
|
|
|
#endif // CATCH_LIST_HPP_INCLUDED
|