|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
Mock implementation of IMacAddressProvider for unit tests. More...
Inheritance diagram for profinet::device::MockMacAddressProvider:
Collaboration diagram for profinet::device::MockMacAddressProvider:Public Member Functions | |
| MOCK_METHOD (MacAddress, GetMac,(const std::string &interface),(override)) | |
| Mock GetMac implementation. | |
Public Member Functions inherited from profinet::IMacAddressProvider | |
| virtual | ~IMacAddressProvider ()=default |
| virtual MacAddress | GetMac (const std::string &interface)=0 |
| Get the MAC address of a network interface. | |
Mock implementation of IMacAddressProvider for unit tests.
Definition at line 245 of file test_device.cpp.
| profinet::device::MockMacAddressProvider::MOCK_METHOD | ( | MacAddress | , |
| GetMac | , | ||
| (const std::string &interface) | , | ||
| (override) | |||
| ) |
Mock GetMac implementation.