mirror of
https://github.com/catchorg/Catch2.git
synced 2025-10-09 12:15:39 +02:00

Move `catch_test_run_info.hpp` from directory `src/catch2/internal/` to be directly under `src/catch2/`. Header `catch_test_run_info.hpp` defines `Catch::TestRunInfo` which is part of the public API, since it is required when overriding `Catch::EventListenerBase`. Fixes issue caught by Clang Tidy misc-include-cleaner check.
23 lines
581 B
C++
23 lines
581 B
C++
|
|
// Copyright Catch2 Authors
|
|
// Distributed under the Boost Software License, Version 1.0.
|
|
// (See accompanying file LICENSE.txt or copy at
|
|
// https://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
#ifndef CATCH_TEST_RUN_INFO_HPP_INCLUDED
|
|
#define CATCH_TEST_RUN_INFO_HPP_INCLUDED
|
|
|
|
#include <catch2/internal/catch_stringref.hpp>
|
|
|
|
namespace Catch {
|
|
|
|
struct TestRunInfo {
|
|
constexpr TestRunInfo(StringRef _name) : name(_name) {}
|
|
StringRef name;
|
|
};
|
|
|
|
} // end namespace Catch
|
|
|
|
#endif // CATCH_TEST_RUN_INFO_HPP_INCLUDED
|