16#ifndef MOCKSYSTEMCOMMANDEXECUTOR_HPP
17#define MOCKSYSTEMCOMMANDEXECUTOR_HPP
20#include <gmock/gmock.h>
Definition of the ISystemCommandExecutor interface.
Interface for executing system commands and reading files.
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.
MOCK_METHOD(QString, readFile,(const QString &filePath),(const, override))
Mocked method to read a file.
MOCK_METHOD(QString, executeCommand,(const QString &command),(const, override))
Mocked method to execute a command.