#include <GenericUnitTester.h>
|
void | executeTest (const std::wstring &testName, const std::function< HRESULT(void)> &test) |
|
|
virtual HRESULT | shutDownTest ()=0 |
| Every derived class has to override the test shutdown mechanism.
|
|
|
std::mutex | m_testMutex |
|
std::condition_variable | m_testCv |
|
HRESULT | m_lastTestResult = S_OK |
|
Contains methods, for running entity tests.
◆ executeTest()
void tester::TestRunner::executeTest |
( |
const std::wstring & |
testName, |
|
|
const std::function< HRESULT(void)> & |
test |
|
) |
| |
Invokes test method passed as a parameter. Invoked method has to take in zero parameters and return HRESULT as a return value.
- Parameters
-
testName | name of the test which will be displayed in logs |
test | method to be invoked by this method |
The documentation for this class was generated from the following files: