Home
last modified time | relevance | path

Searched refs:clientDevicePath (Results 1 – 8 of 8) 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()
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 Dtest_inventory.cpp33 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 Dtest_firmware.cpp48 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 Dtest_port.cpp43 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 Dtest_modbus.cpp15 static constexpr auto clientDevicePath = "/tmp/ttyV0"; member in ModbusTest
20 ModbusTest() : BaseTest(clientDevicePath, serverDevicePath, serviceName) in ModbusTest()
H A Dtest_base.hpp16 BaseTest(const char* clientDevicePath, const char* serverDevicePath,
H A Dtest_sensors.cpp46 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 Dtest_device_events.cpp115 static constexpr const char* clientDevicePath = member in DeviceEventsTest
130 BaseTest(clientDevicePath, serverDevicePath, serviceName), in DeviceEventsTest()
232 MockPort mockPort(ctx, portConfig, clientDevicePath); in testSensorCreation()