mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-04 14:03:53 +00:00
29 lines
791 B
C++
29 lines
791 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_ASSERTION_INFO_HPP_INCLUDED
|
|
#define CATCH_ASSERTION_INFO_HPP_INCLUDED
|
|
|
|
#include <catch2/internal/catch_result_type.hpp>
|
|
#include <catch2/internal/catch_source_line_info.hpp>
|
|
#include <catch2/internal/catch_stringref.hpp>
|
|
|
|
namespace Catch {
|
|
|
|
struct AssertionInfo {
|
|
// AssertionInfo() = delete;
|
|
|
|
StringRef macroName;
|
|
SourceLineInfo lineInfo;
|
|
StringRef capturedExpression;
|
|
ResultDisposition::Flags resultDisposition;
|
|
};
|
|
|
|
} // end namespace Catch
|
|
|
|
#endif // CATCH_ASSERTION_INFO_HPP_INCLUDED
|