AuxPort 0.2
Modules for Audio Software Development
|
Represents a Test Case. More...
#include <AuxCase.h>
Public Member Functions | |
Case (const Case &testcase)=default | |
void | setTestID (const std::string &testID) |
Sets the ID for Test Case. | |
void | setTestName (const std::string &testName) |
Sets testcase name. | |
std::string & | getTestID () |
Returns the Test Case ID. | |
std::string & | getTestName () |
Returns the Test Case Name. | |
void | Log () override |
Logs the details of the Test Case. | |
Public Attributes | |
std::function< bool(const std::vector< std::string > &commands)> | testCase = 0 |
Lambda Function that will be called to run the Test Case. | |
Additional Inherited Members | |
![]() | |
void | setColour (const ColourType &colourType) |
This function allows you to set text colour for the text to be printed onto the console. | |
std::string & AuxPort::Case::getTestID | ( | ) |
Returns the Test Case ID.
Definition at line 50 of file AuxCase.cpp.
std::string & AuxPort::Case::getTestName | ( | ) |
Returns the Test Case Name.
Definition at line 55 of file AuxCase.cpp.
|
overridevirtual |
Logs the details of the Test Case.
Reimplemented from AuxPort::ILog.
Definition at line 60 of file AuxCase.cpp.
void AuxPort::Case::setTestID | ( | const std::string & | testID | ) |
Sets the ID for Test Case.
Definition at line 40 of file AuxCase.cpp.
void AuxPort::Case::setTestName | ( | const std::string & | testName | ) |
Sets testcase name.
Definition at line 45 of file AuxCase.cpp.
std::function<bool(const std::vector<std::string>& commands)> AuxPort::Case::testCase = 0 |