Home
last modified time | relevance | path

Searched refs:serverDevicePath (Results 1 – 9 of 9) sorted by relevance

/openbmc/phosphor-modbus/tests/
H A Dtest_base.cpp3 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 Dtest_modbus.cpp16 static constexpr auto serverDevicePath = "/tmp/ttyV1"; member in ModbusTest
20 ModbusTest() : BaseTest(clientDevicePath, serverDevicePath, serviceName) in ModbusTest()
H A Dtest_inventory.cpp35 static constexpr const char* serverDevicePath = member in InventoryTest
41 InventoryTest() : BaseTest(clientDevicePath, serverDevicePath, serviceName) in InventoryTest()
H A Dtest_base.hpp16 BaseTest(const char* clientDevicePath, const char* serverDevicePath,
H A Dtest_firmware.cpp49 static constexpr auto serverDevicePath = "/tmp/ttyFirmwareTestPort1"; member in FirmwareTest
59 FirmwareTest() : BaseTest(clientDevicePath, serverDevicePath, serviceName) in FirmwareTest()
H A Dtest_port.cpp44 static constexpr auto serverDevicePath = "/tmp/ttyPortV1"; member in PortTest
48 PortTest() : BaseTest(clientDevicePath, serverDevicePath, serviceName) {} in PortTest()
H A Dtest_sensors.cpp47 static constexpr auto serverDevicePath = "/tmp/ttySensorsTestPort1"; member in SensorsTest
58 SensorsTest() : BaseTest(clientDevicePath, serverDevicePath, serviceName) in SensorsTest()
H A Dtest_device_events.cpp117 static constexpr const char* serverDevicePath = member in DeviceEventsTest
130 BaseTest(clientDevicePath, serverDevicePath, serviceName), in DeviceEventsTest()
/openbmc/phosphor-modbus/mocked_test_device/
H A Dmock_modbus_server.cpp135 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()