API Documentation
TestRunResult.h
1 // TestRunResult.h
3 //
5 
6 namespace nkDebug
7 {
11  class TestRunResult final
12  {
13  public :
14 
15  // Functions
16  // Constructors
20  TestRunResult () noexcept ;
26  TestRunResult (const nkMemory::StringView& rejectionReason) noexcept ;
32  TestRunResult (const TestRunException& exception) noexcept ;
33 
34  // Getters
38  nkMemory::StringView getRejectionReason () const ;
42  nkMemory::BufferView<TestStackLevel> getRejectionStack () const ;
46  bool getSuccess () const ;
47 
48  // Operators
55  TestRunResult& operator= (const TestRunException& exception) noexcept ;
56  } ;
57 }
nkDebug::TestRunResult::TestRunResult
TestRunResult() noexcept
nkDebug::TestRunResult::getRejectionReason
nkMemory::StringView getRejectionReason() const
nkDebug::TestRunResult::getRejectionStack
nkMemory::BufferView< TestStackLevel > getRejectionStack() const
nkDebug::TestRunException
An exception raised when a test fails during an execution.
Definition: TestRunException.h:12
nkDebug::TestRunResult
Holds informations about a test execution result.
Definition: TestRunResult.h:12
nkDebug::TestRunResult::getSuccess
bool getSuccess() 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