tfel
Loading...
Searching...
No Matches
tfel::tests::TestAssertionFailure Struct Reference

exception thrown by TFEL_TESTS_ASSERT when an assertion fails. It holds the results registered by the test before the failure. More...

#include </home/runner/work/tfel/tfel/include/TFEL/Tests/TestCase.hxx>

Inheritance diagram for tfel::tests::TestAssertionFailure:

Public Member Functions

 TestAssertionFailure (const std::string &, const TestResult &)
 constructor
 TestAssertionFailure (TestAssertionFailure &&)=default
 TestAssertionFailure (const TestAssertionFailure &)=default
 ~TestAssertionFailure () noexcept override
 destructor

Public Attributes

TestResult result
 results registered by the test, including the failed assertion

Detailed Description

exception thrown by TFEL_TESTS_ASSERT when an assertion fails. It holds the results registered by the test before the failure.

Constructor & Destructor Documentation

◆ TestAssertionFailure()

tfel::tests::TestAssertionFailure::TestAssertionFailure ( const std::string & ,
const TestResult &  )

constructor

Parameters
[in]merror message
[in]rresults registered by the test

The documentation for this struct was generated from the following file: