2020-08-30 15:43:45 +02:00
|
|
|
|
|
|
|
|
// Copyright Catch2 Authors
|
|
|
|
|
// Distributed under the Boost Software License, Version 1.0.
|
2022-10-28 11:22:53 +02:00
|
|
|
// (See accompanying file LICENSE.txt or copy at
|
2020-08-30 15:43:45 +02:00
|
|
|
// https://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
|
|
|
|
|
|
// SPDX-License-Identifier: BSL-1.0
|
2020-08-29 20:48:32 +02:00
|
|
|
#ifndef CATCH_ASSERTION_INFO_HPP_INCLUDED
|
|
|
|
|
#define CATCH_ASSERTION_INFO_HPP_INCLUDED
|
2017-08-08 17:53:01 +01:00
|
|
|
|
2020-03-30 10:34:21 +02:00
|
|
|
#include <catch2/internal/catch_result_type.hpp>
|
2020-11-27 11:08:26 +01:00
|
|
|
#include <catch2/internal/catch_source_line_info.hpp>
|
2020-05-10 10:09:01 +02:00
|
|
|
#include <catch2/internal/catch_stringref.hpp>
|
2017-08-08 17:53:01 +01:00
|
|
|
|
|
|
|
|
namespace Catch {
|
|
|
|
|
|
2019-11-04 13:53:46 +01:00
|
|
|
struct AssertionInfo {
|
|
|
|
|
// AssertionInfo() = delete;
|
|
|
|
|
|
2017-08-08 17:53:01 +01:00
|
|
|
StringRef macroName;
|
|
|
|
|
SourceLineInfo lineInfo;
|
|
|
|
|
StringRef capturedExpression;
|
|
|
|
|
ResultDisposition::Flags resultDisposition;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // end namespace Catch
|
|
|
|
|
|
2020-08-29 20:48:32 +02:00
|
|
|
#endif // CATCH_ASSERTION_INFO_HPP_INCLUDED
|