Hotwheels-Cluster 1.2
Creation of Cluster APP for SEA:ME project.
 
Loading...
Searching...
No Matches
MockSystemCommandExecutor Class Reference

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.
 
- Public Member Functions inherited from ISystemCommandExecutor
virtual ~ISystemCommandExecutor ()=default
 
virtual QString executeCommand (const QString &command) const =0
 
virtual QString readFile (const QString &filePath) const =0
 

Detailed Description

Class to emulate the behavior of the SystemCommandExecutor class.

Definition at line 26 of file MockSystemCommandExecutor.hpp.

Member Function Documentation

◆ MOCK_METHOD() [1/2]

MockSystemCommandExecutor::MOCK_METHOD ( QString ,
executeCommand ,
(const QString &command) ,
(const, override)  )

Mocked method to execute a command.

Here is the call graph for this function:

◆ MOCK_METHOD() [2/2]

MockSystemCommandExecutor::MOCK_METHOD ( QString ,
readFile ,
(const QString &filePath) ,
(const, override)  )

Mocked method to read a file.

Here is the call graph for this function:

The documentation for this class was generated from the following file: