Class to emulate the behavior of the SystemCommandExecutor class. More...
#include <MockSystemCommandExecutor.hpp>
Public Member Functions | |
MOCK_METHOD (QString, executeCommand,(const QString &command),(const, override)) | |
Mocked method to execute a command. | |
MOCK_METHOD (QString, readFile,(const QString &filePath),(const, override)) | |
Mocked method to read a file. | |
![]() | |
virtual | ~ISystemCommandExecutor ()=default |
virtual QString | executeCommand (const QString &command) const =0 |
virtual QString | readFile (const QString &filePath) const =0 |
Class to emulate the behavior of the SystemCommandExecutor class.
Definition at line 26 of file MockSystemCommandExecutor.hpp.
MockSystemCommandExecutor::MOCK_METHOD | ( | QString | , |
executeCommand | , | ||
(const QString &command) | , | ||
(const, override) | ) |
Mocked method to execute a command.
MockSystemCommandExecutor::MOCK_METHOD | ( | QString | , |
readFile | , | ||
(const QString &filePath) | , | ||
(const, override) | ) |
Mocked method to read a file.