API Documentation
TestRunException.h
1 // TestRunException.h
3 //
5 
6 namespace nkDebug
7 {
11  class TestRunException final
12  {
13  public :
14 
15  // Functions
16  // Constructors
20  TestRunException () noexcept ;
26  TestRunException (nkMemory::StringView rejectionReason) noexcept ;
33  TestRunException (nkMemory::StringView rejectionReason, nkMemory::BufferCast<TestStackLevel> rejectionStack) noexcept ;
34 
35  // Getters
39  nkMemory::StringView getRejectionReason () const ;
43  nkMemory::BufferView<TestStackLevel> getRejectionStack () const ;
44  } ;
45 }
nkDebug::TestRunException::getRejectionStack
nkMemory::BufferView< TestStackLevel > getRejectionStack() const
nkDebug::TestRunException::TestRunException
TestRunException() noexcept
nkDebug::TestRunException
An exception raised when a test fails during an execution.
Definition: TestRunException.h:12
nkDebug::TestRunException::getRejectionReason
nkMemory::StringView getRejectionReason() const
nkDebug::TestStackLevel
Holds information about a stack level.
Definition: TestStackLevel.h:12
nkDebug
Encompasses all API of component NilkinsDebug.
Definition: LogManager.h:7
nkMemory
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7