Searched refs:serverDevicePath (Results 1 – 9 of 9) 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() 23 fdServer = open(serverDevicePath, O_RDWR | O_NOCTTY | O_NONBLOCK); in BaseTest() 24 EXPECT_NE(fdServer, -1) << "Failed to open serial port " << serverDevicePath in BaseTest()
|
| H A D | test_modbus.cpp | 16 static constexpr auto serverDevicePath = "/tmp/ttyV1"; member in ModbusTest 20 ModbusTest() : BaseTest(clientDevicePath, serverDevicePath, serviceName) in ModbusTest()
|
| H A D | test_inventory.cpp | 35 static constexpr const char* serverDevicePath = member in InventoryTest 41 InventoryTest() : BaseTest(clientDevicePath, serverDevicePath, serviceName) in InventoryTest()
|
| H A D | test_base.hpp | 16 BaseTest(const char* clientDevicePath, const char* serverDevicePath,
|
| H A D | test_firmware.cpp | 49 static constexpr auto serverDevicePath = "/tmp/ttyFirmwareTestPort1"; member in FirmwareTest 59 FirmwareTest() : BaseTest(clientDevicePath, serverDevicePath, serviceName) in FirmwareTest()
|
| H A D | test_port.cpp | 44 static constexpr auto serverDevicePath = "/tmp/ttyPortV1"; member in PortTest 48 PortTest() : BaseTest(clientDevicePath, serverDevicePath, serviceName) {} in PortTest()
|
| H A D | test_sensors.cpp | 47 static constexpr auto serverDevicePath = "/tmp/ttySensorsTestPort1"; member in SensorsTest 58 SensorsTest() : BaseTest(clientDevicePath, serverDevicePath, serviceName) in SensorsTest()
|
| H A D | test_device_events.cpp | 117 static constexpr const char* serverDevicePath = member in DeviceEventsTest 130 BaseTest(clientDevicePath, serverDevicePath, serviceName), in DeviceEventsTest()
|
| /openbmc/phosphor-modbus/mocked_test_device/ |
| H A D | mock_modbus_server.cpp | 135 const char* serverDevicePath = devicePathStr.c_str(); in main() local 136 std::cout << "Starting at device path" << serverDevicePath << std::endl; in main() 141 auto fdServer = open(serverDevicePath, O_RDWR | O_NOCTTY | O_NONBLOCK); in main() 144 std::cerr << "Failed to open serial port " << serverDevicePath in main()
|