Holds informations about a test execution result. More...
Public Member Functions | |
TestRunResult () noexcept | |
TestRunResult (const nkMemory::StringView &rejectionReason) noexcept | |
TestRunResult (const TestRunException &exception) noexcept | |
nkMemory::StringView | getRejectionReason () const |
nkMemory::BufferView< TestStackLevel > | getRejectionStack () const |
bool | getSuccess () const |
TestRunResult & | operator= (const TestRunException &exception) noexcept |
Holds informations about a test execution result.
|
noexcept |
Default constructor, defaulting to a successful result.
|
noexcept |
Rejection constructor.
rejectionReason | The reason for rejecting the test. |
|
noexcept |
Translation constructor.
exception | The exception to translate from. |
nkMemory::StringView nkDebug::TestRunResult::getRejectionReason | ( | ) | const |
nkMemory::BufferView<TestStackLevel> nkDebug::TestRunResult::getRejectionStack | ( | ) | const |
bool nkDebug::TestRunResult::getSuccess | ( | ) | const |
|
noexcept |
Overload for exception assignment operator.
exception | The exception to translate from. |