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

Class to emulate the behavior of the MileageFileHandler class. More...

#include <MockMileageFileHandler.hpp>

Public Member Functions

 MOCK_METHOD (double, readMileage,(),(const, override))
 Mocked method to read the mileage from the file.
 
 MOCK_METHOD (void, writeMileage,(double mileage),(const, override))
 Mocked method to write the mileage to the file.
 
- Public Member Functions inherited from IMileageFileHandler
virtual ~IMileageFileHandler ()=default
 
virtual double readMileage () const =0
 
virtual void writeMileage (double mileage) const =0
 

Detailed Description

Class to emulate the behavior of the MileageFileHandler class.

Definition at line 26 of file MockMileageFileHandler.hpp.

Member Function Documentation

◆ MOCK_METHOD() [1/2]

MockMileageFileHandler::MOCK_METHOD ( double ,
readMileage ,
() ,
(const, override)  )

Mocked method to read the mileage from the file.

Here is the call graph for this function:

◆ MOCK_METHOD() [2/2]

MockMileageFileHandler::MOCK_METHOD ( void ,
writeMileage ,
(double mileage) ,
(const, override)  )

Mocked method to write the mileage to the file.

Here is the call graph for this function:

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