Information provided during a function run. More...
Public Member Functions | |
TestFunctionObserverInformation () noexcept | |
nkMemory::StringView | getName () const |
unsigned long long | getTimeMicroS () const |
TestRunResult * | getRunResult () const |
void | setName (nkMemory::StringView value) |
void | setTimeMicroS (unsigned long long value) |
void | setRunResult (TestRunResult *value) |
Information provided during a function run.
|
noexcept |
Default constructor.
nkMemory::StringView nkDebug::TestFunctionObserverInformation::getName | ( | ) | const |
unsigned long long nkDebug::TestFunctionObserverInformation::getTimeMicroS | ( | ) | const |
TestRunResult* nkDebug::TestFunctionObserverInformation::getRunResult | ( | ) | const |
void nkDebug::TestFunctionObserverInformation::setName | ( | nkMemory::StringView | value | ) |
Sets the name of the calling function.
value | The name to set. |
void nkDebug::TestFunctionObserverInformation::setTimeMicroS | ( | unsigned long long | value | ) |
Sets the time, in micro seconds, the function took to run.
value | The value to set. |
void nkDebug::TestFunctionObserverInformation::setRunResult | ( | TestRunResult * | value | ) |
Sets the run result structure pointer.
value | The pointer to set. |