Searched refs:clientDevicePath (Results 1 – 8 of 8) sorted by relevance
| /openbmc/phosphor-modbus/tests/ |
| H A D | test_base.cpp | 3 BaseTest::BaseTest(const char* clientDevicePath, const char* serverDevicePath, in BaseTest() argument 8 serverDevicePath, strBaudeRate, clientDevicePath, strBaudeRate); in BaseTest() 19 fdClient = open(clientDevicePath, O_RDWR | O_NOCTTY | O_NONBLOCK); in BaseTest() 20 EXPECT_NE(fdClient, -1) << "Failed to open serial port " << clientDevicePath in BaseTest()
|
| H A D | test_inventory.cpp | 33 static constexpr const char* clientDevicePath = member in InventoryTest 41 InventoryTest() : BaseTest(clientDevicePath, serverDevicePath, serviceName) in InventoryTest() 65 std::make_unique<MockPort>(ctx, portConfig, clientDevicePath); in testInventorySourceCreation()
|
| H A D | test_firmware.cpp | 48 static constexpr auto clientDevicePath = "/tmp/ttyFirmwareTestPort0"; member in FirmwareTest 59 FirmwareTest() : BaseTest(clientDevicePath, serverDevicePath, serviceName) in FirmwareTest() 72 std::make_unique<MockPort>(ctx, portConfig, clientDevicePath); in FirmwareTest()
|
| H A D | test_port.cpp | 43 static constexpr auto clientDevicePath = "/tmp/ttyPortV0"; member in PortTest 48 PortTest() : BaseTest(clientDevicePath, serverDevicePath, serviceName) {} in PortTest() 192 MockPort port(ctx, config, clientDevicePath); in TEST_F() 209 MockPort port(ctx, config, clientDevicePath); in TEST_F()
|
| H A D | test_modbus.cpp | 15 static constexpr auto clientDevicePath = "/tmp/ttyV0"; member in ModbusTest 20 ModbusTest() : BaseTest(clientDevicePath, serverDevicePath, serviceName) in ModbusTest()
|
| H A D | test_base.hpp | 16 BaseTest(const char* clientDevicePath, const char* serverDevicePath,
|
| H A D | test_sensors.cpp | 46 static constexpr auto clientDevicePath = "/tmp/ttySensorsTestPort0"; member in SensorsTest 58 SensorsTest() : BaseTest(clientDevicePath, serverDevicePath, serviceName) in SensorsTest() 109 MockPort mockPort(ctx, portConfig, clientDevicePath); in testSensorCreation()
|
| H A D | test_device_events.cpp | 115 static constexpr const char* clientDevicePath = member in DeviceEventsTest 130 BaseTest(clientDevicePath, serverDevicePath, serviceName), in DeviceEventsTest() 232 MockPort mockPort(ctx, portConfig, clientDevicePath); in testSensorCreation()
|