Hotwheels-Cluster 1.2
Creation of Cluster APP for SEA:ME project.
 
Loading...
Searching...
No Matches
MockSystemInfoProvider.hpp
Go to the documentation of this file.
1
15
16#ifndef MOCKSYSTEMINFOPROVIDER_HPP
17#define MOCKSYSTEMINFOPROVIDER_HPP
18
20#include <gmock/gmock.h>
21
27{
28public:
30 MOCK_METHOD(QString, getWifiStatus, (QString & wifiName), (const, override));
32 MOCK_METHOD(QString, getTemperature, (), (const, override));
34 MOCK_METHOD(QString, getIpAddress, (), (const, override));
35};
36
37#endif // MOCKSYSTEMINFOPROVIDER_HPP
Definition of the ISystemInfoProvider interface.
Interface for providing system information to the display manager.
virtual QString getWifiStatus(QString &wifiName) const =0
virtual QString getTemperature() const =0
virtual QString getIpAddress() const =0
Class to emulate the behavior of the SystemInfoProvider module.
MOCK_METHOD(QString, getWifiStatus,(QString &wifiName),(const, override))
Mocked method to get the battery percentage.
MOCK_METHOD(QString, getTemperature,(),(const, override))
Mocked method to get the battery percentage.
MOCK_METHOD(QString, getIpAddress,(),(const, override))
Mocked method to get the battery percentage.