Functions | |
| std::string | getTestDataPath () |
| bool | assertionLogger (std::ostream &output, const std::string &expression, const std::string &file, int line) |
This namespace contains functions that can be used by Testable plug-ins or other code to implement test code to test plug-in functionality.
The following related macros may also be helpful when writing test code:
| bool TestUtilities::assertionLogger | ( | std::ostream & | output, | |
| const std::string & | expression, | |||
| const std::string & | file, | |||
| int | line | |||
| ) |
Reports errors to an output stream.
| output | The output stream in which to report the error. | |
| expression | The conditional source code expression causing the error. | |
| file | The source file in which the error occurred. | |
| line | The line in the source file where the error occurred. |
| std::string TestUtilities::getTestDataPath | ( | ) |
Returns a directory path that can be used to import data for testing.