Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
property_error.hpp
Go to the documentation of this file.
1// Copyright 2026, Toyota Motor Corporation
2//
3// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
5#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_TESTING_PROPERTY_ERROR_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_TESTING_PROPERTY_ERROR_HPP_
7
8#include "arene/base/stdlib_choice/cstdint.hpp"
9#include "testlibs/minitest/assertion_strings.hpp"
10#include "testlibs/minitest/source_location.hpp"
11
12namespace arene {
13namespace base {
14namespace testing {
15
16/// @brief error result of evaluating a property assertion
17///
18/// Stores the error status of a property along with contextual information
19/// about where the assertion occurred and the textual components of the assertion.
20// NOLINTNEXTLINE(hicpp-member-init)
23
25 ::testing::source_location location;
26 ::testing::assertion_strings strings;
27};
28
29} // namespace testing
30} // namespace base
31} // namespace arene
32#endif // INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_TESTING_PROPERTY_ERROR_HPP_
Definition customization.hpp:31
Definition accumulate.hpp:37
Definition accumulate.hpp:36
::uint8_t uint8_t
An 8-bit unsigned integer type.
Definition cstdint.hpp:30
error result of evaluating a property assertion
Definition property_error.hpp:21
::testing::assertion_strings strings
Definition property_error.hpp:26
::testing::source_location location
Definition property_error.hpp:25
error_code error
Definition property_error.hpp:24
error_code
Definition property_error.hpp:22
@ failure
Definition property_error.hpp:22
@ discard
Definition property_error.hpp:22